OEPlotMarker

class OEPlotMarker

This class represents the OEPlotMarker class that encapsulates properties that determine how a plot is depicted.

See also

Constructors

OEPlotMarker(const OEDepict::OEPen &pen,
             unsigned int style=OEPlotMarkerStyle::Circle, double scale=1.0)

Creates and initializes an OEPlotMarker object with the given parameters.

pen

The OEPen object that is used to draw the plot marker.

style

The property that determine the style of the plot marker. This value has to be from the OEPlotMarkerStyle namespace.

scale

The multiplier that can be used to increase or to decrease the size of the plot market. This value has to be in the range of [0.25, 4.0].

OEPlotMarker(const OEPlotMarker &rhs)

Copy constructor.

operator=

OEPlotMarker &operator=(const OEPlotMarker &rhs)

Assignment operator.

operator!=

bool operator!=(const OEPlotMarker &) const

Determines whether two OEPlotMarker objects are different. Two OEPlotMarker objects are considered different, if any of their properties (such as pen, style or scale) are different.

operator==

bool operator==(const OEPlotMarker &) const

Determines whether two OEPlotMarker objects are equal. Two OEPlotMarker objects are considered equivalent only if all of their properties (such as pen, style or scale) are identical.

GetPen

const OEDepict::OEPen &GetPen() const

Returns the pen of the plot marker.

See also

GetScale

double GetScale() const

Returns the multiplier that is used to increase or to decrease size of the plot marker.

GetStyle

unsigned int GetStyle() const

Returns the style of the plot marker. The return value is taken from the OEPlotMarkerStyle namespace.

See also