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

Protected Member Functions

void apply (oPostscriptStream &os) const
 

Friends

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

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

Member Function Documentation

◆ apply()

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

Friends And Related Symbol Documentation

◆ operator<<

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

Stream inserter for 'setFont' stream manipulator.

References apply(), and setFont().


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