NPlot::MarkerItem Class Reference

Class for placement of a single marker. More...

Inheritance diagram for NPlot::MarkerItem:

NPlot::IDrawable List of all members.

Public Member Functions

 MarkerItem (PointD point)
 Constructs a square marker at the (world) point point.
 MarkerItem (double x, double y)
 Default constructor - a square black marker.
 MarkerItem (Marker marker, double x, double y)
 Constructor.
 MarkerItem (Marker marker, PointD point)
 Constructor.
void Draw (System.Drawing.Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis)
 Draws the marker on a plot surface.

Private Attributes

Marker marker_
double x_
double y_

Detailed Description

Class for placement of a single marker.

Definition at line 61 of file MarkerItem.cs.


Constructor & Destructor Documentation

NPlot::MarkerItem::MarkerItem PointD  point  )  [inline]
 

Constructs a square marker at the (world) point point.

Parameters:
point the world position at which to place the marker

Definition at line 73 of file MarkerItem.cs.

References marker_, NPlot::PointD::X, x_, NPlot::PointD::Y, and y_.

NPlot::MarkerItem::MarkerItem double  x,
double  y
[inline]
 

Default constructor - a square black marker.

Parameters:
x The world x position of the marker
y The world y position of the marker

Definition at line 86 of file MarkerItem.cs.

References marker_, x_, and y_.

NPlot::MarkerItem::MarkerItem Marker  marker,
double  x,
double  y
[inline]
 

Constructor.

Parameters:
marker The marker to place on the chart.
x The world x position of the marker
y The world y position of the marker

Definition at line 100 of file MarkerItem.cs.

References marker_, x_, and y_.

NPlot::MarkerItem::MarkerItem Marker  marker,
PointD  point
[inline]
 

Constructor.

Parameters:
marker The marker to place on the chart.
point The world position of the marker

Definition at line 112 of file MarkerItem.cs.

References marker_, NPlot::PointD::X, x_, NPlot::PointD::Y, and y_.


Member Function Documentation

void NPlot::MarkerItem::Draw System.Drawing.Graphics  g,
PhysicalAxis  xAxis,
PhysicalAxis  yAxis
[inline]
 

Draws the marker on a plot surface.

Parameters:
g graphics surface on which to draw
xAxis The X-Axis to draw against.
yAxis The Y-Axis to draw against.

Definition at line 125 of file MarkerItem.cs.

References NPlot::Marker::Draw(), marker_, NPlot::PhysicalAxis::WorldToPhysical(), x_, and y_.


Member Data Documentation

Marker NPlot::MarkerItem::marker_ [private]
 

Definition at line 64 of file MarkerItem.cs.

Referenced by Draw(), and MarkerItem().

double NPlot::MarkerItem::x_ [private]
 

Definition at line 65 of file MarkerItem.cs.

Referenced by Draw(), and MarkerItem().

double NPlot::MarkerItem::y_ [private]
 

Definition at line 66 of file MarkerItem.cs.

Referenced by Draw(), and MarkerItem().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 01:04:08 2005 for NPlot by  doxygen 1.4.5