LASi
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
LASi::setFont Class Reference

stream manipulator applied to oPostscriptStream. More...

#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) << ... More...
 

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

oPostscriptStreamoperator<< (oPostscriptStream &os, const setFont &x)
 Stream inserter for 'setFont' stream manipulator. More...
 

Detailed Description

stream manipulator applied to oPostscriptStream.

Constructor & Destructor Documentation

◆ setFont()

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) << ...

Member Function Documentation

◆ apply()

void LASi::setFont::apply ( oPostscriptStream os) const
inlineprotected

Friends And Related Function Documentation

◆ operator<<

oPostscriptStream& operator<< ( oPostscriptStream os,
const setFont x 
)
friend

Stream inserter for 'setFont' stream manipulator.

Member Data Documentation

◆ _family

const char* const LASi::setFont::_family
private

◆ _stretch

const LASi::FontStretch LASi::setFont::_stretch
private

◆ _style

const LASi::FontStyle LASi::setFont::_style
private

◆ _variant

const LASi::FontVariant LASi::setFont::_variant
private

◆ _weight

const LASi::FontWeight LASi::setFont::_weight
private

The documentation for this class was generated from the following file: