| |
Type |
Syntax |
|
| |
void
|
BackColor(int
color) |
|
| |
int
|
CharWidth (char
c) |
|
| |
int
|
CharWidth16
(Word c) |
|
| |
void
|
ClipRect (rect
*cliprect) |
|
| |
int
|
CloseBitmap(grafMap *newmap) |
|
| |
void
|
ClosePCX(pcxHead * pcxhdr) |
|
| |
int
|
CopyBlit(grafPort *SRC, grafPort *DST, rect *SRCRECT, rect *dstrect) |
|
| |
void
|
CursorStyle(int
cursorbnr) |
|
| |
void
|
DrawChar(char
c) |
|
| |
void
|
DrawChar16(Word
c) |
|
| |
void
|
DrawString(char
c) |
|
| |
void
|
DrawString16(Word *txtstr) |
|
| |
void
|
DrawText(char
*txtstr, int index, int count) |
|
| |
void
|
DrawText16(Word
*txtstr, int index, int count) |
|
| |
void
|
DupRect(rect
*srcrec, rect *dstrect) |
|
| |
int
|
EqualRect(rect
*rect1, rect *rect2) |
|
| |
void
|
EraseArc(rect *
r, int bgnangle, int arcangle) |
|
| |
void
|
EraseOval(rect
*r) |
|
| |
void
|
ErasePoly(int
polycnt, polyHead * polyhdr, point * polypts) |
|
| |
void
|
EraseRect(rect
*r) |
|
| |
void
|
EventQueue(int
TF); |
|
| |
void
|
FillArc(rect *
r, int bgnangle, int arcangle, int pattern) |
|
| |
void
|
FillOval(rect
*r, int pattern) |
|
| |
void
|
FillPoly(int
polycnt, polyHead * polyhdr, point * polypts, int pattern) |
|
| |
int
|
FindClosestRGB(palData * rgbcolor, paldata *rgbpalette) |
|
| |
void
|
FrameArc (rect
* r, int bgnangle, int arcangle) |
|
| |
void
|
FrameOval(rect
*r) |
|
| |
void
|
FramePoly(int
polycnt, polyHead * polyhdr, point * polypts) |
|
| |
void
|
FrameRect(rect
*r) |
|
| |
int
|
GetPCX(void *
buf, rect * srcr, rect * dstr) |
|
| |
int
|
GetPixel(int x,
int y) |
|
| |
void
|
GetPort(grafPort **port) |
|
| |
void
|
HideCursor(void) |
|
| |
long
|
ImageSize(rect
*r) |
|
| |
int
|
InceptRect(rect
*r1, rect *r2, rect *dstr) |
|
| |
int
|
InitBitmap(int
device, grafmap * grafmap) |
|
| |
int
|
InitGraphics(int devmode) |
|
| |
void
|
InitMouse(int
device) |
|
| |
void
|
InitPort(grafPort *port) |
|
| |
void
|
InsetRec(rect
*r, int dtlx, int dtly) |
|
| |
void
|
InvertArc(rect
* r, int bgnangle, int arcangle) |
|
| |
void
|
InvertOval(rect
*r) |
|
| |
void
|
InvertPoly(int
polycnt, polyHead * polyhdr, point * polypts) |
|
| |
void
|
InvertRect(rect
*r) |
|
| |
int
|
KeyEvent(int
wait, mwEvent *evnt) |
|
| |
void
|
LimitMouse(int
xmin, int ymin, int xmax, int ymax) |
|
| |
void
|
LineRel(int DX,
int DY); |
|
| |
void
|
LineTo(int x,
int y) |
|
| |
void
|
MaskEvent(int
mask) |
|
| |
void
|
MetaVersion(char *string) |
|
| |
void
|
MoveCursor(int
x, int y) |
|
| |
void
|
MovePortTo(int
gblleft, int gbltop) |
|
| |
void
|
MoveRel(int DX,
int DY); |
|
| |
void
|
MoveTo(int x,
int y) |
|
| |
int
|
NextPCX(pcxHead
* pcxhdr, image * pcximage) |
|
| |
void
|
OffsetRect(rect*r, int dltx, int dlty) |
|
| |
unsigned
|
OpenPCX(char *
fname, pcxhead * pcxhdr, paldata * rgbcolors) |
|
| |
void
|
PaintArc(rect *
r, int bgnangle, int arcangle) |
|
| |
void
|
PaintOval(rect
*r) |
|
| |
void
|
PaintPoly(int
polycnt, polyHead * polyhdr, point * polypts) |
|
| |
void
|
PaintRect(rect
*r) |
|
| |
int
|
PeekEvent(int
index, mwEvent *event) |
|
| |
void
|
PenColor(int
color) |
|
| |
void
|
PenNormal( ) |
|
| |
void
|
PenPattern(int
pattern) |
|
| |
void
|
PenSize(int
widthx, int heighty) |
|
| |
void
|
PortBitmap(grafMap * newmap) |
|
| |
void
|
PortOrigin(int
topbottom) |
|
| |
void
|
PortSize(int
pixwidthx, int pixheighty) |
|
| |
void
|
ProtectOff(void); |
|
| |
void
|
ProtectRect(rect *R) |
|
| |
int
|
PtInRect(point
*testpt, rect *r, int pixwidth, int pixheighy) |
|
| |
long
|
QueryColors() |
|
| |
void
|
QueryCursor(int
* cursorX, int * cursorY, int * cursorLevel, int * buttons) |
|
| |
int
|
QueryError() |
|
| |
int
|
QueryGraphics(int devmode) |
|
| |
void
|
QueryPosn(int
*x, int *y) |
|
| |
void
|
QueryRes(int *
resX, int *resY) |
|
| |
int
|
QueryX(void) |
|
| |
int
|
QueryY(void) |
|
| |
void
|
RasterOp(int
rasop) |
|
| |
void
|
ReadImage(rect
*srcr, image *dstimage) |
|
| |
void
|
ReadPalette(int
palnbr, int bgnindex, int endindex, paldata * rgbcolors) |
|
| |
int
|
ReadPCX(char *
fname, rect * srcr, rect * dstr) |
|
| |
int
|
ReadPCXInfo(char * fname, pcxhead * pcxhdr, paldata * rgbcolors) |
|
| |
void
|
ScreenRect(
rect *Rect) |
|
| |
void
|
ScrollRect(rect
*R, int DX, int DY) |
|
| |
void
|
SetDisplay(int
page) |
|
| |
void
|
SetFont(fontRcd
*fontbuffer) |
|
| |
void
|
SetOrigin(int
lclx, int lcly) |
|
| |
void
|
SetPixel(int X,
int Y); |
|
| |
void
|
SetPort(grafPort *port) |
|
| |
void
|
SetRect(rect
*r, int x1, int y1, int x2, int y2) |
|
| |
void
|
ShowCorsor(void) |
|
| |
void
|
StopEvent(void); |
|
| |
int
|
StopGraphics(void) |
|
| |
void
|
StopMouse() |
|
| |
int
|
StoreEvent(mwEvent * evnt); |
|
| |
int
|
StringWidth(char *txtstr) |
|
| |
int
|
StringWidth16(Word *txtstr) |
|
| |
void
|
TextAlign(int
horiz, int vert) |
|
| |
void
|
TextFace(int
face) |
|
| |
void
|
TextMode(int
MODE) |
|
| |
void
|
TextSize(int
widthX, int heightY); |
|
| |
int
|
TextWidth(char
*txtstr, int index, int count) |
|
| |
int
|
TextWidth16(Word *txtstr, int index, int count) |
|
| |
void
|
TrackCursor(int
TF); |
|
| |
void
|
WriteImage(rect
*dstr, image *srcimage) |
|
| |
void
|
WritePalette(int palnbr, int bgnindex, int endindex, paldata *
rgbcolors) |
|
| |
int
|
WritePCX(char *
fname, rect * srcr, paldata * rgbcolors) |
|
| |
Long
|
XlateImage(image *srcImage, image *dstImage, int dstBits, int dstPlanes, int xlatNum, long *xlatTbl) |
|
| |
int
|
XYInRect(int X,
int Y, rect * Rect); |
|