public virtual GLEx DrawFlip(Painter texture, float x, float y, LColor color, float rotation) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), 0, 0, texture.Width(), texture.Height(), color, rotation, null, Direction.TRANS_FLIP)); }
public virtual GLEx DrawMirror(Painter texture, float x, float y, LColor color) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), 0, 0, texture.Width(), texture.Height(), color, 0, null, Direction.TRANS_MIRROR)); }
public virtual GLEx Draw(Painter texture, float x, float y, LColor color, float rotation, Vector2f pivot) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), color, rotation, pivot)); }
public virtual GLEx DrawFlip(Painter texture, float x, float y, float w, float h) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, w, h, 0, 0, texture.Width(), texture.Height(), LColor.white, 0f, null, Direction.TRANS_FLIP)); }
public GLEx Draw(Painter texture, float x, float y, LColor color, float rotation) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), 0, 0, texture.Width(), texture.Height(), color, rotation, null, default)); }
public virtual GLEx Draw(Painter texture, float x, float y, float rotation) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), rotation)); }
public GLEx Draw(Painter texture, float x, float y, Direction dir) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), 0, 0, texture.Width(), texture.Height(), null, 0, null, dir)); }
public virtual GLEx DrawFlipScale(Painter texture, float x, float y, float w, float h, LColor color, float scaleX, float scaleY) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, w, h, 0, 0, texture.Width(), texture.Height(), color, 0, scaleX, scaleY, null, Direction.TRANS_FLIP)); }
public virtual GLEx DrawMirrorScale(Painter texture, float x, float y, float w, float h, LColor color, float scaleX, float scaleY, float rotation) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, w, h, 0, 0, texture.Width(), texture.Height(), color, rotation, scaleX, scaleY, null, Direction.TRANS_MIRROR)); }
public virtual GLEx DrawCentered(Painter texture, float x, float y) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x - texture.Width() / 2, y - texture.Height() / 2)); }
public virtual GLEx Draw(Painter texture, float x, float y, LColor color, float rotation, Vector2f origin, Direction dir) { if (isClosed) { return(this); } if (texture == null) { return(this); } return(Draw(texture, x, y, texture.Width(), texture.Height(), 0, 0, texture.Width(), texture.Height(), color, rotation, origin, dir)); }