Function Context.lineTo
Adds a line to the path from the current point
to position p1
in user-space coordinates. After this call the current point
will be p1
.
If there is no current point
before the call to lineTo
()
this function will behave as moveTo
(p1
).
Prototypes
void lineTo(
Point!(double) p1
);
void lineTo(
double x,
double y
);
Parameters
Name | Description |
---|---|
p1 | End of the line |
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |