getAmigaBitmapFont {AmigaFFH} | R Documentation |
Extract a specific AmigaBitmapFont from a AmigaBitmapFontSet
Description
Extract a specific AmigaBitmapFont()
from a
AmigaBitmapFontSet()
.
Usage
getAmigaBitmapFont(x, size)
Arguments
x |
An |
size |
A single |
Details
An AmigaBitmapFontSet()
object can hold one or more
bitmaps for specific font sizes (heights). Use this function to
obtain such a specific AmigaBitmapFont()
.
Value
Returns an AmigaBitmapFont()
of the requested size.
An error is thrown when the requested size is not available.
Author(s)
Pepijn de Vries
See Also
Other AmigaBitmapFont.operations:
AmigaBitmapFont
,
availableFontSizes()
,
c()
,
fontName()
,
font_example
,
rasterToAmigaBitmapFont()
,
rawToAmigaBitmapFontSet()
,
rawToAmigaBitmapFont()
,
read.AmigaBitmapFontSet()
,
read.AmigaBitmapFont()
,
write.AmigaBitmapFont()
Examples
## Not run:
data(font_example)
## get the font object for the first available size:
font <- getAmigaBitmapFont(font_example,
availableFontSizes(font_example)[1])
## End(Not run)