The OpenD Programming Language

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.

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

See Also

Meta