THPDFPage.DrawPie Method
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFCurrentDocument.DrawPie

THPDFPage

 

Top  Previous  Next

Draws a pie-shaped the section of the ellipse bounded by the rectangle (X1, Y1) and (X2, Y2).

 

Delphi syntax:

procedure DrawPie( X1, Y1, X2, Y2, X3, Y3, X4, Y4: Extended );

 

C++ syntax:

void __fastcall DrawPie(  Extended X1, Extended Y1, Extended X2, Extended Y2, Extended X3, Extended Y3 , Extended X4, Extended Y4  );

 

Description

Use DrawPie to draw a pie-shaped wedge on the image. In the first form of  Pie, the wedge is defined by the ellipse bounded by the rectangle determined by the points (X1, Y1) and X2, Y2). The section drawn is determined by two lines radiating from the center of the ellipse through the points (X3, Y3) and (X4, Y4).

 

Example

Copyright©2007-2019 losLab.com