GDIPaintingContext
Implements the painting operations with a GDI+ Graphics instance.
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class GDIPaintingContext : PaintingContext, IPaintingContext
Inheritance: objectPaintingContextGDIPaintingContext
Implements:
Inherited Members
Constructors
Initializes a GDI+ painting context for the specified graphics surface.
public GDIPaintingContext(Graphics graphics)
The graphics surface used for drawing.
Properties
Methods
Draws the outline of an ellipse bounded by the specified rectangle.
public override void DrawEllipse(RectangleF rectangle, Pen pen)
The ellipse's bounding rectangle.
penPenThe pen used to draw the outline.
Overrides:
Draws an image into a destination rectangle.
public override void DrawImage(Image image, RectangleF rectangle, double opacity)
The image to draw.
rectangleRectangleFThe destination rectangle.
opacitydoubleThe opacity value passed to the drawing implementation.
Overrides:
Argument exceptions from the GDI+ image-drawing calls are ignored.
Draws a rectangle outline.
public override void DrawRectangle(RectangleF rectangle, Pen pen)
The rectangle to outline.
penPenThe pen used to draw the outline.
Overrides:
Fills an ellipse bounded by the specified rectangle.
public override void FillEllipse(RectangleF rectanlge, Brush color)
Overrides:
Fills a rectangle with a brush.
public override void FillRectangle(RectangleF rectanlge, Brush color)
Overrides:
Inverts the pixels within a rectangle.
public override void InvertRectangle(RectangleF rectangle)
The rectangle whose pixels are inverted.
Overrides:
Restores the concrete drawing surface's identity transformation.
protected override void ResetTransformationOverride()
Overrides: