#include <Image.h>

Public Types | |
| enum | TileRule { StretchTile, RoundTile, RepeatTile } |
Public Member Functions | |
| Image (ImageObserver *=0) | |
| virtual | ~Image () |
| bool | isNull () const |
| virtual IntSize | size () const =0 |
| IntRect | rect () const |
| int | width () const |
| int | height () const |
| bool | setData (PassRefPtr< SharedBuffer > data, bool allDataReceived) |
| virtual bool | dataChanged (bool allDataReceived) |
| virtual void | destroyDecodedData (bool incremental=false) |
| virtual unsigned | decodedSize () const |
| SharedBuffer * | data () |
| virtual void | stopAnimation () |
| virtual void | resetAnimation () |
| ImageObserver * | imageObserver () const |
Static Public Member Functions | |
| static Image * | loadPlatformResource (const char *name) |
| static bool | supportsType (const String &) |
Static Protected Member Functions | |
| static void | fillWithSolidColor (GraphicsContext *ctxt, const FloatRect &dstRect, const Color &color, CompositeOperator op) |
Protected Attributes | |
| RefPtr< SharedBuffer > | m_data |
| ImageObserver * | m_imageObserver |
Friends | |
| class | GraphicsContext |
| WebCore::Image::Image | ( | ImageObserver * | observer = 0 |
) |
| WebCore::Image::~Image | ( | ) | [virtual] |
| Image * WebCore::Image::loadPlatformResource | ( | const char * | name | ) | [static] |
| bool WebCore::Image::supportsType | ( | const String & | type | ) | [static] |
| bool WebCore::Image::isNull | ( | ) | const |
| virtual IntSize WebCore::Image::size | ( | ) | const [pure virtual] |
Implemented in WebCore::BitmapImage.
| IntRect WebCore::Image::rect | ( | ) | const |
| int WebCore::Image::width | ( | ) | const |
| int WebCore::Image::height | ( | ) | const |
| bool WebCore::Image::setData | ( | PassRefPtr< SharedBuffer > | data, | |
| bool | allDataReceived | |||
| ) |
| virtual bool WebCore::Image::dataChanged | ( | bool | allDataReceived | ) | [inline, virtual] |
Reimplemented in WebCore::BitmapImage.
| virtual void WebCore::Image::destroyDecodedData | ( | bool | incremental = false |
) | [inline, virtual] |
| virtual unsigned WebCore::Image::decodedSize | ( | ) | const [inline, virtual] |
Reimplemented in WebCore::BitmapImage.
| SharedBuffer* WebCore::Image::data | ( | ) | [inline] |
| virtual void WebCore::Image::stopAnimation | ( | ) | [inline, virtual] |
Reimplemented in WebCore::BitmapImage.
| virtual void WebCore::Image::resetAnimation | ( | ) | [inline, virtual] |
Reimplemented in WebCore::BitmapImage.
| ImageObserver* WebCore::Image::imageObserver | ( | ) | const [inline] |
| void WebCore::Image::fillWithSolidColor | ( | GraphicsContext * | ctxt, | |
| const FloatRect & | dstRect, | |||
| const Color & | color, | |||
| CompositeOperator | op | |||
| ) | [static, protected] |
friend class GraphicsContext [friend] |
Reimplemented in WebCore::BitmapImage.
RefPtr<SharedBuffer> WebCore::Image::m_data [protected] |
ImageObserver* WebCore::Image::m_imageObserver [protected] |