Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

DrawingMedia Class Reference

#include <DrawingMetrics.h>

List of all members.

Public Member Functions

 DrawingMedia (const char *name="a4", double width=210.0, double height=297.0, const char *unit="mm")
const std::string getName ()
const std::string getUnit ()
double getWidth () const
double getHeight () const

Private Attributes

std::string _name
double _width
double _height
std::string _unit

Friends

class DrawingMetricsLoader

Classes

struct  compare


Constructor & Destructor Documentation

DrawingMedia::DrawingMedia const char *  name = "a4",
double  width = 210.0,
double  height = 297.0,
const char *  unit = "mm"
 


Member Function Documentation

double DrawingMedia::getHeight  )  const
 

const std::string DrawingMedia::getName  ) 
 

const std::string DrawingMedia::getUnit  ) 
 

double DrawingMedia::getWidth  )  const
 


Friends And Related Function Documentation

friend class DrawingMetricsLoader [friend]
 


Member Data Documentation

double DrawingMedia::_height [private]
 

std::string DrawingMedia::_name [private]
 

std::string DrawingMedia::_unit [private]
 

double DrawingMedia::_width [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 18 16:24:39 2011 for MADELINE by  doxygen 1.4.4