VCF::FontPeer Class Reference
Represents the native windowing system's representation of a Font. More...
#include <vcf/GraphicsKit/FontPeer.h>
Inheritance diagram for VCF::FontPeer:

Public Member Functions | |
| virtual | ~FontPeer () |
| virtual OSHandleID | getFontHandleID ()=0 |
| returns a integer representing some native handle to a font structure. | |
| virtual String | getName ()=0 |
| virtual void | setName (const String &name)=0 |
| virtual bool | isTrueType ()=0 |
| is this font a TrueType font ? | |
| virtual double | getPointSize ()=0 |
| return the point size of the Font. | |
| virtual void | setPointSize (const double pointSize)=0 |
| sets the point size of the FontPeer | |
| virtual double | getPixelSize ()=0 |
| virtual void | setPixelSize (const double pixelSize)=0 |
| virtual void | setBold (const bool &bold)=0 |
| virtual bool | getBold ()=0 |
| virtual bool | getItalic ()=0 |
| virtual void | setItalic (const bool &italic)=0 |
| virtual bool | getUnderlined ()=0 |
| virtual void | setUnderlined (const bool &underlined)=0 |
| virtual bool | getStrikeOut ()=0 |
| virtual void | setStrikeOut (const bool &strikeout)=0 |
| virtual void | setAttributes (const double &pointSize, const bool &bold, const bool &italic, const bool &underlined, const bool &struckOut, const String &name)=0 |
| sets ALL the attributes in one fell swoop | |
| virtual double | getAscent ()=0 |
| virtual double | getDescent ()=0 |
| virtual bool | isFixedPitch ()=0 |
| virtual void | setFont (Font *font)=0 |
Detailed Description
Represents the native windowing system's representation of a Font.
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
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. Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
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 Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
is this font a TrueType font ?
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
||||||||||||||||||||||||||||
|
sets ALL the attributes in one fell swoop
Implemented in VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
sets the point size of the FontPeer
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
|
|
Implemented in VCF::X11Font, VCF::GTKFont, VCF::OSXFont, VCF::Win32Font, and VCF::XCBFontPeer. |
The documentation for this class was generated from the following file:
- vcf/GraphicsKit/FontPeer.h
