|
THPDFPage.DrawArc
|
Top Previous Next |
|
지정한 사각형으로 둘러싸인 타원의 둘레를 따라 호를 그립니다
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 );
Description DrawArc로 타원형 곡선을 그립니다. 호는 점 (X1,Y1)과 (X2,Y2)로 둘러싸인 타원의 둘레를 따라 시작점에서 끝점까지 반시계 방향으로 그려집니다. 시작점은 타원과, 타원 중심과 (X3,Y3)를 지나는 직선이 만나는 교점으로 정의됩니다. 끝점은 타원과, 타원 중심과 (X4, Y4)를 지나는 직선이 만나는 교점으로 정의됩니다
Code Example
|