Wt::WPainter::Image Class Reference

An image that can be rendered on a WPainter. More...

List of all members.

Public Member Functions

 Image (const std::string &uri, int width, int height)
 Create an image.
std::string uri () const
 Returns the uri.
int width () const
 Returns the image width.
int height () const
 Returns the image height.


Detailed Description

An image that can be rendered on a WPainter.

The image is specified in terms of a URL, and the width and height.

See also:
drawImage()

Constructor & Destructor Documentation

Wt::WPainter::Image::Image ( const std::string &  uri,
int  width,
int  height 
)

Create an image.

Create an image which is located at the uri, and which has dimensions width x height.


Generated on Mon Nov 3 15:01:01 2008 for Wt by doxygen 1.5.6