/////////////////////////////////////////////////////////////////////////////
// Name: font.h
-// Purpose: documentation for wxFont class
+// Purpose: interface of wxFont
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
/**
@class wxFont
+ @ingroup group_class_gdi
@wxheader{font.h}
A font is an object which determines the appearance of text. Fonts are
@category{gdi}
@stdobjects
- Objects:
- wxNullFont
- Pointers:
- wxNORMAL_FONT
+ ::Objects:, ::wxNullFont, ::Pointers:, ::wxNORMAL_FONT, ::wxSMALL_FONT,
+ ::wxITALIC_FONT, ::wxSWISS_FONT,
- wxSMALL_FONT
-
- wxITALIC_FONT
-
- wxSWISS_FONT
-
- @seealso
- @ref overview_wxfontoverview, wxDC::SetFont, wxDC::DrawText,
+ @see @ref overview_wxfontoverview, wxDC::SetFont, wxDC::DrawText,
wxDC::GetTextExtent, wxFontDialog, wxSystemSettings
*/
class wxFont : public wxGDIObject
@see SetFaceName()
*/
- wxString GetFaceName();
+ wxString GetFaceName() const;
/**
Gets the font family. See SetFamily() for a list of valid
@see SetFamily()
*/
- wxFontFamily GetFamily();
+ wxFontFamily GetFamily() const;
/**
Returns the platform-dependent string completely describing this font.
@see SetNativeFontInfo(),GetNativeFontInfoUserDesc()
*/
- wxString GetNativeFontInfoDesc();
+ wxString GetNativeFontInfoDesc() const;
/**
Returns a user-friendly string for this font object. Returned string is always
@see SetPointSize()
*/
- int GetPointSize();
+ int GetPointSize() const;
/**
Gets the font style. See wxFont() for a list of valid
@see SetStyle()
*/
- int GetStyle();
+ int GetStyle() const;
/**
Returns @true if the font is underlined, @false otherwise.
@see SetUnderlined()
*/
- bool GetUnderlined();
+ bool GetUnderlined() const;
/**
Gets the font weight. See wxFont() for a list of valid
@see SetWeight()
*/
- wxFontWeight GetWeight();
+ wxFontWeight GetWeight() const;
/**
Returns @true if the font is a fixed width (or monospaced) font,
@false if it is a proportional one or font is invalid.
*/
- bool IsFixedWidth();
+ bool IsFixedWidth() const;
/**
Returns @true if this object is a valid font, @false otherwise.
*/
- bool IsOk();
+ bool IsOk() const;
//@{
/**
*/
bool operator ==(const wxFont& font);
};
+
+
+/**
+ FIXME
+*/
+wxFont Objects:
+;
+
+/**
+ FIXME
+*/
+wxFont wxNullFont;
+
+/**
+ FIXME
+*/
+wxFont Pointers:
+;
+
+/**
+ FIXME
+*/
+wxFont wxNORMAL_FONT;
+
+/**
+ FIXME
+*/
+wxFont wxSMALL_FONT;
+
+/**
+ FIXME
+*/
+wxFont wxITALIC_FONT;
+
+/**
+ FIXME
+*/
+wxFont wxSWISS_FONT;
+
+