Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

Reference for unit 'agraphics': Procedures and functions

AddAnimOb

  

Add an AnimOb to the linked list of AnimObs.

AddBob

  

Adds a Bob to current gel list.

AddFont

  

Add a font to the system list

AddVSprite

  

Add a VSprite to the current gel list.

AllocBitMap

  

Allocate a bitmap and attach bitplanes to it.

AllocDBufInfo

  

Allocate structure for multi-buffered animation

AllocRaster

  

Allocate space for a bitplane.

AllocSpriteData

  

VarArgs Version of AllocSpriteDataA()

AllocSpriteDataA

  

Allocate sprite data and convert from a bitmap.

AndRectRegion

  

Perform 2d AND operation of rectangle with region, leaving result in region.

AndRegionRegion

  

Perform 2d AND operation of one region with second region, leaving result in second region.

Animate

  

Processes every AnimOb in the current animation list.

AreaCircle

  

Draws a Circle in an Area

AreaDraw

  

Add a point to a list of end points for areafill.

AreaEllipse

  

Add a ellipse to areainfo list for areafill.

AreaEnd

  

Process table of vectors and ellipses and produce areafill.

AreaMove

  

Define a new starting point for a new shape in the vector list.

AskFont

  

Get the text attributes of the current font

AskSoftStyle

  

Get the soft style bits of the current font.

AttachPalExtra

  

Allocate and attach a palette sharing structure to a colormap

AttemptLockLayerRom

  

Attempt to Lock Layer structure by ROM(gfx lib) code

BestModeID

  

VarArgs version of BestModeIDA()

BestModeIDA

  

Calculate the best ModeID with given parameters

BitMapScale

  

Perform raster scaling on a bit map.

BltBitMap

  

Move a rectangular region of bits in a BitMap.

BltBitMapRastPort

  

Blit from source bitmap to destination rastport.

BltClear

  

Clear a block of memory words to zero.

BltMaskBitMapRastPort

  

Blit from source bitmap to destination rastport with masking of source image.

BltPattern

  

Using standard drawing rules for areafill, blit through a mask.

BltTemplate

  

Cookie cut a shape in a rectangle to the RastPort.

BNDRYOFF

  

Turn Boundary off

CalcIVG

  

Calculate the number of blank lines above a ViewPort

CBump

  

Increment user copper list pointer (bump to next position in list).

ChangeExtSprite

  

VarArgs version of ChangeExtSpriteA

ChangeExtSpriteA

  

Change the sprite image pointer.

ChangeSprite

  

Change the sprite image pointer.

ChangeVPBitMap

  

Change display memory address for multi-buffered animation

ClearEOL

  

Clear from current position to end of line.

ClearRectRegion

ClearRegion

  

ClearScreen

  

Clear from current position to end of RastPort.

ClipBlit

  

Calls BltBitMap() after accounting for windows

CloseFont

  

Release a pointer to a system font.

CloseMonitor

  

Close a MonitorSpec

CMove

  

Append copper move instruction to user copper list.

CoerceMode

  

Calculate ViewPort mode coercion

CopySBitMap

  

Syncronize Layer window with contents of Super BitMap

CWait

  

Append copper wait instruction to user copper list.

DisownBlitter

  

Returns blitter to free state.

DisposeRegion

  

Return all space for this region to free memory pool.

DoCollision

  

Test every gel in gel list for collisions.

Draw

  

Draw a line between the current pen position and the new x,y position.

DrawCircle

  

Draws a Circle

DrawEllipse

  

Draw an ellipse centered at cx,cy with vertical and horizontal radii of a,b respectively

DrawGList

  

Process the gel list, queueing VSprites, drawing Bobs.

EraseRect

  

Fill a defined rectangular area using the current BackFill hook.

ExtendFont

  

Ensure TTextFont.tf_Extension has been built for a font

ExtendFontTags

  

VarArgs Version of ExtendFont()

FindColor

  

Find the closest matching color in a colormap.

FindDisplayInfo

  

Search for a record identified by a specific key

Flood

  

Flood rastport like areafill.

FontExtent

  

Get the font attributes of the current font

FreeBitMap

  

Free a bitmap created by AllocBitMap()

FreeColorMap

  

Free the ColorMap structure and return memory to free memory pool.

FreeCopList

  

Deallocate intermediate copper list

