description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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. |
66ec7cab-bfc2-4934-93a4-0ab9cb8c96e7 |
InkRenderer class (Msinkaut.h) |
reference |
05/31/2018 |
|
|
|
|
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:
The InkRenderer class defines these interfaces.
Interface | Description |
---|---|
IInkRenderer | This object implements the IInkRenderer COM interface. |
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. |
Printing is also done through the InkRenderer object.
This object can be instantiated by calling the CoCreateInstance method in C++.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
Library |
|