Graphics Intrinsics 110- 139

Graphics Intrinsics 110- 139

Top  Previous  Next

GRAPHIC INTRINSICS. The follow intrinsics provide a device independent method of accessing graphic functions on the computer. Here are the general concepts:

 

a. Bitmaps are allocated and defined by handles which uniquely identify individual bitmaps.

 

b. The Screen is also treated as a bitmap, so all graphics routines work on both the screen and bitmaps. The screen is identified by the unique handle of -1.

 

c. All bitmaps are 32-bits per pixel, RGB images. XPL supports special RGB modes make them compatible with pervious VGA color palettes and versions of XPL.

 



AllocateBitmap=110

MoveTo=125

DeAllocBitmap=111

Lineto=126

LoadBitmap=112

Polyline=127

SaveBitmap=113

GetPenPosition=128

CopyImage=114

SetFill=129

PaintImage=115

SetPen=130

SetCopyMode=116

TextOut=131

GetBitmapSize=117

SetFontFace=132

SetBitmapSize=118

SetFontColor=133

SetPixel=119

SetFontStyle=134

GetPixel=120


ClearImage=121


DrawCircle=122


DrawElipse=123

SetBorderColor=138

DrawRectangle=124

EnableRefresh=139