Function Context.inStroke

Tests whether the given point is inside the area that would be affected by a cairo_stroke() operation given the current path and stroking parameters. Surface dimensions and clipping are not taken into account.

See stroke(), setLineWidth(), setLineJoin(), setLineCap(), set_dash(), and strokePreserve().

Prototypes

bool inStroke(
  Point!(double) point
);

bool inStroke(
  double x,
  double y
);

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