availableFontSizes: Get available font sizes from an AmigaBitmapFontSet

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/bitmapfont.r

Description

Get available font sizes (height) from an AmigaBitmapFontSet in pixels.

Usage

1

Arguments

x

An AmigaBitmapFontSet for which the available font sizes (height) in number of pixels need to be obtained.

Details

An AmigaBitmapFontSet can hold bitmaps of multiple font sizes. Use this function to obtain the available size from such a set.

Value

Returns a vector of numeric values specifying the available font sizes (height in pixels) for x.

Author(s)

Pepijn de Vries

See Also

Other AmigaBitmapFont.operations: AmigaBitmapFont, c(), fontName(), font_example, getAmigaBitmapFont(), rasterToAmigaBitmapFont(), rawToAmigaBitmapFontSet(), rawToAmigaBitmapFont(), read.AmigaBitmapFontSet(), read.AmigaBitmapFont(), write.AmigaBitmapFont()

Examples

1
2
3
4
5
6
7
## Not run: 
data(font_example)

## The example font holds two font sizes (8 and 9):
availableFontSizes(font_example)

## End(Not run)

AmigaFFH documentation built on Sept. 5, 2021, 5:22 p.m.