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
Method | Description |
---|---|
Draw | Draws strokes on a device context. |
DrawStroke | Draws a stroke on the specified windows device context. |
GetObjectTransform | Gets the the object transform that was used to render ink. |
GetViewTransform | Gets 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++ or by using the New keyword in Microsoft® Visual Basic® 6.0.
COM Implementation
This object implements the IInkRenderer COM interface.