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

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.

AddDisplayDriverA

  

Add a display driver to the system.

AddFont

  

Add a font to the system list

AddVSprite

  

Add a VSprite to the current gel list.

Align_Offset

  

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.

AndRectRect

  

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

AndRectRegion

  

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

AndRectRegionND

  

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.

AndRegionRegionND

  

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.

AreRegionsEqual

  

Compares two regions.

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

BitmapFlags_are_Extended

  

Check if the TBitmap.Flags mark this Bitmap as extended

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.

BltRastPortBitMap

  

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).

CEND

  

Terminate user copper 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

CINIT

  

Initialize user copperlist to accept intermediate user copper instructions.

ClearEOL

  

Clear from current position to end of line.

ClearRectRegion

  

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

ClearRectRegionND

  

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

ClearRegion

  

Remove all rectangles from region.

ClearRegionRegion

  

Clear the given Region region1 from the given Region region2 leaving the result in region2.

ClearRegionRegionND

  

Clear the given Region region1 from the given Region region2.

ClearScreen

  

Clear from current position to end of RastPort.

ClipBlit

  

Calls BltBitMap() after accounting for windows

CloneRastPort

  

This function creates a copy of a RastPort.

CloseFont

  

Release a pointer to a system font.

CloseMonitor

  

Close a MonitorSpec

CMove

  

Append copper move instruction to user copper list.

CMOVE1

  

Append copper move instruction to user copper list.

CoerceMode

  

Calculate ViewPort mode coercion

CopyRegion

  

CopySBitMap

  

Syncronize Layer window with contents of Super BitMap

CreateRastPort

  

This function creates a new RastPort.

CWait

  

Append copper wait instruction to user copper list.

CWAIT1

  

Append copper wait instruction to user copper list.

DeinitRastPort

  

Frees the extra contents associated with a RastPort structure.

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.

DoPixelFunc

  

DoRenderFunc

  

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()

FillRectPenDrMd

  

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

FreeRastPort

  

This frees a RastPort obtained with CloneRastPort() or CreateRastPort().

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.

GetTextFontReplyPort

  

Get ReplyPort of a TextFont

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.

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.

IsPointInRegion

  

Checks if the point (x, y) is contained in the region Reg

Is_Visible

  

Check visiblity of a Layer

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.

NewRectRegion

  

Get a new region with given rect defined.

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.

OpenFont

  

Get a pointer to a system font.

OpenMonitor

  

Open a named MonitorSpec

OrRectRegion

  

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

OrRectRegionND

  

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

OrRegionRegionND

  

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.

RemBob

  

Add BOBSAWAY to the given Bob, remove from display

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.

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().

ScrollRegion

  

Scroll the rectangles in the region by the amount of pixels specified, within the specified rectangle.

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

SetAOlPen

  

Set Outline pen for Area Draws

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.

SetDisplayDriverCallback

  

Specify a display driver notification callback

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.

SetRegion

  

Sets the destination region to the source region.

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

ShowImminentReset

  

SortGList

  

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

StripFont

  

Remove the TextFontExtension from a font

SwapRegions

  

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.

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.

WritePixels8

  

XorRectRegion

  

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

XorRectRegionND

  

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

XorRegionRegionND

  

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


Documentation generated on: 2021-07-30