Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::ShadowFill Class Reference

#include <ShadowFill.h>

Inheritance diagram for VCF::ShadowFill:

VCF::Object VCF::Fill VCF::Interface List of all members.

Public Member Functions

 ShadowFill ()
virtual ~ShadowFill ()
virtual void setContext (GraphicsContext *context)
 sets the context for the fill.
virtual void render (Path *path)
 renders the fill using the current path.
void setAlpha (const double &val)
double getAlpha () const
Color getColor () const
void setColor (const Color &c)
int getRadius () const
void setRadius (int val)

Protected Attributes

double alpha_
GraphicsContextcontext_
Color color_
int radius_

Constructor & Destructor Documentation

VCF::ShadowFill::ShadowFill  )  [inline]
 

virtual VCF::ShadowFill::~ShadowFill  )  [inline, virtual]
 


Member Function Documentation

double VCF::ShadowFill::getAlpha  )  const [inline]
 

Color VCF::ShadowFill::getColor  )  const [inline]
 

int VCF::ShadowFill::getRadius  )  const [inline]
 

virtual void VCF::ShadowFill::render Path path  )  [inline, virtual]
 

renders the fill using the current path.

The fill can retrieve the points for the path by calling either Path::getPoints() or Path::flattenPoints().

Implements VCF::Fill.

void VCF::ShadowFill::setAlpha const double &  val  )  [inline]
 

void VCF::ShadowFill::setColor const Color c  )  [inline]
 

virtual void VCF::ShadowFill::setContext GraphicsContext context  )  [inline, virtual]
 

sets the context for the fill.

The GraphicsContext will call this when the GraphicsContext::setCurrrentFill() method is called.

Implements VCF::Fill.

void VCF::ShadowFill::setRadius int  val  )  [inline]
 


Member Data Documentation

double VCF::ShadowFill::alpha_ [protected]
 

Color VCF::ShadowFill::color_ [protected]
 

GraphicsContext* VCF::ShadowFill::context_ [protected]
 

int VCF::ShadowFill::radius_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information