Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ v_bez_fill ] #include <vdi.h> int v_bez_fill( int handle, int count, int *xyarr, char *bezarr, int *extent, int *totpts, int *totmoves ); <handle> is the VDI Handle. <count> is the number of vertices in <xyarr> and <bezarr>. <xyarr> is an int array containing <count> x,y coordinates: [0] = first x coordinate. [1] = first y coordinate. [2] = second x coordinate. [3] = second y coordinate. ... <bezarr> is an int array containing <count> Bezier flags: 0 = start a polyline. 1 = start a 4 point Bezier. 2 = start a polyline; do not connect to last point. 3 = start a Bezier, do not connect to last point. <extent> is a 4 entry int array used to return a bounding rectangle: [0] = min x coordinate. [1] = min y coordinate. [2] = max x coordinate. [3] = max y coordinate. <totpts> returns the number of points in the resulting shape. <totmoves> returns the number of gaps in the resulting shape. Function draws a shape using a combination of Beziers, polylines, and gaps using the current fill attributes. A Bezier is defined using two anchor points and by two control points in the sequence: anchor_1, control_1, control_2, anchor_2. It creates a curved polyline which passes through the anchor points and is tangent to the lines connecting the anchor points to their respective control points. VDI Subopcode 9,13 See also FONTGDOS and VDI Attributes.