Piccolo.NET

PPaintContext Members

PPaintContext overview

Public Static Fields

CURRENT_PAINT_CONTEXT The current PPaintContext.

Protected Static Fields

PTS A temporary array of points used to calculate the scale.
TEMP_MATRIX A temporary matrix used to calculate the scale.

Public Instance Constructors

PPaintContext Constructor Constructs a new PPaintContext.

Public Instance Properties

Camera Gets the bottom-most camera on the camera stack (the last camera pushed).
Canvas Gets the canvas that this paint context renders on.
Graphics Gets the graphics context associated with this paint context.
GridFitText Gets a value indicating if text will be rendered with hinting.
LocalClip Gets the current local clip.
RenderQuality Sets the rendering hints for this paint context. The render quality is most often set by the rendering PCanvas. Use PCanvas.AnimatingRenderQuality and PCanvas.InteractingRenderQuality to set these values.
Scale Gets the scale value applied by the graphics context associated with this paint context.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
PaintClipRegion Override this method to change the way the clipping region is painted when the debug region management flag is set.
PopCamera Pops a camera from the camera stack.
PopClip Pops a clip from both the clip stack and the local clip stack and sets the clip of the graphics context to the clip popped from the clip stack.
PopMatrix Pops a matrix from the transform stack.
PushCamera Pushes the given camera onto the camera stack.
PushClip Pushes the current clip onto the clip stack and sets clip of the graphics context to the intersection of the current clip and the given clip.
PushMatrix Pushes the given matrix onto the transform stack.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

cameraStack A stack of the cameras being painted.
canvas The canvas that this paint context will render on.
clipStack A stack of the clip regions that the paint context applies. These regions are not affected by the matrices in the transform stack.
graphics The graphics object used for rendering.
localClipStack A stack of rectangles representing the local clips. These values will be affected by the matrices in the transform stack.
renderQuality Rendering hints for this paint context.
transformStack A stack of the transforms that the paint context applies.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
InitializeStacks Override this method to modify the initial state of the context attribute stacks.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnHighRenderQuality This method is called when the render quality is set to high.
OnLowRenderQuality This method is called when the render quality is set to low.

See Also

PPaintContext Class | UMD.HCIL.Piccolo.Util Namespace


Web Accessibility