C# Class Engine.Objects.HWSurfaceInstance

Inheritance: Jurassic.Library.ObjectInstance
ファイルを表示 Open project: Radnen/sphere-sfml Class Usage Examples

Public Methods

Method Description
HWSurfaceInstance ( ScriptEngine parent, Image image ) : System
HWSurfaceInstance ( ScriptEngine parent, Texture texture ) : System
HWSurfaceInstance ( ScriptEngine parent, int width, int height, System.Color bg_color ) : System
HWSurfaceInstance ( ScriptEngine parent, string filename ) : System
Update ( ) : void

Private Methods

Method Description
Blit ( double x, double y ) : void
BlitImage ( int x, int y, ImageInstance instance ) : void
BlitMaskSurface ( HWSurfaceInstance surf, int x, int y, ColorInstance mask ) : void
BlitSurface ( HWSurfaceInstance surf, int x, int y ) : void
Clone ( ) : HWSurfaceInstance
CloneSection ( int ox, int oy, int w, int h ) : HWSurfaceInstance
CreateImage ( ) : ImageInstance
DrawText ( FontInstance font, int x, int y, string text ) : void
FillVert ( int n, int x, int y, System.Color c ) : void
FilledCircle ( int ox, int oy, int r, ColorInstance color, [ antialias = false ) : void
FlipHorizontally ( ) : void
FlipVertically ( ) : void
GetPixel ( int x, int y ) : ColorInstance
GradientLine ( int x1, int y1, int x2, int y2, ColorInstance col1, ColorInstance col2 ) : void
GradientRectangle ( int x, int y, int w, int h, ColorInstance c1, ColorInstance c2, ColorInstance c3, ColorInstance c4 ) : void
HWSurfaceInstance ( ) : System
Init ( ) : void
Line ( int x1, int y1, int x2, int y2, ColorInstance color ) : void
LineSeries ( ArrayInstance points, ColorInstance color ) : void
OutlinedCircle ( int ox, int oy, int r, ColorInstance color, [ antialias = false ) : void
OutlinedRectangle ( int x, int y, int w, int h, ColorInstance color ) : void
PointSeries ( ArrayInstance array, ColorInstance color ) : void
Rectangle ( int x, int y, int w, int h, ColorInstance color ) : void
ReplaceColor ( ColorInstance colorA, ColorInstance colorB ) : void
Rescale ( int width, int height ) : HWSurfaceInstance
Resize ( int width, int height ) : HWSurfaceInstance
Rotate ( double radians, bool resize ) : void
RotateX ( int x, int y, double rad, int m_x, int m_y ) : int
RotateY ( int x, int y, double rad, int m_x, int m_y ) : int
Save ( string filename ) : void
SetAlpha ( int v ) : void
SetBlendMode ( int mode ) : void
SetPixel ( int x, int y, ColorInstance color ) : void
ToString ( ) : string

Method Details

HWSurfaceInstance() public method

public HWSurfaceInstance ( ScriptEngine parent, Image image ) : System
parent ScriptEngine
image Image
return System

HWSurfaceInstance() public method

public HWSurfaceInstance ( ScriptEngine parent, Texture texture ) : System
parent ScriptEngine
texture SFML.Graphics.Texture
return System

HWSurfaceInstance() public method

public HWSurfaceInstance ( ScriptEngine parent, int width, int height, System.Color bg_color ) : System
parent ScriptEngine
width int
height int
bg_color System.Color
return System

HWSurfaceInstance() public method

public HWSurfaceInstance ( ScriptEngine parent, string filename ) : System
parent ScriptEngine
filename string
return System

Update() public method

public Update ( ) : void
return void