Unit msex11gdi

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record box  
Record XRegion  
Record x11fontdatadty  
Record x11fontdataty  

Functions and Procedures

procedure init(const adisp: pdisplay; const avisual: msepvisual; const adepth: integer);
function hasxft: boolean;
function fontdatatoxftpat(const fontdata: fontdataty; const highres: boolean): pfcpattern;
procedure getxftfontdata(po: pxftfont; var drawinfo: drawinfoty);
function x11getgdifuncs: pgdifunctionaty;
function x11regiontorects(const aregion: regionty): rectarty;
function x11getdefaultfontnames: defaultfontnamesty;
function createalphapicture(const size: sizety; const arepeat: boolean = false): tpicture;
function creatergbpicture(const size: sizety; const arepeat: boolean = false; const alphamap: tpicture = 0): tpicture;
function createargbpicture(const size: sizety; const arepeat: boolean = false): tpicture;

Types

createcolorpicfuncty = function(const acolor: txrendercolor): tpicture;
pbox = ˆbox;
pxregion = ˆxregion;
fontmatrixmodety = (...);
px11fontdatadty = ˆx11fontdatadty;

Variables

createcolorpic: createcolorpicfuncty;
screenrenderpictformat: pxrenderpictformat;
bitmaprenderpictformat: pxrenderpictformat;
alpharenderpictformat: pxrenderpictformat;
rgbrenderpictformat: pxrenderpictformat;
argbrenderpictformat: pxrenderpictformat;
XftDrawDestroy: procedure(draw:PXftDraw); cdecl;
XftDrawSetClipRectangles: function(draw:PXftDraw; xOrigin:longint; yOrigin:longint; rects:PXRectangle; n:longint):TFcBool; cdecl;
XftDrawCreate: function(dpy:PDisplay; drawable:TDrawable; visual:PVisual; colormap:TColormap): PXftDraw; cdecl;
XftDrawSetClip: function(draw:PXftDraw; r:TRegion):TFcBool; cdecl;
XftTextExtents16: procedure(dpy:PDisplay; pub:PXftFont; _string: pwidechar; len:longint; extents:PXGlyphInfo); cdecl;
XftTextExtentsUtf16: procedure(dpy: pDisplay; pub: pXftFont; _string: pFcChar8; endian: tFcEndian; len: cint; extents: pXGlyphInfo); cdecl;
XftTextExtents32: procedure(dpy: pDisplay; pub: pXftFont; _string: pFcChar32; len: cint; extents: pXGlyphInfo); cdecl;
XftFontOpenName: function(dpy:PDisplay; screen:longint;name:Pchar):PXftFont; cdecl;
XftFontClose: procedure(dpy:PDisplay; pub:PXftFont); cdecl;
XftDrawString16: procedure(draw:PXftDraw; color:PXftColor; pub:PXftFont; x:longint; y:longint; _string:pwidechar; len:longint); cdecl;
XftDrawStringUtf16: procedure(draw: pXftDraw; color: pXftColor; pub: pXftFont; x: cint; y: cint; _string: pFcChar8; endian: tFcEndian; len: cint); cdecl;
XftDefaultHasRender: function(dpy:PDisplay):TFcBool; cdecl;
XftGetVersion: function():longint; cdecl;
XftInit: function(config:Pchar):TFcBool; cdecl;
XftInitFtLibrary: function():TFcBool; cdecl;
XftCharExists: function(dpy:PDisplay; pub:PXftFont; ucs4:TFcChar32):TFcBool; cdecl;
XftNameParse: function(name:Pchar): PFcPattern; cdecl;
XftFontMatch: function(dpy:PDisplay; screen:longint; pattern:PFcPattern; result:PFcResult): PFcPattern; cdecl;
XftFontOpenPattern: function(dpy:PDisplay; pattern:PFcPattern):PXftFont; cdecl;
XftDefaultSubstitute: procedure(dpy:PDisplay; screen:longint; pattern:PFcPattern); cdecl;
XftDrawPicture: function(draw: PXftDraw): tpicture; cdecl;
XftDrawSrcPicture: function(draw: pXftDraw; color: pXftColor): tpicture; cdecl;
XRenderSetPictureClipRectangles: procedure(dpy:PDisplay; picture:TPicture; xOrigin:longint; yOrigin:longint; rects:PXRectangle; n:longint); cdecl;
XRenderSetPictureClipRegion: procedure(dpy: pDisplay; picture: TPicture; r: regionty); cdecl;
XRenderCreatePicture: function(dpy:PDisplay; drawable:TDrawable; format: PXRenderPictFormat; valuemask: culong; attributes: PXRenderPictureAttributes): TPicture; cdecl;
XRenderFillRectangle: procedure(dpy: PDisplay; op: longint; dst: TPicture; color: PXRenderColor; x: longint; y: longint; width: dword; height: dword); cdecl;
XRenderSetPictureTransform: procedure(dpy:PDisplay; picture:TPicture; transform:PXTransform); cdecl;
XRenderSetPictureFilter: procedure(dpy:PDisplay; picture:TPicture; filter: pchar; params: pinteger; nparams: integer); cdecl;
XRenderCreateSolidFill: function(dpy: pDisplay; color: pXRenderColor): TPicture; cdecl;
XRenderFreePicture: procedure(dpy:PDisplay; picture:TPicture); cdecl;
XRenderComposite: procedure(dpy:PDisplay; op:longint; src:TPicture; mask:TPicture; dst:TPicture; src_x:longint; src_y:longint; mask_x:longint; mask_y:longint; dst_x:longint; dst_y:longint; width:dword; height:dword); cdecl;
XRenderQueryExtension: function(dpy: PDisplay; event_basep: Pinteger; error_basep: Pinteger): TBool; cdecl;
XRenderFindVisualFormat: function(dpy: PDisplay; visual: PVisual): PXRenderPictFormat; cdecl;
XRenderFindStandardFormat: function(dpy: PDisplay; format: longint): PXRenderPictFormat; cdecl;
XRenderFindFormat: function(dpy: PDisplay; mask: culong; templ: PXRenderPictFormat; count: longint): PXRenderPictFormat; cdecl;
XRenderCompositeTriangles: procedure(dpy: pDisplay; op: cint; src: tPicture; dst: tPicture; maskFormat: pXRenderPictFormat; xSrc: cint; ySrc: cint; triangles: pXTriangle; ntriangle: cint); cdecl;
XRenderCompositeTriStrip: procedure(dpy: pdisplay; op: cint; src: tpicture; dst: tpicture; maskFormat: PXRenderPictFormat; xSrc: cint; ySrc: cint; points: PXPointFixed; npoint: cint); cdecl;
XRenderCompositeTriFan: procedure(dpy: pdisplay; op: cint; src: tpicture; dst: tpicture; maskFormat: PXRenderPictFormat; xSrc: cint; ySrc: cint; points: PXPointFixed; npoint: cint); cdecl;
XRenderChangePicture: procedure(dpy: pdisplay; picture: tpicture; valuemask: culong; attributes: PXRenderPictureAttributes); cdecl;

