bm_list: Bitmap list object

Description Usage Arguments Details Value Supported S3 methods See Also Examples

View source: R/bm_list.R

Description

bm_list() creates a bitmap list object.

Usage

1

Arguments

...

bm_bitmap() objects, possibly named.

Details

bm_list() is a list of bm_bitmap() objects with class “bm_list”. It is superclass of bm_font().

Value

A named list with a “bm_list” subclass.

Supported S3 methods

See Also

is_bm_list(), as_bm_list()

Examples

1
2
3
4
5
6
 font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
 font <- read_hex(font_file)

 gl <- font[c("U+0023", "U+0052", "U+0053", "U+0054", "U+0041", "U+0054", "U+0053")] # #RSTATS
 gl <- as_bm_list(gl)
 is_bm_list(gl)

bittermelon documentation built on Nov. 2, 2021, 1:06 a.m.