Refactor Rendering of Objects (prepare for CPU rendering)
[ipdf/code.git] / src / screen.h
index f66c7aa..f2a98c2 100644 (file)
@@ -59,6 +59,7 @@ namespace IPDF
 
                void ScreenShot(const char * filename) const;
                void RenderBMP(const char * filename) const;
+               void RenderPixels(int x, int y, int w, int h, void * pixels) const;
 
                // Returns the CPU time (in seconds) it took to render the last completed frame.
                double GetLastFrameTimeCPU() const { return m_last_frame_time / SDL_GetPerformanceFrequency(); }

UCC git Repository :: git.ucc.asn.au