Description

Functions and Procedures

procedure init(const adisp: pdisplay; const avisual: msepvisual; const adepth: integer);
 
function hasxft: boolean;
 
function fontdatatoxftpat(const fontdata: fontdataty; const highres: boolean): pfcpattern;
 
procedure getxftfontdata(po: pxftfont; var drawinfo: drawinfoty);
 
function x11getgdifuncs: pgdifunctionaty;
 
function x11regiontorects(const aregion: regionty): rectarty;
 
function x11getdefaultfontnames: defaultfontnamesty;
 
function createalphapicture(const size: sizety; const arepeat: boolean = false): tpicture;
 
function creatergbpicture(const size: sizety; const arepeat: boolean = false; const alphamap: tpicture = 0): tpicture;
 
function createargbpicture(const size: sizety; const arepeat: boolean = false): tpicture;
 

Types

createcolorpicfuncty = function(const acolor: txrendercolor): tpicture;
 
pbox = ˆbox;
 
pxregion = ˆxregion;
 
fontmatrixmodety = (...);
 
Values
  • fmm_fix
  • fmm_linear
  • fmm_matrix
px11fontdatadty = ˆx11fontdatadty;
 

Variables

createcolorpic: createcolorpicfuncty;
 
screenrenderpictformat: pxrenderpictformat;
 
bitmaprenderpictformat: pxrenderpictformat;
 
alpharenderpictformat: pxrenderpictformat;
 
rgbrenderpictformat: pxrenderpictformat;
 
argbrenderpictformat: pxrenderpictformat;
 
XftDrawDestroy: procedure(draw:PXftDraw); cdecl;
 
XftDrawSetClipRectangles: function(draw:PXftDraw; xOrigin:longint; yOrigin:longint; rects:PXRectangle; n:longint):TFcBool; cdecl;
 
XftDrawCreate: function(dpy:PDisplay; drawable:TDrawable; visual:PVisual; colormap:TColormap): PXftDraw; cdecl;
 
XftDrawSetClip: function(draw:PXftDraw; r:TRegion):TFcBool; cdecl;
 
XftTextExtents16: procedure(dpy:PDisplay; pub:PXftFont; _string: pwidechar; len:longint; extents:PXGlyphInfo); cdecl;
 
XftTextExtentsUtf16: procedure(dpy: pDisplay; pub: pXftFont; _string: pFcChar8; endian: tFcEndian; len: cint; extents: pXGlyphInfo); cdecl;
 
XftTextExtents32: procedure(dpy: pDisplay; pub: pXftFont; _string: pFcChar32; len: cint; extents: pXGlyphInfo); cdecl;
 
