|
THPDFPage.DrawArc
|
Вгору Попередня Наступна |
|
Малює arc уздовж perimeter ellipse, bounded by specified rectangle
Delphi syntax: function DrawArc( X1, Y1, X2, Y2, X3, Y3, X4, Y4: Single ):TCurrPoint; TCurrPoint Type DefinitionTHPDFCurrPoint defines a point in page coordinates
Unit
HPDFDoc
type
THPDFCurrPoint = record
X: Extended;
Y: Extended;
end;
Description:
The THPDFCurrPoint type defines a location on the PDF page. X specifies the horizontal coordinate and Y specifies the vertical coordinate.
C++ syntax: TCurrPoint __fastcall DrawArc( float X1, float Y1, float X2, float Y2, float X3, float Y3, float X4, float Y4 );
Опис Використовуйте DrawArc, щоб намалювати еліптично вигнуту лінію. Arc проходить периметром еліпса, обмеженого точками (X1,Y1) і (X2,Y2), проти годинникової стрілки від початкової точки до кінцевої. Початкова точка визначається лінією від центра еліпса через (X3,Y3), а кінцева точка - через (X4,Y4)
Code Example
|