This method creates a Bézier cubic curve segment.
HRESULT PDFPAGE_CurveTo ( DOUBLE firstX, DOUBLE firstY, DOUBLE secondX, DOUBLE secondY, DOUBLE thirdX, DOUBLE thirdY ) |
This method appends a cubic Bézier curve to the current path. The curve extends from the current point to the point (thirdX, thirdY), using (firstX, firtsY) and (secondX, secondY) as the Bézier control points. The new current point is (thirdX, thirdY).
Equivalent in new interface: IPDFDocument4::DrawCurveTo.
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.PDFPAGE_MoveTo(50, 200); PDF.PDFPAGE_CurveTo(80, 70, 200, 200, 300, 90); PDF.PDFPAGE_Stroke; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_MoveTo(50, 200); PDF->PDFPAGE_CurveTo(80, 70, 200, 200, 300, 90); PDF->PDFPAGE_Stroke(); PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_MoveTo(50, 200); PDF.PDFPAGE_CurveTo(80, 70, 200, 200, 300, 90); PDF.PDFPAGE_Stroke(); PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_MoveTo 50, 200 PDF.PDFPAGE_CurveTo 80, 70, 200, 200, 300, 90 PDF.PDFPAGE_Stroke PDF.EndDoc