Python Script Engine
8.0
GL Studio Editor Python Script API
|
Public Member Functions | |
bool | operator== (FontPalette &rhs) |
bool | operator!= (FontPalette &rhs) |
bool | isNULL (void) |
std::vector< string > | GetAvailableFonts (void) |
std::vector< Font > | GetReferencedFonts (void) |
std::vector< Font > | GetAdditionalFonts (void) |
bool | RemoveAdditionalFontKey (String fontKey) |
bool | RemoveAdditionalFont (Font &font) |
bool | AddAdditionalFont (Font &font) |
bool | AddFontGlyphRange (Font &font, unsigned int start, unsigned int end) |
bool | RemoveFontGlyphRange (Font &font, unsigned int start, unsigned int end) |
bool | RemoveUnicodeFontRanges (Font &font) |
Public Attributes | |
newobject | GetAvailableFonts |
newobject | GetReferencedFonts |
newobject | GetAdditionalFonts |
Python extension for the FontPalette editor class.
bool FontPalette::AddAdditionalFont | ( | Font & | font | ) |
Adds a font to the Additional Fonts list of the document.
font | the font to be added |
bool FontPalette::AddFontGlyphRange | ( | Font & | font, |
unsigned int | start, | ||
unsigned int | end | ||
) |
Adds the specified range to the given unicode font.
font | the font to be modified |
start | the starting value for the range, min 256, max 65534 |
end | the ending value for the range, min 256, max 65534 |
std::vector<Font> FontPalette::GetAdditionalFonts | ( | void | ) |
Gets the list of Additional Fonts fonts referenced by the document.
std::vector<string> FontPalette::GetAvailableFonts | ( | void | ) |
Gets the list of fonts available to the editor.
std::vector<Font> FontPalette::GetReferencedFonts | ( | void | ) |
Gets the list of fonts referenced by the document.
bool FontPalette::isNULL | ( | void | ) |
determine if font palette does not exist.
bool FontPalette::operator!= | ( | FontPalette & | rhs | ) |
inequality operator.
rhs | instance to compare |
bool FontPalette::operator== | ( | FontPalette & | rhs | ) |
equality operator.
rhs | instance to compare |
bool FontPalette::RemoveAdditionalFont | ( | Font & | font | ) |
Removes a font from the Additional Fonts list of the document.
font | the font to be removed |
bool FontPalette::RemoveAdditionalFontKey | ( | String | fontKey | ) |
Removes a font from the Additional Fonts list of the document by full name.
fontKey | the key of the font to be removed, such as "ArialRegular12" |
bool FontPalette::RemoveFontGlyphRange | ( | Font & | font, |
unsigned int | start, | ||
unsigned int | end | ||
) |
Removes the specified range from the given unicode font.
font | the font to be modified |
start | the starting value for the range |
end | the ending value for the range |
bool FontPalette::RemoveUnicodeFontRanges | ( | Font & | font | ) |
Removes the font from the list of Unicode fonts, and its set ranges along with it.
Note that it will be re-added with the default range if the font is still in the "Additional Fonts" list.
font | the font to be modified |
newobject FontPalette::GetAdditionalFonts |
newobject FontPalette::GetAvailableFonts |
newobject FontPalette::GetReferencedFonts |