Class DrawContext : clipPop Method


void clipPop()

Summary

Remove the most recent clipping rectangle used.


Remarks

You must "pop" a clipping rectangle you "pushed" otherwise DigiGuide drawing will not work correctly.


Examples

Constrain the text drawn to the rectangle for the column;

c.onDraw = function ( dc, rc, textColour, programme )
{
dc.clipPushRect( rc );
dc.drawText( rc.left, rc.top, "really really long text", textColour );
dc.clipPop();
}


Requirements

build 1065