FreeCprList

  

Deallocate hardware copper list

FreeDBufInfo

  

Free information for multi-buffered animation

FreeGBuffers

  

Deallocate memory obtained by GetGBuffers()

FreeRaster

  

Release an allocated area to the system free memory pool

FreeSprite

  

Return sprite for use by others and virtual sprite machine.

FreeSpriteData

  

free sprite data allocated by AllocSpriteData()

FreeVPortCopLists

  

Deallocate all intermediate copper lists and their headers from a viewport

GetAPen

  

Get the A Pen value for a RastPort

GetBitMapAttr

  

Returns information about a bitmap

GetBPen

  

Get the B Pen value for a RastPort

GetColorMap

  

Allocate and initialize Colormap

GetDisplayInfoData

  

Query DisplayInfo Record parameters

GetDrMd

  

Get the draw mode value for a RastPort

GetExtSprite

  

VarArgs Version of GetExtSpriteA()

GetExtSpriteA

  

Attempt to get a sprite for the extended sprite manager.

GetGBuffers

  

Attempt to allocate ALL buffers of an entire AnimOb.

GetOutlinePen

  

Get the O Pen value for a RastPort

GetRGB32

  

Set a series of color registers for this Viewport.

GetRGB4

  

Inquire value of entry in ColorMap.

GetRPAttrs

  

VarArgs Version for GetRPAttrsA()

GetRPAttrsA

  

Examine rastport settings via a tag list

GetSprite

  

Attempt to get a sprite for the simple sprite manager.

GetVPModeID

  

Get the 32 bit DisplayID from a ViewPort.

GfxAssociate

  

associate a graphics extended node with a given pointer

GfxFree

  

Free a graphics extended data structure

GfxLookUp

  

Find a graphics extended node associated with a given pointer

GfxMove

  

Move graphics pen position.

GfxNew

  

Allocate a graphics extended data structure

GfxText

  

Write text characters (no formatting).

InitAnimate

  

Init AnimObject pointer, set to nil

InitArea

  

Initialize vector collection matrix

InitBitMap

  

Initialize bit map structure with input values.

InitGels

  

initialize a gel list; must be called before using gels.

InitGMasks

  

Initialize all of the masks of an AnimOb.

InitGraphicsLibrary

InitMasks

  

Initialize the BorderLine and CollMask masks of a VSprite.

InitRastPort

  

Initialize raster port structure

InitTmpRas

  

Initialize area of local memory for usage by areafill, floodfill, gfxtext.

InitView

  

Initialize View structure.

InitVPort

  

Initialize ViewPort structure.

LoadRGB32

  

Set a series of color registers for this Viewport.

LoadRGB4

  

Load RGB color values from table.

LoadView

  

Use a (possibly freshly created) coprocessor instruction list to create the current display.

LockLayerRom

  

Lock Layer structure by ROM(gfx lib) code.

MakeVPort

  

Generate display copper list for a viewport.

ModeNotAvailable

  

Check to see if a DisplayID isn't available.

MoveSprite

  

Move sprite to a point relative to top of viewport.

MrgCop

  

Merge together coprocessor instructions.

NewRegion

  

Allocates memory for a new Region and initializes it to an empty Region.

NextDisplayInfo

  

Iterate current displayinfo identifiers

ObtainBestPen

  

VarArgs Version of ObtainBestPenA()

ObtainBestPenA

  

Search for the closest color match, or allocate a new one.

ObtainPen

  

Obtain a free palette entry for use by your program.

OFF_DISPLAY

  

OFF_SPRITE

  

OFF_VBLANK

  

ON_DISPLAY

  

ON_SPRITE

  

ON_VBLANK

  

OpenFont

  

Get a pointer to a system font.

OpenFontTagList

OpenFontTags

OpenMonitor

  

Open a named MonitorSpec

OrRectRegion

  

Perform 2d OR operation of rectangle with region, leaving result in region.

OrRegionRegion

  

Perform 2d OR operation of one region with second region, leaving result in second region

OwnBlitter

  

get the blitter for private usage

PolyDraw

  

Draw lines from table of (x,y) values.

QBlit

  

Queue up a request for blitter usage

QBSBlit

  

Synchronize the blitter request with the video beam.

RasSize

  

Get Size of an rastport.

ReadPixel

  

