#include <gfxPlatformGtk.h>
List of all members.
Public Member Functions |
| gfxPlatformGtk () |
virtual | ~gfxPlatformGtk () |
already_AddRefed< gfxASurface > | CreateOffscreenSurface (const gfxIntSize &size, gfxASurface::gfxContentType contentType) |
| Create an offscreen surface of the given dimensions and image format.
|
nsresult | GetFontList (nsIAtom *aLangGroup, const nsACString &aGenericFamily, nsTArray< nsString > &aListOfFonts) |
| Fill aListOfFonts with the results of querying the list of font names that correspond to the given language group or generic font family (or both, or neither).
|
nsresult | UpdateFontList () |
| Rebuilds the any cached system font lists.
|
nsresult | ResolveFontName (const nsAString &aFontName, FontResolverCallback aCallback, void *aClosure, PRBool &aAborted) |
nsresult | GetStandardFamilyName (const nsAString &aFontName, nsAString &aFamilyName) |
| Resolving a font name to family name.
|
gfxFontGroup * | CreateFontGroup (const nsAString &aFamilies, const gfxFontStyle *aStyle, gfxUserFontSet *aUserFontSet) |
| Create the appropriate platform font group.
|
FontFamily * | FindFontFamily (const nsAString &aName) |
FontEntry * | FindFontEntry (const nsAString &aFamilyName, const gfxFontStyle &aFontStyle) |
already_AddRefed< gfxFont > | FindFontForChar (PRUint32 aCh, gfxFont *aFont) |
PRBool | GetPrefFontEntries (const nsCString &aLangGroup, nsTArray< nsRefPtr< gfxFontEntry > > *aFontEntryList) |
void | SetPrefFontEntries (const nsCString &aLangGroup, nsTArray< nsRefPtr< gfxFontEntry > > &aFontEntryList) |
FT_Library | GetFTLibrary () |
virtual gfxImageFormat | GetOffscreenFormat () |
Static Public Member Functions |
static gfxPlatformGtk * | GetPlatform () |
| Return a pointer to the current active platform.
|
static void | SetGdkDrawable (gfxASurface *target, GdkDrawable *drawable) |
static GdkDrawable * | GetGdkDrawable (gfxASurface *target) |
static PRInt32 | GetDPI () |
static PRBool | UseClientSideRendering () |
Static Protected Attributes |
static gfxFontconfigUtils * | sFontconfigUtils |
Constructor & Destructor Documentation
gfxPlatformGtk::gfxPlatformGtk |
( |
|
) |
|
virtual gfxPlatformGtk::~gfxPlatformGtk |
( |
|
) |
[virtual] |
Member Function Documentation
Create the appropriate platform font group.
Implements gfxPlatform.
Create an offscreen surface of the given dimensions and image format.
Implements gfxPlatform.
FontEntry* gfxPlatformGtk::FindFontEntry |
( |
const nsAString & |
aFamilyName, |
|
|
const gfxFontStyle & |
aFontStyle | |
|
) |
| | |
FontFamily* gfxPlatformGtk::FindFontFamily |
( |
const nsAString & |
aName |
) |
|
static PRInt32 gfxPlatformGtk::GetDPI |
( |
|
) |
[static] |
Fill aListOfFonts with the results of querying the list of font names that correspond to the given language group or generic font family (or both, or neither).
Reimplemented from gfxPlatform.
virtual gfxImageFormat gfxPlatformGtk::GetOffscreenFormat |
( |
|
) |
[virtual] |
static gfxPlatformGtk* gfxPlatformGtk::GetPlatform |
( |
|
) |
[inline, static] |
Return a pointer to the current active platform.
This is a singleton; it contains mostly convenience functions to obtain platform-specific objects.
Reimplemented from gfxPlatform.
Resolving a font name to family name.
The result MUST be in the result of GetFontList(). If the name doesn't in the system, aFamilyName will be empty string, but not failed.
Implements gfxPlatform.
nsresult gfxPlatformGtk::UpdateFontList |
( |
|
) |
[virtual] |
Rebuilds the any cached system font lists.
Reimplemented from gfxPlatform.
static PRBool gfxPlatformGtk::UseClientSideRendering |
( |
|
) |
[inline, static] |
Member Data Documentation
The documentation for this class was generated from the following file: