#include <LASi.h>
Public Member Functions | |
setFont (const char *const family="sans", const LASi::FontStyle style=LASi::NORMAL_STYLE, const LASi::FontWeight weight=LASi::NORMAL_WEIGHT, const LASi::FontVariant variant=LASi::NORMAL_VARIANT, const LASi::FontStretch stretch=LASi::NORMAL_STRETCH) | |
Usage: os << setFont("Vera Sans",LASi::ITALIC,LASi::BOLD) << . | |
Protected Member Functions | |
void | apply (oPostscriptStream &os) const |
Private Attributes | |
const char *const | _family |
const LASi::FontStyle | _style |
const LASi::FontWeight | _weight |
const LASi::FontVariant | _variant |
const LASi::FontStretch | _stretch |
Friends | |
oPostscriptStream & | operator<< (oPostscriptStream &os, const setFont &x) |
Stream inserter for 'setFont' stream manipulator. |
LASi::setFont::setFont | ( | const char *const | family = "sans" , |
|
const LASi::FontStyle | style = LASi::NORMAL_STYLE , |
|||
const LASi::FontWeight | weight = LASi::NORMAL_WEIGHT , |
|||
const LASi::FontVariant | variant = LASi::NORMAL_VARIANT , |
|||
const LASi::FontStretch | stretch = LASi::NORMAL_STRETCH | |||
) | [inline] |
Usage: os << setFont("Vera Sans",LASi::ITALIC,LASi::BOLD) << .
..
void LASi::setFont::apply | ( | oPostscriptStream & | os | ) | const [inline, protected] |
oPostscriptStream& operator<< | ( | oPostscriptStream & | os, | |
const setFont & | x | |||
) | [friend] |
Stream inserter for 'setFont' stream manipulator.
const char* const LASi::setFont::_family [private] |
const LASi::FontStyle LASi::setFont::_style [private] |
const LASi::FontWeight LASi::setFont::_weight [private] |
const LASi::FontVariant LASi::setFont::_variant [private] |
const LASi::FontStretch LASi::setFont::_stretch [private] |