read the pen number value of the pixel at a specified x,y location within a certain RastPort.

ReadPixelArray8

  

read the pen number value of a rectangular array of pixels starting at a specified x,y location and continuing through to another x,y location within a certain RastPort.

ReadPixelLine8

  

read the pen number value of a horizontal line of pixels starting at a specified x,y location and continuing right for count pixels.

RectFill

  

Fill a rectangular region in a RastPort.

ReleasePen

  

Release an allocated palette entry to the free pool.

RemFont

  

Remove a font from the system list.

RemIBob

  

Immediately remove a Bob from the gel list and the RastPort.

RemVSprite

  

Remove a VSprite from the current gel list.

SafeSetOutlinePen

  

SafeSetWriteMask

  

ScalerDiv

  

Get the scaling result that BitMapScale would.

ScrollRaster

  

Push bits in rectangle in raster around by dx,dy towards 0,0 inside rectangle.

ScrollRasterBF

  

Push bits in rectangle in raster around by dx,dy towards 0,0 inside rectangle. Newly empty areas will be filled via EraseRect().

ScrollVPort

  

Reinterpret RasInfo information in ViewPort to reflect the current Offset values.

SetABPenDrMd

  

Set pen colors and draw mode for a RastPort.

SetAfPt

  

Set Area PAttern and Point Size

SetAPen

  

Set the primary pen for a RastPort.

SetBPen

  

Set secondary pen for a RastPort

SetChipRev

  

Turns on the features of a Chip Set

SetCollision

  

Set a pointer to a user collision routine.

SetDrMd

  

Set drawing mode for a RastPort

SetDrPt

  

Set Draw Pattern

SetFont

  

Set the text font and attributes in a RastPort.

SetMaxPen

  

Set maximum pen value for a rastport

SetOPen

  

Set Outline pen

SetOutlinePen

  

Set the Outline Pen value for a RastPort

SetRast

  

Set an entire drawing area to a specified color.

SetRGB32

  

Set one color register for this Viewport.

SetRGB32CM

  

Set one color register for this ColorMap.

SetRGB4

  

Set one color register for this viewport.

SetRGB4CM

  

Set one color register for this ColorMap.

SetRPAttrs

  

VarArgs Version of SetRPAttrsA()

SetRPAttrsA

  

Modify rastport settings via a tag list

SetSoftStyle

  

Set the soft style of the current font.

SetWriteMask

  

Set the pixel write mask value for a RastPort

SetWrMsk

  

Set Write Mask for RastPort

SortGList

  

Sort the current gel list, ordering its y,x coordinates.

StripFont

  

Remove the TextFontExtension from a font

SyncSBitMap

  

Syncronize Super BitMap with whatever is in the standard Layer bounds.

TextExtent

  

Determine raster extent of text data.

TextFit

  

Count characters that will fit in a given extent

TextLength

  

Determine raster length of text data.

UCopperListInit

  

Allocates and initializes copperlist structures and buffers internal to UCopList structure.

UnlockLayerRom

  

Unlock Layer structure by ROM(gfx lib) code.

VBeamPos

  

Get vertical beam position at this instant.

VideoControl

  

Modify the operation of a ViewPort's ColorMap

VideoControlTags

  

VarArgs Version of VideoControl()

WaitBlit

  

Wait for the blitter to be finished before proceeding with anything else.

WaitBOVP

  

Wait till vertical beam reached bottom of this viewport.

WaitTOF

  

Wait for the top of the next video frame.

WeighTAMatch

  

Determines how well two font descriptions match.

WeighTAMatchTags

  

WriteChunkyPixels

  

Write the pen number value of a rectangular array of pixels starting at a specified x,y location and continuing through to another x,y location within a certain RastPort.

WritePixel

  

Change the pen num of one specific pixel in a specified RastPort.

WritePixelArray8

  

Write the pen number value of a rectangular array of pixels starting at a specified x,y location and continuing through to another x,y location within a certain RastPort.

WritePixelLine8

  

Write the pen number value of a horizontal line of pixels starting at a specified x,y location and continuing right for count pixels.

XorRectRegion

  

Perform 2d XOR operation of rectangle with region, leaving result in region

XorRegionRegion

  

Perform 2d XOR operation of one region with second region, leaving result in second region


Documentation generated on: 2021-07-30