#include <DrawingMetrics.h>
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< DrawingColor > | monochromat |
| static std::vector< DrawingColor > | bichromat |
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
setLineMetrics(): Accepts parameters in "points" (1/72nds of an inch from LASi) and sets DrawingMetric's private members in millimeters: |
|
|
setLineWidth(double lineWidth): It is suggested to use "mm" for CSS and Postscript compatability. "px" is also OK for CSS at least. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4