Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This rendering style stores style parameters to render areas. More...
#include <ilviews/maps/rendering/areardrstyle.h>
Public Member Functions | |
IlvMapAreaRenderingStyle (IlvDisplay *display) | |
Initializes an instance of the rendering style. More... | |
IlvMapAreaRenderingStyle (const IlvMapAreaRenderingStyle &source) | |
Creates a IlvMapAreaRenderingStyle by copying an existing one. More... | |
IlvColor * | getFillBackground () const |
Returns the background fill color. More... | |
IlvColor * | getFillColor () const |
Returns the fill color. More... | |
IlvPattern * | getFillPattern () const |
Returns the fill pattern. More... | |
IlvMapLineRenderingStyle * | getLineRenderingStyle () const |
Returns the line rendering style used to draw the stroke of the graphic objects. More... | |
IlvPalette * | getPalette () const |
Returns the palette used to fill the graphic objects. More... | |
IlBoolean | isDrawingStroke () const |
Checks if generated objects will draw their stroke. More... | |
IlBoolean | isFillingObject () const |
Returns IlTrue if the generated objects are filled. More... | |
void | setDrawingStroke (IlBoolean drawStroke) |
Specifies whether the generated object will draw their stroke with the stroke color. More... | |
void | setFillBackground (IlvColor *color) |
Sets the background fill color. More... | |
IlvMapsError | setFillBackground (const char *colorName) |
Sets the background fill color by specifying its name. More... | |
void | setFillColor (IlvColor *color) |
Sets the fill color. More... | |
IlvMapsError | setFillColor (const char *colorName) |
Sets the fill color. More... | |
void | setFillingObject (IlBoolean fillObject) |
Specifies whether the generated objects must be filled with the fill pattern (if specified) or with the fill color. More... | |
void | setFillPattern (IlvPattern *pattern) |
Sets the fill pattern. More... | |
IlvMapsError | setFillPattern (const char *fileName) |
Sets the fill pattern. More... | |
void | setLineRenderingStyle (IlvMapLineRenderingStyle *lineRenderingStyle) |
Sets the rendering style used to draw the stroke of the graphic objects. More... | |
void | setPalette (IlvPalette *palette) |
Sets the palette used to fill the graphic objects. More... | |
Public Member Functions inherited from IlvMapRenderingStyle | |
virtual IlvMapRenderingStyle * | copy () const =0 |
Copies the object. More... | |
IlvDisplay * | getDisplay () const |
Returns the display that is used to create the graphic settings. More... | |
void | lock () |
Locks the object and prevents it from being deleted. More... | |
void | save (IlvOutputFile &file) const |
Saves the object to an IlvOutputFile . More... | |
void | unLock () |
Unlocks the object. More... | |
Protected Member Functions | |
virtual | ~IlvMapAreaRenderingStyle () |
The destructor of this class is protected, because instances of IlvMapRenderingStyle are potentially shared by several objects. More... | |
Protected Member Functions inherited from IlvMapRenderingStyle | |
IlvMapRenderingStyle (IlvDisplay *display) | |
The constructor of this abstract class is protected. More... | |
IlvMapRenderingStyle (const IlvMapRenderingStyle &source) | |
Creates a renderer by copying an existing one. More... | |
virtual | ~IlvMapRenderingStyle () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlvMapRenderingStyle | |
static IlvMapRenderingStyle * | Load (IlvInputFile &file) |
Loads a rendering style from an IlvInputFile . More... | |
This rendering style stores style parameters to render areas.
Library: ilvmaps
|
protectedvirtual |
The destructor of this class is protected, because instances of IlvMapRenderingStyle
are potentially shared by several objects.
IlvMapAreaRenderingStyle::IlvMapAreaRenderingStyle | ( | IlvDisplay * | display | ) |
Initializes an instance of the rendering style.
display | The display used to create the graphic objects. |
IlvMapAreaRenderingStyle::IlvMapAreaRenderingStyle | ( | const IlvMapAreaRenderingStyle & | source | ) |
Creates a IlvMapAreaRenderingStyle
by copying an existing one.
source | The object to be copied. |
IlvColor* IlvMapAreaRenderingStyle::getFillBackground | ( | ) | const |
Returns the background fill color.
Returns a null pointer if no color is specified (in this case, the default display background color is used), or an IlvColor
that should not be modified, because it can potentially be shared by other objects. However, it is possible to lock it if another object has to use it.
IlvColor
used as a background. IlvColor* IlvMapAreaRenderingStyle::getFillColor | ( | ) | const |
Returns the fill color.
IlvColor
that should not be modified, because it can potentially be shared by other objects. However, it is possible to lock it if another object has to use it. IlvColor
object used as fill color. IlvPattern* IlvMapAreaRenderingStyle::getFillPattern | ( | ) | const |
Returns the fill pattern.
IlvPattern
that should not be modified, because it can potentially be shared with other objects. However, it is possible to lock it if an other object has to use it. IlvMapLineRenderingStyle* IlvMapAreaRenderingStyle::getLineRenderingStyle | ( | ) | const |
Returns the line rendering style used to draw the stroke of the graphic objects.
IlvPalette* IlvMapAreaRenderingStyle::getPalette | ( | ) | const |
Returns the palette used to fill the graphic objects.
IlvPalette
that should not be modified, because it can potentially be shared by other objects. However, it is possible to lock it if an other object has to use it. IlBoolean IlvMapAreaRenderingStyle::isDrawingStroke | ( | ) | const |
Checks if generated objects will draw their stroke.
IlTrue
if the objects draw their stroke. IlBoolean IlvMapAreaRenderingStyle::isFillingObject | ( | ) | const |
Returns IlTrue
if the generated objects are filled.
IlTrue
if the generated objects are filled. void IlvMapAreaRenderingStyle::setDrawingStroke | ( | IlBoolean | drawStroke | ) |
Specifies whether the generated object will draw their stroke with the stroke color.
drawStroke | If IlTrue , the generated objects will draw their stroke. |
void IlvMapAreaRenderingStyle::setFillBackground | ( | IlvColor * | color | ) |
Sets the background fill color.
This background color may be used by some patterns.
setPalette()
. color | The color. |
IlvMapsError IlvMapAreaRenderingStyle::setFillBackground | ( | const char * | colorName | ) |
Sets the background fill color by specifying its name.
This background color may be used by some patterns.
setPalette()
. colorName | The color name. |
IlvMapsError::NoError()
or IlvMaps::IllegalArgument()
if the color name cannot be translated into a color. void IlvMapAreaRenderingStyle::setFillColor | ( | IlvColor * | color | ) |
Sets the fill color.
setPalette()
. color | The color. |
IlvMapsError IlvMapAreaRenderingStyle::setFillColor | ( | const char * | colorName | ) |
Sets the fill color.
setPalette()
. colorName | The color name. |
IlvMapsError::NoError()
or IlvMaps::IllegalArgument()
if the color name cannot be translated into a color. void IlvMapAreaRenderingStyle::setFillingObject | ( | IlBoolean | fillObject | ) |
Specifies whether the generated objects must be filled with the fill pattern (if specified) or with the fill color.
fillObject | If IlTrue , the generated object will be filled. |
void IlvMapAreaRenderingStyle::setFillPattern | ( | IlvPattern * | pattern | ) |
Sets the fill pattern.
setPalette()
. pattern | The pattern used to fill the polygons. |
IlvMapsError IlvMapAreaRenderingStyle::setFillPattern | ( | const char * | fileName | ) |
Sets the fill pattern.
setPalette()
. fileName | The name of the file containing an image that will be used as a fill pattern. |
IlvMapsError::NoError()
or IlvMaps::IllegalArgument()
if the line file cannot be used to create a pattern. void IlvMapAreaRenderingStyle::setLineRenderingStyle | ( | IlvMapLineRenderingStyle * | lineRenderingStyle | ) |
Sets the rendering style used to draw the stroke of the graphic objects.
lineRenderingStyle | An IlvMapLineRenderingStyle that can be shared by other objects. |
void IlvMapAreaRenderingStyle::setPalette | ( | IlvPalette * | palette | ) |
Sets the palette used to fill the graphic objects.
palette | The palette. |
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.