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

AreaMove

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

Declaration

Source position: agraphics.pas line 2022

function AreaMove(

  Rp: PRastPort;

  X: LongInt;

  Y: LongInt

):LongInt;

Arguments

Rp

  

Points to a RastPort structure

X

  

X position in Raster

Y

  

Y position in Raster

Function result

0 for success, or -1 if there is no space left in the vector list

Description

Close the last polygon and start another polygon at (x,y). Add the necessary points to vector buffer. Closing a polygon may result in the generation of another AreaDraw() to close previous polygon. Remember to have an initialized TAreaInfo structure attached to the RastPort.

See also

InitArea

  

Initialize vector collection matrix

AreaEnd

  

Process table of vectors and ellipses and produce areafill.

AreaDraw

  

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

AreaEllipse

  

Add a ellipse to areainfo list for areafill.

AreaCircle

  

Draws a Circle in an Area


Documentation generated on: 2021-07-30