availableFontSizes: Get available font sizes from an AmigaBitmapFontSet

View source: R/bitmapfont.r

availableFontSizesR Documentation

Get available font sizes from an AmigaBitmapFontSet

Description

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

Usage

availableFontSizes(x)

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

## 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 June 22, 2024, 11:03 a.m.