View

Undocumented in source.

Constructors

this
this(Vec2f newRenderSize)
Undocumented in source.
this
this(Vec2u newRenderSize)
Undocumented in source.
this
this(View view)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
View copy(View v)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Vec2f renderPosition)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Vec2f renderPosition, Vec2f scale)
Undocumented in source. Be warned that the author may not have intended to support it.
isInside
bool isInside(Vec2f pos, Vec2f renderPosition)
Undocumented in source. Be warned that the author may not have intended to support it.
setColorMod
void setColorMod(Color color, Blend blend)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

renderSize
Vec2u renderSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
renderSize
Vec2u renderSize [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
target
const(SDL_Texture*) target [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

clearColor
Color clearColor;
Undocumented in source.
isCentered
bool isCentered;
Undocumented in source.
position
Vec2f position;
size
Vec2f size;
Undocumented in source.

Meta