graphics.library
graphics.library draws: lines, areas and text in rastports, bitmaps
and blits, fonts, hardware and virtual sprites, and the views and
colour maps of the display. A program that uses these calls opens it
when it starts and closes it at its end. The calls at its highest
offsets, from EraseRect_ on, are declared by a second library,
graphicslib2, which uses the same library base; they are listed here
as well.
Declared by deflibs libraries 254 and 250.
Calls
| Call | Arguments | Registers | Offset |
|---|---|---|---|
AddAnimOb_ | (anOb, | a0, a1, a2 | -156 |
AddBob_ | (bob, | a0, a1 | -96 |
AddFont_ | (textFont) | a1 | -480 |
AddVSprite_ | (vSprite, | a0, a1 | -102 |
AllocBitMap_ | (sizex, | d0, d1, d2, d3, a0 | -918 |
AllocDBufInfo_ | (vp) | a0 | -966 |
AllocRaster_ | (width, | d0, d1 | -492 |
AllocSpriteDataA_ | (bm, | a2, a1 | -1020 |
AndRectRegion_ | (region, | a0, a1 | -504 |
AndRegionRegion_ | (srcRegion, | a0, a1 | -624 |
Animate_ | (anKey, | a0, a1 | -162 |
AreaDraw_ | (rp, | a1, d0, d1 | -258 |
AreaEllipse_ | (rp, | a1, d0, d1, d2, d3 | -186 |
AreaEnd_ | (rp) | a1 | -264 |
AreaMove_ | (rp, | a1, d0, d1 | -252 |
AskFont_ | (rp, | a1, a0 | -474 |
AskSoftStyle_ | (rp) | a1 | -84 |
AttachPalExtra_ | (cm, | a0, a1 | -834 |
AttemptLockLayerRom_ | (layer) | a5 | -654 |
BestModeIDA_ | (tags) | a0 | -1050 |
BitMapScale_ | (bitScaleArgs) | a0 | -678 |
BltBitMap_ | (srcBitMap, | a0, d0, d1, a1, d2, d3, d4, d5, d6, d7, a2 | -30 |
BltBitMapRastPort_ | (srcBitMap, | a0, d0, d1, a1, d2, d3, d4, d5, d6 | -606 |
BltClear_ | (memBlock, | a1, d0, d1 | -300 |
BltMaskBitMapRastPort_ | (srcBitMap, | a0, d0, d1, a1, d2, d3, d4, d5, d6, a2 | -636 |
BltPattern_ | (rp, | a1, a0, d0, d1, d2, d3, d4 | -312 |
BltTemplate_ | (source, | a0, d0, d1, a1, d2, d3, d4, d5 | -36 |
CalcIVG_ | (v, | a0, a1 | -828 |
CBump_ | (copList) | a1 | -366 |
ChangeExtSpriteA_ | (vp, | a0, a1, a2, a3 | -1026 |
ChangeSprite_ | (vp, | a0, a1, a2 | -420 |
ChangeVPBitMap_ | (vp, | a0, a1, a2 | -942 |
ClearEOL_ | (rp) | a1 | -42 |
ClearRectRegion_ | (region, | a0, a1 | -522 |
ClearRegion_ | (region) | a0 | -528 |
ClearScreen_ | (rp) | a1 | -48 |
ClipBlit_ | (srcRP, | a0, d0, d1, a1, d2, d3, d4, d5, d6 | -552 |
CloseFont_ | (textFont) | a1 | -78 |
CloseMonitor_ | (monitorSpec) | a0 | -720 |
CMove_ | (copList, | a1, d0, d1 | -372 |
CoerceMode_ | (vp, | a0, d0, d1 | -936 |
CopySBitMap_ | (layer) | a0 | -450 |
CWait_ | (copList, | a1, d0, d1 | -378 |
DisownBlitter_ | -462 | ||
DisposeRegion_ | (region) | a0 | -534 |
DoCollision_ | (rp) | a1 | -108 |
Draw_ | (rp, | a1, d0, d1 | -246 |
DrawEllipse_ | (rp, | a1, d0, d1, d2, d3 | -180 |
DrawGList_ | (rp, | a1, a0 | -114 |
EraseRect_ | (rp, | a1, d0, d1, d2, d3 | -810 |
ExtendFont_ | (font, | a0, a1 | -816 |
FindColor_ | (cm, | a3, d1, d2, d3, d4 | -1008 |
FindDisplayInfo_ | (displayID) | d0 | -726 |
Flood_ | (rp, | a1, d2, d0, d1 | -330 |
FontExtent_ | (font, | a0, a1 | -762 |
FreeBitMap_ | (bm) | a0 | -924 |
FreeColorMap_ | (colorMap) | a0 | -576 |
FreeCopList_ | (copList) | a0 | -546 |
FreeCprList_ | (cprList) | a0 | -564 |
FreeDBufInfo_ | (dbi) | a1 | -972 |
FreeGBuffers_ | (anOb, | a0, a1, d0 | -600 |
FreeRaster_ | (p, | a0, d0, d1 | -498 |
FreeSprite_ | (num) | d0 | -414 |
FreeSpriteData_ | (sp) | a2 | -1032 |
FreeVPortCopLists_ | (vp) | a0 | -540 |
GetAPen_ | (rp) | a0 | -858 |
GetBitMapAttr_ | (bm, | a0, d1 | -960 |
GetBPen_ | (rp) | a0 | -864 |
GetColorMap_ | (entries) | d0 | -570 |
GetDisplayInfoData_ | (handle, | a0, a1, d0, d1, d2 | -756 |
GetDrMd_ | (rp) | a0 | -870 |
GetExtSpriteA_ | (ss, | a2, a1 | -930 |
GetGBuffers_ | (anOb, | a0, a1, d0 | -168 |
GetOutlinePen_ | (rp) | a0 | -876 |
GetRGB32_ | (cm, | a0, d0, d1, a1 | -900 |
GetRGB4_ | (colorMap, | a0, d0 | -582 |
GetRPAttrsA_ | (rp, | a0, a1 | -1044 |
GetSprite_ | (sprite, | a0, d0 | -408 |
GetVPModeID_ | (vp) | a0 | -792 |
GfxAssociate_ | (associateNode, | a0, a1 | -672 |
GfxFree_ | (gfxNodePtr) | a0 | -666 |
GfxInternal1_ | -642 | ||
GfxInternal2_ | -648 | ||
GfxInternal3_ | -846 | ||
GfxLookUp_ | (associateNode) | a0 | -702 |
GfxNew_ | (gfxNodeType) | d0 | -660 |
GfxSpare1_ | -906 | ||
GfxSpare2_ | -1014 | ||
InitArea_ | (areaInfo, | a0, a1, d0 | -282 |
InitBitMap_ | (bitMap, | a0, d0, d1, d2 | -390 |
InitGels_ | (head, | a0, a1, a2 | -120 |
InitGMasks_ | (anOb) | a0 | -174 |
InitMasks_ | (vSprite) | a0 | -126 |
InitRastPort_ | (rp) | a1 | -198 |
InitTmpRas_ | (tmpRas, | a0, a1, d0 | -468 |
InitView_ | (view) | a1 | -360 |
InitVPort_ | (vp) | a0 | -204 |
LoadRGB32_ | (vp, | a0, a1 | -882 |
LoadRGB4_ | (vp, | a0, a1, d0 | -192 |
LoadView_ | (view) | a1 | -222 |
LockLayerRom_ | (layer) | a5 | -432 |
MakeVPort_ | (view, | a0, a1 | -216 |
ModeNotAvailable_ | (modeID) | d0 | -798 |
Move_ | (rp, | a1, d0, d1 | -240 |
MoveSprite_ | (vp, | a0, a1, d0, d1 | -426 |
MrgCop_ | (view) | a1 | -210 |
NewRegion_ | -516 | ||
NextDisplayInfo_ | (displayID) | d0 | -732 |
ObtainBestPenA_ | (cm, | a0, d1, d2, d3, a1 | -840 |
ObtainPen_ | (cm, | a0, d0, d1, d2, d3, d4 | -954 |
OpenFont_ | (textAttr) | a0 | -72 |
OpenMonitor_ | (monitorName, | a1, d0 | -714 |
OrRectRegion_ | (region, | a0, a1 | -510 |
OrRegionRegion_ | (srcRegion, | a0, a1 | -612 |
OwnBlitter_ | -456 | ||
PolyDraw_ | (rp, | a1, d0, a0 | -336 |
QBlit_ | (blit) | a1 | -276 |
QBSBlit_ | (blit) | a1 | -294 |
ReadPixel_ | (rp, | a1, d0, d1 | -318 |
ReadPixelArray8_ | (rp, | a0, d0, d1, d2, d3, a2, a1 | -780 |
ReadPixelLine8_ | (rp, | a0, d0, d1, d2, a2, a1 | -768 |
RectFill_ | (rp, | a1, d0, d1, d2, d3 | -306 |
ReleasePen_ | (cm, | a0, d0 | -948 |
RemFont_ | (textFont) | a1 | -486 |
RemIBob_ | (bob, | a0, a1, a2 | -132 |
RemVSprite_ | (vSprite) | a0 | -138 |
ScalerDiv_ | (factor, | d0, d1, d2 | -684 |
ScrollRaster_ | (rp, | a1, d0, d1, d2, d3, d4, d5 | -396 |
ScrollRasterBF_ | (rp, | a1, d0, d1, d2, d3, d4, d5 | -1002 |
ScrollVPort_ | (vp) | a0 | -588 |
SetABPenDrMd_ | (rp, | a1, d0, d1, d2 | -894 |
SetAPen_ | (rp, | a1, d0 | -342 |
SetBPen_ | (rp, | a1, d0 | -348 |
SetChipRev_ | (want) | d0 | -888 |
SetCollision_ | (num, | d0, a0, a1 | -144 |
SetDrMd_ | (rp, | a1, d0 | -354 |
SetFont_ | (rp, | a1, a0 | -66 |
SetMaxPen_ | (rp, | a0, d0 | -990 |
SetOutlinePen_ | (rp, | a0, d0 | -978 |
SetRast_ | (rp, | a1, d0 | -234 |
SetRGB32_ | (vp, | a0, d0, d1, d2, d3 | -852 |
SetRGB32CM_ | (cm, | a0, d0, d1, d2, d3 | -996 |
SetRGB4_ | (vp, | a0, d0, d1, d2, d3 | -288 |
SetRGB4CM_ | (colorMap, | a0, d0, d1, d2, d3 | -630 |
SetRPAttrsA_ | (rp, | a0, a1 | -1038 |
SetSoftStyle_ | (rp, | a1, d0, d1 | -90 |
SetWriteMask_ | (rp, | a0, d0 | -984 |
SortGList_ | (rp) | a1 | -150 |
StripFont_ | (font) | a0 | -822 |
SyncSBitMap_ | (layer) | a0 | -444 |
Text_ | (rp, | a1, a0, d0 | -60 |
TextExtent_ | (rp, | a1, a0, d0, a2 | -690 |
TextFit_ | (rp, | a1, a0, d0, a2, a3, d1, d2, d3 | -696 |
TextLength_ | (rp, | a1, a0, d0 | -54 |
UCopperListInit_ | (uCopList, | a0, d0 | -594 |
UnlockLayerRom_ | (layer) | a5 | -438 |
VBeamPos_ | -384 | ||
VideoControl_ | (colorMap, | a0, a1 | -708 |
WaitBlit_ | -228 | ||
WaitBOVP_ | (vp) | a0 | -402 |
WaitTOF_ | -270 | ||
WeighTAMatch_ | (reqTextAttr, | a0, a1, a2 | -804 |
WritePixel_ | (rp, | a1, d0, d1 | -324 |
WritePixelArray8_ | (rp, | a0, d0, d1, d2, d3, a2, a1 | -786 |
WritePixelLine8_ | (rp, | a0, d0, d1, d2, a2, a1 | -774 |
XorRectRegion_ | (region, | a0, a1 | -558 |
XorRegionRegion_ | (srcRegion, | a0, a1 | -618 |