C# Class SciterSharp.SciterGraphics

Inheritance: IDisposable
Mostra file Open project: MISoftware/SciterSharp Class Usage Examples

Public Properties

Property Type Description
_hgfx System.IntPtr

Public Methods

Method Description
BlendImage ( SciterImage img, float x, float y ) : void
Dispose ( ) : void
DrawText ( SciterText text, float px, float py, uint position ) : void
Ellipse ( float x, float y, float rx, float ry ) : void
Line ( float x1, float y1, float x2, float y2 ) : void
Polygon ( float>.IList points_xy ) : void
Polyline ( float>.IList points_xy ) : void
PopClip ( ) : void
PushClipBox ( float x1, float y1, float x2, float y2, float opacity = 1 ) : void
PushClipPath ( SciterPath path, float opacity = 1 ) : void
Rectangle ( float x1, float y1, float x2, float y2 ) : void
Rotate ( float radians, float cx, float cy ) : void
Scale ( float x, float y ) : void
SciterGraphics ( IntPtr hgfx ) : System.Drawing
Skew ( float dx, float dy ) : void
StateRestore ( ) : void
StateSave ( ) : void
Translate ( float cx, float cy ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SciterGraphics ( ) : System.Drawing
ToRGBA ( Color clr ) : uint

Method Details

BlendImage() public method

public BlendImage ( SciterImage img, float x, float y ) : void
img SciterImage
x float
y float
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

DrawText() public method

public DrawText ( SciterText text, float px, float py, uint position ) : void
text SciterText
px float
py float
position uint
return void

Ellipse() public method

public Ellipse ( float x, float y, float rx, float ry ) : void
x float
y float
rx float
ry float
return void

Line() public method

public Line ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

Polygon() public method

public Polygon ( float>.IList points_xy ) : void
points_xy float>.IList
return void

Polyline() public method

public Polyline ( float>.IList points_xy ) : void
points_xy float>.IList
return void

PopClip() public method

public PopClip ( ) : void
return void

PushClipBox() public method

public PushClipBox ( float x1, float y1, float x2, float y2, float opacity = 1 ) : void
x1 float
y1 float
x2 float
y2 float
opacity float
return void

PushClipPath() public method

public PushClipPath ( SciterPath path, float opacity = 1 ) : void
path SciterPath
opacity float
return void

Rectangle() public method

public Rectangle ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

Rotate() public method

public Rotate ( float radians, float cx, float cy ) : void
radians float
cx float
cy float
return void

Scale() public method

public Scale ( float x, float y ) : void
x float
y float
return void

SciterGraphics() public method

public SciterGraphics ( IntPtr hgfx ) : System.Drawing
hgfx System.IntPtr
return System.Drawing

Skew() public method

public Skew ( float dx, float dy ) : void
dx float
dy float
return void

StateRestore() public method

public StateRestore ( ) : void
return void

StateSave() public method

public StateSave ( ) : void
return void

Translate() public method

public Translate ( float cx, float cy ) : void
cx float
cy float
return void

Property Details

_hgfx public_oe property

public IntPtr,System _hgfx
return System.IntPtr