
Public Member Functions | |
| GeneratedImage (Generator *generator, const IntSize &size) | |
| GeneratedImage constructor. | |
| virtual | ~GeneratedImage () |
| GeneratedImage destructor. | |
| virtual void | setContainerSize (const IntSize &size) |
| set the container size, these are only used for SVGGeneratedImage right now | |
| virtual bool | usesContainerSize () const |
| test if the GeneratedImage uses ContainerSize | |
| virtual bool | hasRelativeWidth () const |
| test if the GeneratedImage has relative width | |
| virtual bool | hasRelativeHeight () const |
| test if the GeneratedImage has relative height | |
| virtual IntSize | size () const |
| get GeneratedImage size | |
Protected Member Functions | |
| virtual void | draw (GraphicsContext *, const FloatRect &dstRect, const FloatRect &srcRect, CompositeOperator) |
| draw | |
| virtual void | drawPattern (GraphicsContext *, const FloatRect &srcRect, const AffineTransform &patternTransform, const FloatPoint &phase, CompositeOperator, const FloatRect &destRect) |
| drawPattern | |
Protected Attributes | |
| OwnPtr< Generator > | m_generator |
| IntSize | m_size |
GeneratedImage constructor.
| [in] | : | generator |
| [in] | : | size GeneratedImage *gi = new GeneratedImage(g, s); |
| virtual WKAL::GeneratedImage::~GeneratedImage | ( | ) | [virtual] |
| virtual void WKAL::GeneratedImage::setContainerSize | ( | const IntSize & | size | ) | [virtual] |
set the container size, these are only used for SVGGeneratedImage right now
| [in] | : | size gi->setContainerSize(s); |
Reimplemented from WKAL::Image.
| virtual bool WKAL::GeneratedImage::usesContainerSize | ( | ) | const [virtual] |
test if the GeneratedImage uses ContainerSize
| [out] | : | true if the GeneratedImage uses ContainerSize bool u = gi->usesContainerSize();
|
Reimplemented from WKAL::Image.
| virtual bool WKAL::GeneratedImage::hasRelativeWidth | ( | ) | const [virtual] |
test if the GeneratedImage has relative width
| [out] | : | true if the GeneratedImage has relative width bool rw = gi->hasRelativeWidth();
|
Reimplemented from WKAL::Image.
| virtual bool WKAL::GeneratedImage::hasRelativeHeight | ( | ) | const [virtual] |
test if the GeneratedImage has relative height
| [out] | : | true if the GeneratedImage has relative height bool rh = gi->hasRelativeHeight();
|
Reimplemented from WKAL::Image.
| virtual IntSize WKAL::GeneratedImage::size | ( | ) | const [virtual] |
| virtual void WKAL::GeneratedImage::draw | ( | GraphicsContext * | , | |
| const FloatRect & | dstRect, | |||
| const FloatRect & | srcRect, | |||
| CompositeOperator | ||||
| ) | [protected, virtual] |
draw
| [in] | : | graphics context |
| [in] | : | destination rect |
| [in] | : | source rect |
| [in] | : | composite operator draw(gc, dest, src, op); |
Implements WKAL::Image.
| virtual void WKAL::GeneratedImage::drawPattern | ( | GraphicsContext * | , | |
| const FloatRect & | srcRect, | |||
| const AffineTransform & | patternTransform, | |||
| const FloatPoint & | phase, | |||
| CompositeOperator | , | |||
| const FloatRect & | destRect | |||
| ) | [protected, virtual] |
drawPattern
| [in] | : | graphics context |
| [in] | : | source rect |
| [in] | : | matrix transformation |
| [in] | : | phase |
| [in] | : | composite operator |
| [in] | : | destination rect drawPattern(gc, src, af, ph, op, dest); |
Reimplemented from WKAL::Image.
OwnPtr<Generator> WKAL::GeneratedImage::m_generator [protected] |
IntSize WKAL::GeneratedImage::m_size [protected] |