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

DrawingMetrics Class Reference

#include <DrawingMetrics.h>

List of all members.

Static Public Member Functions

static double getHorizontalInterval ()
static double getIconInterval ()
static double getIconDiameter ()
static double getIconRadius ()
static double getVerticalDrop1 ()
static double getVerticalDrop2 ()
static double getVerticalTick ()
static double getLineWidth ()
static std::string getLineWidthUnit ()
static double getLineHeight ()
static double getLabelMargin ()
static double getScalingFactor ()
static double getPointsToMmConversionFactor ()
static void setIconInterval (double iconInterval)
static DrawingMedia getDrawingMedia (std::string name)
static std::string getFontFamily ()
static double getFontSize ()
static double getHeaderFontSize ()
static std::string getFontSizeUnit ()
static bool getEmbeddedState ()
static std::string getDrawingFileNamePrefix ()
static bool getHasOnlyOnePedigreeState ()
static bool getDisplayBirthOrder ()
static bool getColor ()
static bool getBlackAndWhite ()
static bool getQuadrantShading ()
static bool getNoIconLabels ()
static bool getHasOutputPedTable ()
static bool getHasOutputDataTable ()
static void setLineWidth (double lineWidth)
static void setLineWidthUnit (const std::string lineWidthUnit)
static void setFontFamily (const std::string &fontFamily)
static void setFontSize (double fontSize)
static void setHeaderFontSize (double headerFontSize)
static void setFontSizeUnit (const std::string &fontSizeUnit)
static void setLineMetrics (double lineHeight, double yMaximum, double yMinimum, unsigned labelCount)
static double getYMaximum ()
static double getYMinimum ()
static void setEmbeddedState (bool isEmbedded)
static void setDrawingFileNamePrefix (const std::string &prefix)
static void setHasOnlyOnePedigreeState (bool hasOnlyOne)
static void setDisplayBirthOrder (bool value)
static void setColor (bool value)
static void setBlackAndWhite (bool value)
static void setQuadrantShading (bool value)
static void setNoIconLabels (bool value)
static void setOutputPedTable (bool value)
static void setOutputDataTable (bool value)
static bool getNoLabelTruncation ()
static void setNoLabelTruncation (bool value)

Static Public Attributes

static std::set< DrawingMedia,
DrawingMedia::compare
media
static std::vector< DrawingColormonochromat
static std::vector< DrawingColorbichromat

Static Private Attributes

static std::string _unit
static double _horizontalInterval
static double _iconInterval
static double _iconDiameter
static double _verticalDrop1
static double _verticalDrop2
static double _cellSpacing
static double _lineHeight
static double _yMaximum
static double _yMinimum
static double _labelMargin
static double _verticalTick
static double _lineWidth
static std::string _lineWidthUnit
static std::string _fontFamily
static double _fontSize
static double _headerFontSize
static std::string _fontSizeUnit
static double _scalingFactor
static double _pointsToMmConversionFactor
static bool _isEmbedded
static bool _displayBirthOrder
static bool _blackAndWhite
static bool _color
static bool _useQuadrantShadingMethod
static bool _noIconLabels
static bool _outputPedTable
static bool _outputDataTable
static bool _noLabelTruncation
static std::string _drawingFileNamePrefix
static bool _hasOnlyOnePedigree

Friends

class DrawingMetricsLoader
class DrawingLabel


Member Function Documentation

bool DrawingMetrics::getBlackAndWhite  )  [static]
 

bool DrawingMetrics::getColor  )  [static]
 

bool DrawingMetrics::getDisplayBirthOrder  )  [static]
 

std::string DrawingMetrics::getDrawingFileNamePrefix  )  [static]
 

DrawingMedia DrawingMetrics::getDrawingMedia std::string  name  )  [static]
 

bool DrawingMetrics::getEmbeddedState  )  [static]
 

std::string DrawingMetrics::getFontFamily  )  [static]
 

double DrawingMetrics::getFontSize  )  [static]
 

std::string DrawingMetrics::getFontSizeUnit  )  [static]
 

bool DrawingMetrics::getHasOnlyOnePedigreeState  )  [static]
 

bool DrawingMetrics::getHasOutputDataTable  )  [static]
 

bool DrawingMetrics::getHasOutputPedTable  )  [static]
 

double DrawingMetrics::getHeaderFontSize  )  [static]
 

double DrawingMetrics::getHorizontalInterval  )  [static]
 

double DrawingMetrics::getIconDiameter  )  [static]
 

double DrawingMetrics::getIconInterval  )  [static]
 

double DrawingMetrics::getIconRadius  )  [static]
 

double DrawingMetrics::getLabelMargin  )  [static]
 

double DrawingMetrics::getLineHeight  )  [static]
 

double DrawingMetrics::getLineWidth  )  [static]
 

getLineWidth(): Returns line width -- not scaled. Be sure to call getLineWidthUnit() to find out the units. This is designed intentionally to work directly with setting up CSS output.

std::string DrawingMetrics::getLineWidthUnit  )  [static]
 

bool DrawingMetrics::getNoIconLabels  )  [static]
 

