C# Class Eto.iOS.Drawing.GraphicsHandler

Handler for the Graphics.IHandler
Inheritance: Eto.Drawing.Graphics.Eto.Mac.Forms.MacBase, Graphics.IHandler
Show file Open project: picoe/Eto Class Usage Examples

Private Properties

Property Type Description
ApplyAll void
ApplyClip void
ApplyTransform void
CopyToOriginalImage void
EndDrawing void
FrameDidChange void
InitializeContext void
RewindAll void
RewindClip void
RewindTransform void
SetDefaults void
SetOffset void
StartDrawing void

Public Methods

Method Description
Clear ( Eto.Drawing.SolidBrush brush ) : void
CreateFromImage ( Bitmap image ) : void
DrawArc ( Eto.Drawing.Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
DrawEllipse ( Eto.Drawing.Pen pen, float x, float y, float width, float height ) : void
DrawImage ( Image image, Eto.Drawing.RectangleF source, Eto.Drawing.RectangleF destination ) : void
DrawImage ( Image image, float x, float y ) : void
DrawImage ( Image image, float x, float y, float width, float height ) : void
DrawLine ( Eto.Drawing.Pen pen, float startx, float starty, float endx, float endy ) : void
DrawPath ( Eto.Drawing.Pen pen, IGraphicsPath path ) : void
DrawRectangle ( Eto.Drawing.Pen pen, float x, float y, float width, float height ) : void
DrawText ( Eto.Drawing.Font font, Eto.Drawing.SolidBrush brush, float x, float y, string text ) : void
FillEllipse ( Eto.Drawing.Brush brush, float x, float y, float width, float height ) : void
FillPath ( Eto.Drawing.Brush brush, IGraphicsPath path ) : void
FillPie ( Eto.Drawing.Brush brush, float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
FillRectangle ( Eto.Drawing.Brush brush, float x, float y, float width, float height ) : void
Flush ( ) : void
GraphicsHandler ( ) : System
GraphicsHandler ( MonoMac.AppKit.NSView view ) : System
GraphicsHandler ( MonoMac.AppKit.NSView view, CGContext context, System.Double height ) : System
GraphicsHandler ( MonoMac.AppKit.NSView view, MonoMac.AppKit.NSGraphicsContext graphicsContext, float height, bool flipped ) : System
MeasureString ( Eto.Drawing.Font font, string text ) : Eto.Drawing.SizeF
MultiplyTransform ( IMatrix matrix ) : void
Reset ( ) : void
ResetClip ( ) : void
RestoreTransform ( ) : void
RotateTransform ( float angle ) : void
SaveTransform ( ) : void
ScaleTransform ( float scaleX, float scaleY ) : void
SetClip ( IGraphicsPath path ) : void
SetClip ( Eto.Drawing.RectangleF rectangle ) : void
SetFillColorSpace ( ) : void
SetPhase ( ) : void
TranslateTransform ( float offsetX, float offsetY ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ApplyAll ( ) : void
ApplyClip ( ) : void
ApplyTransform ( ) : void
CopyToOriginalImage ( ) : void
EndDrawing ( ) : void
FrameDidChange ( ObserverActionEventArgs e ) : void
InitializeContext ( bool viewFlipped ) : void
RewindAll ( ) : void
RewindClip ( ) : void
RewindTransform ( ) : void
SetDefaults ( ) : void
SetOffset ( bool fill ) : void
StartDrawing ( ) : void

Method Details

Clear() public method

public Clear ( Eto.Drawing.SolidBrush brush ) : void
brush Eto.Drawing.SolidBrush
return void

CreateFromImage() public method

public CreateFromImage ( Bitmap image ) : void
image Eto.Drawing.Bitmap
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DrawArc() public method

public DrawArc ( Eto.Drawing.Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
pen Eto.Drawing.Pen
x float
y float
width float
height float
startAngle float
sweepAngle float
return void

DrawEllipse() public method

public DrawEllipse ( Eto.Drawing.Pen pen, float x, float y, float width, float height ) : void
pen Eto.Drawing.Pen
x float
y float
width float
height float
return void

DrawImage() public method

public DrawImage ( Image image, Eto.Drawing.RectangleF source, Eto.Drawing.RectangleF destination ) : void
image Image
source Eto.Drawing.RectangleF
destination Eto.Drawing.RectangleF
return void

DrawImage() public method

public DrawImage ( Image image, float x, float y ) : void
image Image
x float
y float
return void

DrawImage() public method

public DrawImage ( Image image, float x, float y, float width, float height ) : void
image Image
x float
y float
width float
height float
return void

DrawLine() public method

public DrawLine ( Eto.Drawing.Pen pen, float startx, float starty, float endx, float endy ) : void
pen Eto.Drawing.Pen
startx float
starty float
endx float
endy float
return void

DrawPath() public method

public DrawPath ( Eto.Drawing.Pen pen, IGraphicsPath path ) : void
pen Eto.Drawing.Pen
path IGraphicsPath
return void

DrawRectangle() public method

public DrawRectangle ( Eto.Drawing.Pen pen, float x, float y, float width, float height ) : void
pen Eto.Drawing.Pen
x float
y float
width float
height float
return void

DrawText() public method

public DrawText ( Eto.Drawing.Font font, Eto.Drawing.SolidBrush brush, float x, float y, string text ) : void
font Eto.Drawing.Font
brush Eto.Drawing.SolidBrush
x float
y float
text string
return void

FillEllipse() public method

public FillEllipse ( Eto.Drawing.Brush brush, float x, float y, float width, float height ) : void
brush Eto.Drawing.Brush
x float
y float
width float
height float
return void

FillPath() public method

public FillPath ( Eto.Drawing.Brush brush, IGraphicsPath path ) : void
brush Eto.Drawing.Brush
path IGraphicsPath
return void

FillPie() public method

public FillPie ( Eto.Drawing.Brush brush, float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
brush Eto.Drawing.Brush
x float
y float
width float
height float
startAngle float
sweepAngle float
return void

FillRectangle() public method

public FillRectangle ( Eto.Drawing.Brush brush, float x, float y, float width, float height ) : void
brush Eto.Drawing.Brush
x float
y float
width float
height float
return void

Flush() public method

public Flush ( ) : void
return void

GraphicsHandler() public method

public GraphicsHandler ( ) : System
return System

GraphicsHandler() public method

public GraphicsHandler ( MonoMac.AppKit.NSView view ) : System
view MonoMac.AppKit.NSView
return System

GraphicsHandler() public method

public GraphicsHandler ( MonoMac.AppKit.NSView view, CGContext context, System.Double height ) : System
view MonoMac.AppKit.NSView
context MonoMac.CoreGraphics.CGContext
height System.Double
return System

GraphicsHandler() public method

public GraphicsHandler ( MonoMac.AppKit.NSView view, MonoMac.AppKit.NSGraphicsContext graphicsContext, float height, bool flipped ) : System
view MonoMac.AppKit.NSView
graphicsContext MonoMac.AppKit.NSGraphicsContext
height float
flipped bool
return System

MeasureString() public method

public MeasureString ( Eto.Drawing.Font font, string text ) : Eto.Drawing.SizeF
font Eto.Drawing.Font
text string
return Eto.Drawing.SizeF

MultiplyTransform() public method

public MultiplyTransform ( IMatrix matrix ) : void
matrix IMatrix
return void

Reset() public method

public Reset ( ) : void
return void

ResetClip() public method

public ResetClip ( ) : void
return void

RestoreTransform() public method

public RestoreTransform ( ) : void
return void

RotateTransform() public method

public RotateTransform ( float angle ) : void
angle float
return void

SaveTransform() public method

public SaveTransform ( ) : void
return void

ScaleTransform() public method

public ScaleTransform ( float scaleX, float scaleY ) : void
scaleX float
scaleY float
return void

SetClip() public method

public SetClip ( IGraphicsPath path ) : void
path IGraphicsPath
return void

SetClip() public method

public SetClip ( Eto.Drawing.RectangleF rectangle ) : void
rectangle Eto.Drawing.RectangleF
return void

SetFillColorSpace() public method

public SetFillColorSpace ( ) : void
return void

SetPhase() public method

public SetPhase ( ) : void
return void

TranslateTransform() public method

public TranslateTransform ( float offsetX, float offsetY ) : void
offsetX float
offsetY float
return void