The OpenD Programming Language

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().

  1. bool inStroke(Point!double point)
  2. bool inStroke(double x, double y)
    struct Context
    bool
    inStroke
    (
    double x
    ,
    double y
    )

Meta