C# Class PGMEBackend.Surface

Show file Open project: Diegoisawesome/AwesomeMapEditor-old

Public Properties

Property Type Description
ActiveTexture Texture2D
EnableQuadWireframe bool

Public Methods

Method Description
DrawLine ( ) : void
DrawOutlineRect ( double x, double y, double w, double h ) : void
DrawOutlineRect ( double x, double y, double w, double h, Color col ) : void
DrawQuad ( double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
DrawRect ( double x, double y, double w, double h ) : void
DrawRect ( double x, double y, double w, double h, Color col ) : void
DrawRect ( double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
DrawTexturedRect ( Texture2D texture, double x, double y, double w, double h ) : void
DrawTexturedRect ( Texture2D texture, double x, double y, double w, double h, Color col ) : void
DrawTexturedRectRotated ( Texture2D texture, System.Vector2 position, System.Vector2 scale ) : void
DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h ) : void
DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, Color col ) : void
DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, double rot ) : void
DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, double rot, Color col ) : void
DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, double rot, Color col, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
DrawTexturedRectUV ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
DrawTexturedRectUV ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly, Color col ) : void
DrawTexturedRectUVRotated ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
DrawTexturedRectUVRotated ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly, Color col ) : void
SetColor ( Color col ) : void
SetColor ( double r, double g, double b ) : void
SetColor ( double r, double g, double b, double a ) : void
SetTexture ( ) : void
SetTexture ( Texture2D tex ) : void

Method Details

DrawLine() public static method

public static DrawLine ( ) : void
return void

DrawOutlineRect() public static method

public static DrawOutlineRect ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

DrawOutlineRect() public static method

public static DrawOutlineRect ( double x, double y, double w, double h, Color col ) : void
x double
y double
w double
h double
col Color
return void

DrawQuad() public static method

public static DrawQuad ( double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
return void

DrawRect() public static method

public static DrawRect ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

DrawRect() public static method

public static DrawRect ( double x, double y, double w, double h, Color col ) : void
x double
y double
w double
h double
col Color
return void

DrawRect() public static method

public static DrawRect ( double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
x double
y double
w double
h double
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
return void

DrawTexturedRect() public static method

public static DrawTexturedRect ( Texture2D texture, double x, double y, double w, double h ) : void
texture Texture2D
x double
y double
w double
h double
return void

DrawTexturedRect() public static method

public static DrawTexturedRect ( Texture2D texture, double x, double y, double w, double h, Color col ) : void
texture Texture2D
x double
y double
w double
h double
col Color
return void

DrawTexturedRectRotated() public static method

public static DrawTexturedRectRotated ( Texture2D texture, System.Vector2 position, System.Vector2 scale ) : void
texture Texture2D
position System.Vector2
scale System.Vector2
return void

DrawTexturedRectRotated() public static method

public static DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h ) : void
texture Texture2D
x double
y double
w double
h double
return void

DrawTexturedRectRotated() public static method

public static DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, Color col ) : void
texture Texture2D
x double
y double
w double
h double
col Color
return void

DrawTexturedRectRotated() public static method

public static DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, double rot ) : void
texture Texture2D
x double
y double
w double
h double
rot double
return void

DrawTexturedRectRotated() public static method

public static DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, double rot, Color col ) : void
texture Texture2D
x double
y double
w double
h double
rot double
col Color
return void

DrawTexturedRectRotated() public static method

public static DrawTexturedRectRotated ( Texture2D texture, double x, double y, double w, double h, double rot, Color col, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
texture Texture2D
x double
y double
w double
h double
rot double
col Color
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
return void

DrawTexturedRectUV() public static method

public static DrawTexturedRectUV ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
texture Texture2D
x double
y double
w double
h double
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
return void

DrawTexturedRectUV() public static method

public static DrawTexturedRectUV ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly, Color col ) : void
texture Texture2D
x double
y double
w double
h double
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
col Color
return void

DrawTexturedRectUVRotated() public static method

public static DrawTexturedRectUVRotated ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly ) : void
texture Texture2D
x double
y double
w double
h double
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
return void

DrawTexturedRectUVRotated() public static method

public static DrawTexturedRectUVRotated ( Texture2D texture, double x, double y, double w, double h, double blx, double bly, double brx, double bry, double trx, double trY, double tlx, double tly, Color col ) : void
texture Texture2D
x double
y double
w double
h double
blx double
bly double
brx double
bry double
trx double
trY double
tlx double
tly double
col Color
return void

SetColor() public static method

public static SetColor ( Color col ) : void
col Color
return void

SetColor() public static method

public static SetColor ( double r, double g, double b ) : void
r double
g double
b double
return void

SetColor() public static method

public static SetColor ( double r, double g, double b, double a ) : void
r double
g double
b double
a double
return void

SetTexture() public static method

public static SetTexture ( ) : void
return void

SetTexture() public static method

public static SetTexture ( Texture2D tex ) : void
tex Texture2D
return void

Property Details

ActiveTexture public static property

public static Texture2D,PGMEBackend ActiveTexture
return Texture2D

EnableQuadWireframe public static property

public static bool EnableQuadWireframe
return bool