C# Class Xwt.Drawing.VectorImageRecorderContextHandler

Inheritance: Xwt.Backends.ContextBackendHandler
Datei anzeigen Open project: TheBrainTech/xwt

Public Methods

Method Description
AppendPath ( object backend, object otherBackend ) : void
Arc ( object backend, double xc, double yc, double radius, double angle1, double angle2 ) : void
ArcNegative ( object backend, double xc, double yc, double radius, double angle1, double angle2 ) : void
Clip ( object backend ) : void
ClipPreserve ( object backend ) : void
ClosePath ( object backend ) : void
CopyPath ( object backend ) : object
CreatePath ( ) : object
CurveTo ( object backend, double x1, double y1, double x2, double y2, double x3, double y3 ) : void
Dispose ( object backend ) : void
DrawImage ( object backend, ImageDescription img, Xwt srcRect, Xwt destRect ) : void
DrawImage ( object backend, ImageDescription img, double x, double y ) : void
DrawTextLayout ( object backend, TextLayout layout, double x, double y ) : void
Fill ( object backend ) : void
FillPreserve ( object backend ) : void
GetCTM ( object backend ) : Matrix
GetScaleFactor ( object backend ) : double
IsPointInFill ( object backend, double x, double y ) : bool
IsPointInStroke ( object backend, double x, double y ) : bool
LineTo ( object backend, double x, double y ) : void
ModifyCTM ( object backend, Matrix t ) : void
MoveTo ( object backend, double x, double y ) : void
NewPath ( object backend ) : void
Rectangle ( object backend, double x, double y, double width, double height ) : void
RelCurveTo ( object backend, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3 ) : void
RelLineTo ( object backend, double dx, double dy ) : void
RelMoveTo ( object backend, double dx, double dy ) : void
Restore ( object backend ) : void
Rotate ( object backend, double angle ) : void
Save ( object backend ) : void
Scale ( object backend, double scaleX, double scaleY ) : void
SetColor ( object backend, Color color ) : void
SetGlobalAlpha ( object backend, double globalAlpha ) : void
SetLineDash ( object backend, double offset ) : void
SetLineWidth ( object backend, double width ) : void
SetPattern ( object backend, object p ) : void
SetStyles ( object backend, StyleSet styles ) : void
Stroke ( object backend ) : void
StrokePreserve ( object backend ) : void
Translate ( object backend, double tx, double ty ) : void
VectorImageRecorderContextHandler ( Toolkit toolkit ) : System

Private Methods

Method Description
CreateNativePathBackend ( VectorBackend b ) : void
Draw ( Xwt.Backends.DrawingPathBackendHandler targetHandler, object ctx, VectorImageData cm ) : void

Method Details

AppendPath() public method

public AppendPath ( object backend, object otherBackend ) : void
backend object
otherBackend object
return void

Arc() public method

public Arc ( object backend, double xc, double yc, double radius, double angle1, double angle2 ) : void
backend object
xc double
yc double
radius double
angle1 double
angle2 double
return void

ArcNegative() public method

public ArcNegative ( object backend, double xc, double yc, double radius, double angle1, double angle2 ) : void
backend object
xc double
yc double
radius double
angle1 double
angle2 double
return void

Clip() public method

public Clip ( object backend ) : void
backend object
return void

ClipPreserve() public method

public ClipPreserve ( object backend ) : void
backend object
return void

ClosePath() public method

public ClosePath ( object backend ) : void
backend object
return void

CopyPath() public method

public CopyPath ( object backend ) : object
backend object
return object

CreatePath() public method

public CreatePath ( ) : object
return object

CurveTo() public method

public CurveTo ( object backend, double x1, double y1, double x2, double y2, double x3, double y3 ) : void
backend object
x1 double
y1 double
x2 double
y2 double
x3 double
y3 double
return void

Dispose() public method

public Dispose ( object backend ) : void
backend object
return void

DrawImage() public method

public DrawImage ( object backend, ImageDescription img, Xwt srcRect, Xwt destRect ) : void
backend object
img Xwt.Backends.ImageDescription
srcRect Xwt
destRect Xwt
return void

DrawImage() public method

public DrawImage ( object backend, ImageDescription img, double x, double y ) : void
backend object
img Xwt.Backends.ImageDescription
x double
y double
return void

DrawTextLayout() public method

public DrawTextLayout ( object backend, TextLayout layout, double x, double y ) : void
backend object
layout TextLayout
x double
y double
return void

Fill() public method

public Fill ( object backend ) : void
backend object
return void

FillPreserve() public method

public FillPreserve ( object backend ) : void
backend object
return void

GetCTM() public method

public GetCTM ( object backend ) : Matrix
backend object
return Matrix

GetScaleFactor() public method

public GetScaleFactor ( object backend ) : double
backend object
return double

IsPointInFill() public method

public IsPointInFill ( object backend, double x, double y ) : bool
backend object
x double
y double
return bool

IsPointInStroke() public method

public IsPointInStroke ( object backend, double x, double y ) : bool
backend object
x double
y double
return bool

LineTo() public method

public LineTo ( object backend, double x, double y ) : void
backend object
x double
y double
return void

ModifyCTM() public method

public ModifyCTM ( object backend, Matrix t ) : void
backend object
t Matrix
return void

MoveTo() public method

public MoveTo ( object backend, double x, double y ) : void
backend object
x double
y double
return void

NewPath() public method

public NewPath ( object backend ) : void
backend object
return void

Rectangle() public method

public Rectangle ( object backend, double x, double y, double width, double height ) : void
backend object
x double
y double
width double
height double
return void

RelCurveTo() public method

public RelCurveTo ( object backend, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3 ) : void
backend object
dx1 double
dy1 double
dx2 double
dy2 double
dx3 double
dy3 double
return void

RelLineTo() public method

public RelLineTo ( object backend, double dx, double dy ) : void
backend object
dx double
dy double
return void

RelMoveTo() public method

public RelMoveTo ( object backend, double dx, double dy ) : void
backend object
dx double
dy double
return void

Restore() public method

public Restore ( object backend ) : void
backend object
return void

Rotate() public method

public Rotate ( object backend, double angle ) : void
backend object
angle double
return void

Save() public method

public Save ( object backend ) : void
backend object
return void

Scale() public method

public Scale ( object backend, double scaleX, double scaleY ) : void
backend object
scaleX double
scaleY double
return void

SetColor() public method

public SetColor ( object backend, Color color ) : void
backend object
color Color
return void

SetGlobalAlpha() public method

public SetGlobalAlpha ( object backend, double globalAlpha ) : void
backend object
globalAlpha double
return void

SetLineDash() public method

public SetLineDash ( object backend, double offset ) : void
backend object
offset double
return void

SetLineWidth() public method

public SetLineWidth ( object backend, double width ) : void
backend object
width double
return void

SetPattern() public method

public SetPattern ( object backend, object p ) : void
backend object
p object
return void

SetStyles() public method

public SetStyles ( object backend, StyleSet styles ) : void
backend object
styles StyleSet
return void

Stroke() public method

public Stroke ( object backend ) : void
backend object
return void

StrokePreserve() public method

public StrokePreserve ( object backend ) : void
backend object
return void

Translate() public method

public Translate ( object backend, double tx, double ty ) : void
backend object
tx double
ty double
return void

VectorImageRecorderContextHandler() public method

public VectorImageRecorderContextHandler ( Toolkit toolkit ) : System
toolkit Toolkit
return System