Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members

FXEX::FXFontMatrix Class Reference

Font metrics object. More...

#include <FXRotatableFont.h>

List of all members.

Public Methods

 FXFontMatrix (FXfloat FontSz=1.0)
 FXFontMatrix (const FXFontMatrix &M)
void setFontSz (FXfloat FontSz)
void setRotate (FXfloat T)
void setShear (FXfloat T)
void setAnamorphic (FXfloat a1, FXfloat d1)
void setMirrorX ()
void setMirrorY ()

Friends

class FXRotatableFont
FXFontMatrix operator * (FXFontMatrix M1, FXFontMatrix M2)


Detailed Description

Font metrics object.

Definition at line 33 of file FXRotatableFont.h.


Constructor & Destructor Documentation

FXEX::FXFontMatrix::FXFontMatrix FXfloat FontSz = 1.0
 

build font metrics.

FXEX::FXFontMatrix::FXFontMatrix const FXFontMatrix & M
 

provide copy constructor.


Member Function Documentation

void FXEX::FXFontMatrix::setFontSz FXfloat FontSz
 

adjust font size.

void FXEX::FXFontMatrix::setRotate FXfloat T
 

rotation angle (+) Rotates counter-clockwise.

void FXEX::FXFontMatrix::setShear FXfloat T
 

set shear metric (+) Shears counter-clockwise.

void FXEX::FXFontMatrix::setAnamorphic FXfloat a1,
FXfloat d1
 

set font to anamorphic.

void FXEX::FXFontMatrix::setMirrorX
 

set font to mirror about X.

void FXEX::FXFontMatrix::setMirrorY
 

set font to mirror about Y.


Friends And Related Function Documentation

friend class FXRotatableFont [friend]
 

Definition at line 34 of file FXRotatableFont.h.

FXFontMatrix operator * FXFontMatrix M1,
FXFontMatrix M2
[friend]
 

allow font metrics multiplication.