InkRenderer class

Represents the management of mappings from ink to the display window. Use the InkRenderer object to display ink in a window. You can also use it to reposition and resize stroke.

InkRenderer has these types of members:

Interfaces

The InkRenderer class defines these interfaces.

Interface Description
IInkRenderer This object implements the IInkRenderer COM interface.

Methods

The InkRenderer class has these methods.

Method Description
Draw Draws strokes on a device context.
DrawStroke Draws a stroke on the specified windows device context.
GetObjectTransform Retrieves the object transform that was used to render ink.
GetViewTransform Retrieves the view transform that is used to render ink.
InkSpaceToPixel Converts a location in ink space coordinates to be in pixel space.
InkSpaceToPixelFromPoints Converts an array of points in ink space coordinates to pixel space.
Measure Calculates the rectangle on the device context that would contain a collection of strokes if they were drawn with the InkRenderer object.
MeasureStroke Calculates the rectangle on the device context that would contain a stroke if they were drawn with the InkRenderer object.
Move Applies a translation to the view transform in ink space coordinates.
PixelToInkSpace Converts a location in pixel coordinates to be in ink space.
PixelToInkSpaceFromPoints Converts an array of points in pixel space coordinates to ink space.
Rotate Applies a rotation to the view transform.
ScaleTransform Scales the view transform in the X and Y dimension.
SetObjectTransform Sets the object transform that is used to render ink.
SetViewTransform Sets the view transform that is used to render ink.

Remarks

Printing is also done through the InkRenderer object.

This object can be instantiated by calling the CoCreateInstance method in C++.

Requirements

Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
Msinkaut.h (also requires Msinkaut_i.c)
Library
InkObj.dll

See also

Renderer Property

InkDrawingAttributes Class

IInkStrokeDisp Interface

InkStrokes Collection