summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpGlyphs.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-11-14 20:30:33 -0800
committerJay Sorg <jay.sorg@gmail.com>2013-11-14 20:30:33 -0800
commitc20dbff64410ce312112db5eb7e3f2930ed8ba86 (patch)
treef54642b29cb55ca49474d524c2ae6c2ea0eb95c5 /xorg/server/module/rdpGlyphs.h
parentf5e9bc3308617eefd7a527d91a97aef4b8c2369b (diff)
downloadxrdp-proprietary-c20dbff64410ce312112db5eb7e3f2930ed8ba86.tar.gz
xrdp-proprietary-c20dbff64410ce312112db5eb7e3f2930ed8ba86.zip
xorg: work on xrdp xorg driver
Diffstat (limited to 'xorg/server/module/rdpGlyphs.h')
-rw-r--r--xorg/server/module/rdpGlyphs.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/xorg/server/module/rdpGlyphs.h b/xorg/server/module/rdpGlyphs.h
index d451d9f9..24e978a1 100644
--- a/xorg/server/module/rdpGlyphs.h
+++ b/xorg/server/module/rdpGlyphs.h
@@ -24,6 +24,35 @@ gylph(font) calls
#ifndef _RDPGLYPHS_H
#define _RDPGLYPHS_H
+struct rdp_font_char
+{
+ int offset; /* x */
+ int baseline; /* y */
+ int width; /* cx */
+ int height; /* cy */
+ int incby;
+ int bpp;
+ char *data;
+ int data_bytes;
+};
+
+struct rdp_text
+{
+ RegionPtr reg;
+ int font;
+ int x;
+ int y;
+ int flags;
+ int mixmode;
+ char data[256];
+ int data_bytes;
+ struct rdp_font_char* chars[256];
+ int num_chars;
+ struct rdp_text* next;
+};
+
+int
+rdpGlyphDeleteRdpText(struct rdp_text* rtext);
void
rdpGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
PictFormatPtr maskFormat,