+
+ struct CPURenderTarget
+ {
+ uint8_t * pixels;
+ int64_t w;
+ int64_t h;
+ };
+ struct CPURenderBounds
+ {
+ int64_t x; int64_t y; int64_t w; int64_t h;
+ CPURenderBounds(const Rect & bounds, const View & view, const CPURenderTarget & target);
+ };
+
+ static void SaveBMP(const CPURenderTarget & target, const char * filename);
+
+
+ virtual void RenderUsingCPU(const Objects & objects, const View & view, const CPURenderTarget & target) = 0;