bool DrawingMetrics::getNoLabelTruncation  )  [static]
 

double DrawingMetrics::getPointsToMmConversionFactor  )  [static]
 

bool DrawingMetrics::getQuadrantShading  )  [static]
 

double DrawingMetrics::getScalingFactor  )  [static]
 

double DrawingMetrics::getVerticalDrop1  )  [static]
 

double DrawingMetrics::getVerticalDrop2  )  [static]
 

double DrawingMetrics::getVerticalTick  )  [static]
 

double DrawingMetrics::getYMaximum  )  [static]
 

double DrawingMetrics::getYMinimum  )  [static]
 

void DrawingMetrics::setBlackAndWhite bool  value  )  [static]
 

void DrawingMetrics::setColor bool  value  )  [static]
 

void DrawingMetrics::setDisplayBirthOrder bool  value  )  [static]
 

void DrawingMetrics::setDrawingFileNamePrefix const std::string &  prefix  )  [static]
 

void DrawingMetrics::setEmbeddedState bool  isEmbedded  )  [static]
 

void DrawingMetrics::setFontFamily const std::string &  fontFamily  )  [static]
 

void DrawingMetrics::setFontSize double  fontSize  )  [static]
 

void DrawingMetrics::setFontSizeUnit const std::string &  fontSizeUnit  )  [static]
 

void DrawingMetrics::setHasOnlyOnePedigreeState bool  hasOnlyOne  )  [static]
 

void DrawingMetrics::setHeaderFontSize double  headerFontSize  )  [static]
 

void DrawingMetrics::setIconInterval double  iconInterval  )  [static]
 

void DrawingMetrics::setLineMetrics double  lineHeight,
double  yMaximum,
double  yMinimum,
unsigned  labelCount
[static]
 

setLineMetrics(): Accepts parameters in "points" (1/72nds of an inch from LASi) and sets DrawingMetric's private members in millimeters:

void DrawingMetrics::setLineWidth double  lineWidth  )  [static]
 

setLineWidth(double lineWidth): It is suggested to use "mm" for CSS and Postscript compatability. "px" is also OK for CSS at least.

void DrawingMetrics::setLineWidthUnit const std::string  lineWidthUnit  )  [static]
 

void DrawingMetrics::setNoIconLabels bool  value  )  [static]
 

void DrawingMetrics::setNoLabelTruncation bool  value  )  [static]
 

void DrawingMetrics::setOutputDataTable bool  value  )  [static]
 

void DrawingMetrics::setOutputPedTable bool  value  )  [static]
 

void DrawingMetrics::setQuadrantShading bool  value  )  [static]
 


Friends And Related Function Documentation

friend class DrawingLabel [friend]
 

friend class DrawingMetricsLoader [friend]
 


Member Data Documentation

bool DrawingMetrics::_blackAndWhite [static, private]
 

double DrawingMetrics::_cellSpacing [static, private]
 

bool DrawingMetrics::_color [static, private]
 

bool DrawingMetrics::_displayBirthOrder [static, private]
 

std::string DrawingMetrics::_drawingFileNamePrefix [static, private]
 

std::string DrawingMetrics::_fontFamily [static, private]
 

double DrawingMetrics::_fontSize [static, private]
 

std::string DrawingMetrics::_fontSizeUnit [static, private]
 

bool DrawingMetrics::_hasOnlyOnePedigree [static, private]
 

double DrawingMetrics::_headerFontSize [static, private]
 

double DrawingMetrics::_horizontalInterval [static, private]
 

double DrawingMetrics::_iconDiameter [static, private]
 

double DrawingMetrics::_iconInterval [static, private]
 

bool DrawingMetrics::_isEmbedded [static, private]
 

double DrawingMetrics::_labelMargin [static, private]
 

double DrawingMetrics::_lineHeight [static, private]
 

double DrawingMetrics::_lineWidth [static, private]
 

std::string DrawingMetrics::_lineWidthUnit [static, private]
 

bool DrawingMetrics::_noIconLabels [static, private]
 

bool DrawingMetrics::_noLabelTruncation [static, private]
 

bool DrawingMetrics::_outputDataTable [static, private]
 

bool DrawingMetrics::_outputPedTable [static, private]
 

double DrawingMetrics::_pointsToMmConversionFactor [static, private]
 

double DrawingMetrics::_scalingFactor [static, private]
 

std::string DrawingMetrics::_unit [static, private]
 

bool DrawingMetrics::_useQuadrantShadingMethod [static, private]
 

double DrawingMetrics::_verticalDrop1 [static, private]
 

double DrawingMetrics::_verticalDrop2 [static, private]
 

double DrawingMetrics::_verticalTick [static, private]
 

double DrawingMetrics::_yMaximum [static, private]
 

double DrawingMetrics::_yMinimum [static, private]
 

std::vector< DrawingColor > DrawingMetrics::bichromat [static]
 

std::set< DrawingMedia, DrawingMedia::compare > DrawingMetrics::media [static]
 

std::vector< DrawingColor > DrawingMetrics::monochromat [static]
 


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