X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCanvas.h;h=16d565d2a1dec3d3499f7d03a1fe1a05f0227669;hb=ba1cd7abc93eaacc3c25c0ad1b923b2ce7b280e2;hp=b464dd66a50a29a5952ec67160a573aba7a7bb14;hpb=e4732374394610bdd3deafd2138cbea267a670e0;p=gworm.git diff --git a/src/graphics/Canvas.h b/src/graphics/Canvas.h index b464dd6..16d565d 100644 --- a/src/graphics/Canvas.h +++ b/src/graphics/Canvas.h @@ -2,6 +2,7 @@ #define GWORM_CANVAS_H_ #include "Color.h" +#include "Texture.h" #include "Vector.h" #include @@ -27,6 +28,10 @@ public: void Present(); + Texture CreateStaticTexture(Vector size); + + void Copy(Texture &, Vector to); + void SetColor(Color); void Fill();