VpePie

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpePie

Previous pageReturn to chapter overviewNext page

This function is identical to VpeEllipse(), but it draws a pie from begin_angle to end_angle.

void VpePie(

VpeHandle hDoc,

VpeCoord x,

VpeCoord y,

VpeCoord x2,

VpeCoord y2,

int begin_angle,

int end_angle

)

VpeHandle hDoc

Document Handle

VpeCoord x, y, x2, y2

surrounding rectangle of the pie

int begin_angle

angle in 0.1 degrees, clockwise

int end_angle

angle in 0.1 degrees, clockwise

Remarks:

VPE offers several methods to attach an object's position to margins and relative to the position of previously inserted objects. In addition Text, Rich Text and Picture objects are able to compute their dimensions automatically depending on their visual content.
For details please see "Dynamic Positioning" in the Programmer's Manual.

 

There is also an "Important Note About Pens, Lines, Frames, Circles and Ellipses" in the Programmer's Manual.