Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

InkRenderer Class

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 strokes.

Members

MethodDescription
DrawDraws strokes on a device context.
DrawStrokeDraws a stroke on the specified windows device context.
GetObjectTransformGets the the object transform that was used to render ink.
GetViewTransformGets the view transform that is used to render ink.
InkSpaceToPixelConverts a location in ink space coordinates to be in pixel space.
InkSpaceToPixelFromPointsConverts an array of points in ink space coordinates to pixel space.
MeasureCalculates the rectangle on the device context that would contain a collection of strokes if they were drawn with the InkRenderer object.
MeasureStrokeCalculates the rectangle on the device context that would contain a stroke if they were drawn with the InkRenderer object.
MoveApplies a translation to the view transform in ink space coordinates.
PixelToInkSpaceConverts a location in pixel coordinates to be in ink space.
PixelToInkSpaceFromPointsConverts an array of points in pixel space coordinates to ink space.
RotateApplies a rotation to the view transform.
ScaleTransformScales the view transform in the X and Y dimension.
SetObjectTransformSets the object transform that is used to render ink.
SetViewTransformSets 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++ or by using the New keyword in Microsoft® Visual Basic® 6.0.

COM Implementation

This object implements the IInkRenderer COM interface.

Related Topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.