The RendererEx Class

The RendererEx class provides rendering functionality and can be thought of as an extension of the Renderer class. It comprises static methods, most of which take a Renderer object for their first parameter.

InkSpaceToPixel

public static void InkSpaceToPixel
        (Renderer renderer, Graphics g, ref Rectangle rcRect)

This method is exactly like the Renderer class’s InkSpaceToPixel method, except that it operates on a Rectangle object.

PixelToInkSpace

public static void PixelToInkSpace
        (Renderer renderer, Graphics g, ref Rectangle rcRect)

This method works like the Renderer class’s PixelToInkSpace method, except that it operates on a Rectangle object.

DrawSelected

public static void DrawSelected         (Renderer renderer, Graphics g, Strokes strokes) ...

Get Building Tablet PC Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.