Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

HorizontalRuler Class Reference

Class to draw the horizontal ruler above the display map. More...

#include <hruler.h>


Public Member Functions

 HorizontalRuler (int x, int y, int imageW, int imageH)
void update (int x, int y, float map_scale_factor, int current_Y, float UNIT)
void drawit (void)

Private Attributes

int _x
int _y
float _map_scale_factor
float _GLOBAL_UNIT
float _startx
int w
int h
char text [20]


Detailed Description

Class to draw the horizontal ruler above the display map.

Note:
class used to just use update to do main processing--can now be moved back that way as test did not work


Constructor & Destructor Documentation

HorizontalRuler int  x,
int  y,
int  imageW,
int  imageH
 


Member Function Documentation

void drawit void   ) 
 

void update int  x,
int  y,
float  map_scale_factor,
int  current_Y,
float  UNIT
 


Field Documentation

float _GLOBAL_UNIT [private]
 

float _map_scale_factor [private]
 

float _startx [private]
 

int _x [private]
 

int _y [private]
 

int h [private]
 

char text[20] [private]
 

int w [private]
 


Generated on Mon Oct 8 19:32:25 2007 for OOMRM Mapping API by doxygen1.3