intersectScissor

Intersects current scissor rectangle with the specified rectangle. The scissor rectangle is transformed by the current transform. Note: in case the rotation of previous scissor rect differs from the current one, the intersection will be done between the specified rectangle and the previous scissor rectangle transformed in the current transform space. The resulting shape is always rectangle.

Arguments: [x, y, w, h]*

  1. void intersectScissor(NVGContext ctx, float x, float y, float w, float h)
  2. void intersectScissor(NVGContext ctx, float[] args)
    nothrow @trusted @nogc
    void
    intersectScissor
    (,
    in float[] args
    )

See Also

Suggestion Box / Bug Report