Wt
4.10.4
|
An image that can be rendered on a WPainter. More...
#include <WPainter.h>
Public Member Functions | |
Image (const std::string &url, int width, int height) | |
Creates an image. | |
Image (const std::string &url, const std::string &file) | |
Creates an image. | |
std::string | uri () const |
Returns the url. | |
int | width () const |
Returns the image width. | |
int | height () const |
Returns the image height. | |
An image that can be rendered on a WPainter.
The image is specified in terms of a URL, and the width and height.
Creates an image.
Create an image which is located at the uri, and which has dimensions width x height.