Public Member Functions

LineBasedProxyBase Class Reference

Base class for all proxies to line-based objects. More...

Inheritance diagram for LineBasedProxyBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LineBasedProxyBase (const LineBasedProxyBase &p)
DelayedDispatch set_line_width (float width)
 Set the object's line width.
DelayedDispatch set_line_style (LineStyle style, int factor=1)
 Set the object's line style.
DelayedDispatch set_line_style (const std::string &style, int factor=1)
 Set the object's line style.

Detailed Description

Base class for all proxies to line-based objects.


Member Function Documentation

DelayedDispatch set_line_style ( LineStyle  style,
int  factor = 1 
)

Set the object's line style.

Precondition:
factor > 0
Parameters:
factor The rate at which the pattern given by style repeats itself. Large factor implies a coarser pattern.
DelayedDispatch set_line_style ( const std::string &  style,
int  factor = 1 
)

Set the object's line style.

Precondition:
factor > 0
Parameters:
style Must be "solid", "dashed", "dotted", "dash-dot" or "dash-dot-dot".
factor The rate at which the pattern given by style repeats itself. Large factor implies a coarser pattern.
Exceptions:
std::runtime_error Thrown if style does not have of the values listed above.
DelayedDispatch set_line_width ( float  width  ) 

Set the object's line width.

Precondition:
width > 0

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