tbx  0.7.6
Public Member Functions | List of all members
tbx::Image Class Referenceabstract

Base class image classes providing a consistent interface to plot the to the screen. More...

#include <image.h>

Inheritance diagram for tbx::Image:
tbx::DrawFile tbx::JPEG tbx::Sprite tbx::UserSprite tbx::WimpSprite

Public Member Functions

virtual void plot (int x, int y) const =0
 Plot the image to the screen. More...
 
virtual void plot (const tbx::Point &pt) const
 Plot the image to the screen. More...
 

Detailed Description

Base class image classes providing a consistent interface to plot the to the screen.

Member Function Documentation

◆ plot() [1/2]

virtual void tbx::Image::plot ( const tbx::Point pt) const
inlinevirtual

Plot the image to the screen.

By default this method just calls Image::plot(x,y)

Parameters
ptlocation to plot in os units.

Reimplemented in tbx::DrawFile, tbx::Sprite, and tbx::JPEG.

◆ plot() [2/2]

virtual void tbx::Image::plot ( int  x,
int  y 
) const
pure virtual

Plot the image to the screen.

Parameters
xx coordinate in os units
yy coordinate in os units

Implemented in tbx::Sprite, tbx::JPEG, and tbx::DrawFile.


The documentation for this class was generated from the following file: