60 virtual bool Blit_From(
Rect const & dcliprect,
Rect const & destrect,
Surface const & source,
Rect const & scliprect,
Rect const & sourcerect,
bool trans=
false);
69 virtual bool Fill(
int color);
Surface(int width, int height)
virtual bool Draw_Rect(Rect const &rect, int color)
virtual bool Draw_Line(Point2D const &startpoint, Point2D const &endpoint, int color)
virtual int Bytes_Per_Pixel(void) const =0
XSurface(int width=0, int height=0)
static bool Blit_Plain(Surface &dest, Rect const &destrect, Surface const &source, Rect const &sourcerect)
virtual bool Is_Locked(void) const
virtual int Stride(void) const =0
virtual bool Unlock(void) const
virtual bool Blit_From(Rect const &dcliprect, Rect const &destrect, Surface const &source, Rect const &scliprect, Rect const &sourcerect, bool trans=false)
virtual void * Lock(Point2D=Point2D(0, 0)) const
virtual int Get_Pixel(Point2D const &point) const
static bool Blit_Trans(Surface &dest, Rect const &destrect, Surface const &source, Rect const &sourcerect)
virtual bool Put_Pixel(Point2D const &point, int color)
virtual bool Fill(int color)
static bool Prep_For_Blit(Surface &dest, Rect &drect, Surface const &source, Rect &srect, bool &overlapped, void *&dbuffer, void *&sbuffer)
virtual bool Is_Direct_Draw(void) const
virtual bool Fill_Rect(Rect const &rect, int color)
bool Blit_Clip(Rect &drect, Rect const &dwindow, Rect &srect, Rect const &swindow)