XftFontOpenName: function(dpy:PDisplay; screen:longint;name:Pchar):PXftFont; cdecl;
 
XftFontClose: procedure(dpy:PDisplay; pub:PXftFont); cdecl;
 
XftDrawString16: procedure(draw:PXftDraw; color:PXftColor; pub:PXftFont; x:longint; y:longint; _string:pwidechar; len:longint); cdecl;
 
XftDrawStringUtf16: procedure(draw: pXftDraw; color: pXftColor; pub: pXftFont; x: cint; y: cint; _string: pFcChar8; endian: tFcEndian; len: cint); cdecl;
 
XftDefaultHasRender: function(dpy:PDisplay):TFcBool; cdecl;
 
XftGetVersion: function():longint; cdecl;
 
XftInit: function(config:Pchar):TFcBool; cdecl;
 
XftInitFtLibrary: function():TFcBool; cdecl;
 
XftCharExists: function(dpy:PDisplay; pub:PXftFont; ucs4:TFcChar32):TFcBool; cdecl;
 
XftNameParse: function(name:Pchar): PFcPattern; cdecl;
 
XftFontMatch: function(dpy:PDisplay; screen:longint; pattern:PFcPattern; result:PFcResult): PFcPattern; cdecl;
 
XftFontOpenPattern: function(dpy:PDisplay; pattern:PFcPattern):PXftFont; cdecl;
 
XftDefaultSubstitute: procedure(dpy:PDisplay; screen:longint; pattern:PFcPattern); cdecl;
 
XftDrawPicture: function(draw: PXftDraw): tpicture; cdecl;
 
XftDrawSrcPicture: function(draw: pXftDraw; color: pXftColor): tpicture; cdecl;
 
XRenderSetPictureClipRectangles: procedure(dpy:PDisplay; picture:TPicture; xOrigin:longint; yOrigin:longint; rects:PXRectangle; n:longint); cdecl;
 
XRenderSetPictureClipRegion: procedure(dpy: pDisplay; picture: TPicture; r: regionty); cdecl;
 
XRenderCreatePicture: function(dpy:PDisplay; drawable:TDrawable; format: PXRenderPictFormat; valuemask: culong; attributes: PXRenderPictureAttributes): TPicture; cdecl;
 
XRenderFillRectangle: procedure(dpy: PDisplay; op: longint; dst: TPicture; color: PXRenderColor; x: longint; y: longint; width: dword; height: dword); cdecl;
 
XRenderSetPictureTransform: procedure(dpy:PDisplay; picture:TPicture; transform:PXTransform); cdecl;
 
XRenderSetPictureFilter: procedure(dpy:PDisplay; picture:TPicture; filter: pchar; params: pinteger; nparams: integer); cdecl;
 
XRenderCreateSolidFill: function(dpy: pDisplay; color: pXRenderColor): TPicture; cdecl;
 
XRenderFreePicture: procedure(dpy:PDisplay; picture:TPicture); cdecl;
 
XRenderComposite: procedure(dpy:PDisplay; op:longint; src:TPicture; mask:TPicture; dst:TPicture; src_x:longint; src_y:longint; mask_x:longint; mask_y:longint; dst_x:longint; dst_y:longint; width:dword; height:dword); cdecl;
 
XRenderQueryExtension: function(dpy: PDisplay; event_basep: Pinteger; error_basep: Pinteger): TBool; cdecl;
 
XRenderFindVisualFormat: function(dpy: PDisplay; visual: PVisual): PXRenderPictFormat; cdecl;
 
XRenderFindStandardFormat: function(dpy: PDisplay; format: longint): PXRenderPictFormat; cdecl;
 
XRenderFindFormat: function(dpy: PDisplay; mask: culong; templ: PXRenderPictFormat; count: longint): PXRenderPictFormat; cdecl;
 
XRenderCompositeTriangles: procedure(dpy: pDisplay; op: cint; src: tPicture; dst: tPicture; maskFormat: pXRenderPictFormat; xSrc: cint; ySrc: cint; triangles: pXTriangle; ntriangle: cint); cdecl;
 
XRenderCompositeTriStrip: procedure(dpy: pdisplay; op: cint; src: tpicture; dst: tpicture; maskFormat: PXRenderPictFormat; xSrc: cint; ySrc: cint; points: PXPointFixed; npoint: cint); cdecl;
 
XRenderCompositeTriFan: procedure(dpy: pdisplay; op: cint; src: tpicture; dst: tpicture; maskFormat: PXRenderPictFormat; xSrc: cint; ySrc: cint; points: PXPointFixed; npoint: cint); cdecl;
 
XRenderChangePicture: procedure(dpy: pdisplay; picture: tpicture; valuemask: culong; attributes: PXRenderPictureAttributes); cdecl;
 

Generated by PasDoc 0.16.0.