Freigeben über


Renderer Class

Renderer Class

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

Definition

Visual Basic .NET Public Class Renderer
Inherits Object
C# public class Renderer : Object
Managed C++ public __gc class Renderer : public Object

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Draw Draws strokes on a Graphics Leave Site or device context.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetObjectTransform Identifies the Matrix Leave Site object that represents the object transform that was used to render ink.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
GetViewTransform Identifies the Matrix Leave Site object that represents the object transform that was used to render ink.
InkSpaceToPixel Converts one or more locations in ink space coordinates to be in pixel space.
Measure Calculates the Rectangle Leave Site on the device context needed to contain the stroke or strokes to be drawn by the Renderer object.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
Move Applies a translation to the view transform in ink space coordinates.
PixelToInkSpace Converts one or more locations from pixel coordinates to ink space coordinates.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
Renderer Initializes a new instance of the Renderer class.
Rotate Applies a rotation to the view transform.
Scale Scales the view transform in the X and Y dimensions.
SetObjectTransform Sets the Matrix Leave Site object that represents the object transform that is used to render ink.
SetViewTransform Sets the Matrix Leave Site object that represents the view transform that is used to render ink.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Inheritance Hierarchy

Object Leave Site

Renderer

Remarks

Printing is also done through the Renderer object.

Important Security InformationSecurity Alert: If using under partial trust, this class and all its methods require UIPermissionWindow.SafeTopLevelWindows Leave Site permission. See Security And Trust for more information.

Class Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also