Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Cairo.CurveTo (gb.cairo)

Static Sub CurveTo ( X1 As Float, Y1 As Float, X2 As Float, Y2 As Float, X3 As Float, Y3 As Float )

Adds a cubic Bézier spline to the path from the current point to position (X3, Y3) in user-space coordinates, using (X1, Y1) and (X2, Y2) as the control points. After this call the current point will be (X3, Y3).

  • X1 : the X coordinate of the first control point.

  • Y1 : the Y coordinate of the first control point.

  • X2 : the X coordinate of the second control point.

  • Y2 : the Y coordinate of the second control point.

  • X3 : the X coordinate of the end of the curve.

  • Y3 : the Y coordinate of the end of the curve.

If there is no current point before the call to Cairo.CurveTo this function will behave as if preceded by a call to Cairo.MoveTo(X1, Y1).