Ruler Class Reference

Inheritance diagram for Ruler:

Widget HRuler VRuler List of all members.

Detailed Description

Base class for horizontal or vertical rulers.


Public Member Functions

void setMetric (MetricType metric)
 Sets the metric type.
void setRange (gdouble lower, gdouble upper, gdouble position, gdouble maxSize)
 Sets the range values.
MetricType getMetric ()
 Gets the metric type @ return the metric type.
void getRange (gdouble *lower, gdouble *upper, gdouble *position, gdouble *maxSize)
 Gets the range values.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

MetricType Ruler.getMetric  ) 
 

Gets the metric type @ return the metric type.

void Ruler.getRange gdouble *  lower,
gdouble *  upper,
gdouble *  position,
gdouble *  maxSize
 

Gets the range values.

Parameters:
lower 
upper 
position 
maxSize 

GType Ruler.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Widget.

Reimplemented in HRuler, and VRuler.

void Ruler.setMetric MetricType  metric  ) 
 

Sets the metric type.

Parameters:
metric the metric type

void Ruler.setRange gdouble  lower,
gdouble  upper,
gdouble  position,
gdouble  maxSize
 

Sets the range values.

Parameters:
lower 
upper 
position 
maxSize 


SourceForge.net Logo DSource.org Logo digitalmars.com Logo