pleyo.com

WKAL::GeneratedImage Class Reference

Inheritance diagram for WKAL::GeneratedImage:

WKAL::Image Noncopyable

List of all members.

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< Generatorm_generator
IntSize m_size


Constructor & Destructor Documentation

WKAL::GeneratedImage::GeneratedImage ( Generator generator,
const IntSize size 
)

GeneratedImage constructor.

Parameters:
[in] : generator
[in] : size
 GeneratedImage *gi = new GeneratedImage(g, s);

virtual WKAL::GeneratedImage::~GeneratedImage (  )  [virtual]

GeneratedImage destructor.

 delete gi;


Member Function Documentation

virtual void WKAL::GeneratedImage::setContainerSize ( const IntSize size  )  [virtual]

set the container size, these are only used for SVGGeneratedImage right now

Parameters:
[in] : size
 gi->setContainerSize(s);

Reimplemented from WKAL::Image.

virtual bool WKAL::GeneratedImage::usesContainerSize (  )  const [virtual]

test if the GeneratedImage uses ContainerSize

Parameters:
[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

Parameters:
[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

Parameters:
[out] : true if the GeneratedImage has relative height
 bool rh = gi->hasRelativeHeight();

Reimplemented from WKAL::Image.

virtual IntSize WKAL::GeneratedImage::size (  )  const [virtual]

get GeneratedImage size

Parameters:
[out] : size
 IntSize s = gi->size();

Implements WKAL::Image.

virtual void WKAL::GeneratedImage::draw ( GraphicsContext ,
const FloatRect dstRect,
const FloatRect srcRect,
CompositeOperator   
) [protected, virtual]

draw

Parameters:
[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

Parameters:
[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.


Member Data Documentation


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

Generated on Mon Jun 30 16:22:08 2008 for Origyn Web Browser by Doxygen 1.5.5

pleyo.com
pleyo.com