VCF::XCBFontPeer Class Reference
#include <XCBFontPeer.h>
Inheritance diagram for VCF::XCBFontPeer:
List of all members.
Constructor & Destructor Documentation
| VCF::XCBFontPeer::XCBFontPeer |
( |
const String & |
fontName |
) |
|
|
| VCF::XCBFontPeer::XCBFontPeer |
( |
const String & |
fontName, |
|
|
const double & |
pointSize |
|
) |
|
|
Member Function Documentation
| virtual double VCF::XCBFontPeer::getAscent |
( |
|
) |
[virtual] |
|
| virtual bool VCF::XCBFontPeer::getBold |
( |
|
) |
[virtual] |
|
| virtual double VCF::XCBFontPeer::getDescent |
( |
|
) |
[virtual] |
|
| virtual OSHandleID VCF::XCBFontPeer::getFontHandleID |
( |
|
) |
[virtual] |
|
|
|
returns a integer representing some native handle to a font structure.
What this actually is depends on the Windowing system implementation. Under Win32 this represents a pointer to a LOGFONT structure.
Implements VCF::FontPeer. |
| String VCF::XCBFontPeer::getHashcode |
( |
|
) |
|
|
| virtual bool VCF::XCBFontPeer::getItalic |
( |
|
) |
[virtual] |
|
| virtual String VCF::XCBFontPeer::getName |
( |
|
) |
[virtual] |
|
| virtual double VCF::XCBFontPeer::getPixelSize |
( |
|
) |
[virtual] |
|
| virtual double VCF::XCBFontPeer::getPointSize |
( |
|
) |
[virtual] |
|
|
|
return the point size of the Font.
One point is 1/72 of an inch ( or 0.0352552 cm for our more civilized friends !), so to figure out the pixels involved, find out the Pixels per Inch and then apply the following formula (PointSize / 72) * PPI where PPI represents the Pixels Per Inch
Implements VCF::FontPeer. |
| virtual bool VCF::XCBFontPeer::getStrikeOut |
( |
|
) |
[virtual] |
|
| virtual bool VCF::XCBFontPeer::getUnderlined |
( |
|
) |
[virtual] |
|
| void VCF::XCBFontPeer::internal_setAscent |
( |
double |
val |
) |
[inline] |
|
| void VCF::XCBFontPeer::internal_setDescent |
( |
double |
val |
) |
[inline] |
|
| void VCF::XCBFontPeer::internal_setIsFixedPitchFont |
( |
bool |
val |
) |
[inline] |
|
| void VCF::XCBFontPeer::internal_setIsTrueTypeFont |
( |
bool |
val |
) |
[inline] |
|
| virtual bool VCF::XCBFontPeer::isFixedPitch |
( |
|
) |
[virtual] |
|
| virtual bool VCF::XCBFontPeer::isTrueType |
( |
|
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setAttributes |
( |
const double & |
pointSize, |
|
|
const bool & |
bold, |
|
|
const bool & |
italic, |
|
|
const bool & |
underlined, |
|
|
const bool & |
struckOut, |
|
|
const String & |
name |
|
) |
[virtual] |
|
|
|
sets ALL the attributes in one fell swoop
Implements VCF::FontPeer. |
| virtual void VCF::XCBFontPeer::setBold |
( |
const bool & |
bold |
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setFont |
( |
Font * |
font |
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setItalic |
( |
const bool & |
italic |
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setName |
( |
const String & |
name |
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setPixelSize |
( |
const double |
pixelSize |
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setPointSize |
( |
const double |
pointSize |
) |
[virtual] |
|
| virtual void VCF::XCBFontPeer::setStrikeOut |
( |
const bool & |
strikeout |
) |
[virtual] |
|
| void VCF::XCBFontPeer::settingsChanged |
( |
|
) |
[protected] |
|
| virtual void VCF::XCBFontPeer::setUnderlined |
( |
const bool & |
underlined |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: