]> git.localhorst.tv Git - gworm.git/blobdiff - src/graphics/Canvas.h
added texture support
[gworm.git] / src / graphics / Canvas.h
index b464dd66a50a29a5952ec67160a573aba7a7bb14..16d565d2a1dec3d3499f7d03a1fe1a05f0227669 100644 (file)
@@ -2,6 +2,7 @@
 #define GWORM_CANVAS_H_
 
 #include "Color.h"
+#include "Texture.h"
 #include "Vector.h"
 
 #include <SDL.h>
@@ -27,6 +28,10 @@ public:
 
        void Present();
 
+       Texture CreateStaticTexture(Vector<int> size);
+
+       void Copy(Texture &, Vector<int> to);
+
        void SetColor(Color);
 
        void Fill();