22 #ifndef GRAPHICS_SPRITE_3DS_H 23 #define GRAPHICS_SPRITE_3DS_H 25 #define FORBIDDEN_SYMBOL_EXCEPTION_time_h 27 #include "graphics/surface.h" 44 void create(uint16 width, uint16 height,
const GfxMode3DS *mode);
49 void clear(uint32 color = 0);
50 void markDirty(){ dirtyPixels =
true; }
52 void setPosition(
int x,
int y);
53 void setOffset(uint16 x, uint16 y);
54 void setScale(
float x,
float y);
55 float getScaleX()
const {
return scaleX; }
56 float getScaleY()
const {
return scaleY; }
57 int getPosX()
const {
return posX; }
58 int getPosY()
const {
return posY; }
61 void setFilteringMode(
bool enableLinearFiltering);
67 uint32 textureTransferFlags;