MCPcopy Create free account

hub / github.com/Erk-/programmable-fonts / functions

Functions57 in github.com/Erk-/programmable-fonts

↓ 12 callersFunctiondebug
Write a string to the Harfbuzz debug log.
harfbuzz-wasm/src/lib.rs:463
↓ 5 callersMethodblock_at
(&self, pos: (u8, u8))
tetris/tetris/src/lib.rs:277
↓ 4 callersMethodnext
(&mut self)
tetris/font/src/parser.rs:83
↓ 4 callersMethodt_blocks
(&self)
tetris/tetris/src/lib.rs:241
↓ 3 callersMethodcan_move
Left, Down, Right
tetris/tetris/src/lib.rs:262
↓ 3 callersMethodget_glyph
Map a Unicode codepoint to a glyph ID. The `uvs` parameter specifies a Unicode Variation Selector codepoint which is used in conjunction with [format
harfbuzz-wasm/src/lib.rs:96
↓ 3 callersMethodnop
(&mut self)
tetris/tetris/src/lib.rs:206
↓ 2 callersMethoddraw_inflight
(&self)
tetris/tetris/src/lib.rs:249
↓ 2 callersMethodget_glyph_h_advance
Get the default advance width for a given glyph ID.
harfbuzz-wasm/src/lib.rs:110
↓ 2 callersMethodnew_block
(&mut self)
tetris/tetris/src/lib.rs:184
↓ 2 callersMethodnext_symbol
(&mut self)
tetris/font/src/parser.rs:46
↓ 2 callersMethodrun
False if the game is over.
tetris/tetris/src/lib.rs:166
↓ 1 callersFunctionblock_at
(gameboard: [u16; 20], pos: (u8, u8))
tetris/font/src/lib.rs:41
↓ 1 callersMethodburn
(&mut self)
tetris/tetris/src/lib.rs:305
↓ 1 callersMethodclear_lines
(&mut self)
tetris/tetris/src/lib.rs:294
↓ 1 callersMethoddisplay
(&mut self, gameboard: [u16; 20])
tetris/font/src/ds.rs:141
↓ 1 callersMethoddisplay
(&mut self, gameboard: [u16; 20])
tetris/playground/src/main.rs:22
↓ 1 callersMethodfind_start
(&mut self)
tetris/font/src/parser.rs:32
↓ 1 callersFunctionfull_line
()
tetris/tetris/src/lib.rs:11
↓ 1 callersMethodglyph_vec
(self, font: &Font)
tetris/font/src/ds.rs:73
↓ 1 callersMethodkey
(&self)
tetris/playground/src/main.rs:16
↓ 1 callersMethodleft
(&mut self)
tetris/tetris/src/lib.rs:214
↓ 1 callersMethodnext_rand
(&mut self)
tetris/tetris/src/lib.rs:175
↓ 1 callersMethodoffset
(&self)
tetris/tetris/src/lib.rs:90
↓ 1 callersFunctionpixel_at
(pos: (u8, u8))
tetris/font/src/lib.rs:53
↓ 1 callersFunctionprint_rc
(rc: &ReplaceCord)
tetris/font/src/ds.rs:16
↓ 1 callersMethodreplace_all
(&mut self, f: F)
tetris/font/src/ds.rs:67
↓ 1 callersMethodreplace_one
( &mut self, f: F, )
tetris/font/src/ds.rs:34
↓ 1 callersMethodright
(&mut self)
tetris/tetris/src/lib.rs:222
↓ 1 callersMethodrot
(&mut self)
tetris/tetris/src/lib.rs:230
↓ 1 callersMethodstart_end
(mut self)
tetris/font/src/parser.rs:67
↓ 1 callersMethodstep
Returns false if game is over.
tetris/tetris/src/lib.rs:191
↓ 1 callersMethodto_c
(self)
harfbuzz-wasm/src/lib.rs:414
Methoddisplay
(&mut self, gameboard: [u16; 20])
tetris/tetris/src/display.rs:8
Methoddisplay
(&self, d: &mut D)
tetris/tetris/src/lib.rs:289
Methoddrop
(&mut self)
harfbuzz-wasm/src/lib.rs:298
Methodfrom
(value: u64)
tetris/tetris/src/lib.rs:74
Methodfrom_c
(info: CGlyphInfo, pos: CGlyphPosition)
harfbuzz-wasm/src/lib.rs:403
Methodfrom_ref
Initialize a `Font` struct from the reference provided by Harfbuzz to the `shape` function.
harfbuzz-wasm/src/lib.rs:67
Methodget_face
Return the font face object that this font belongs to.
harfbuzz-wasm/src/lib.rs:84
Methodget_glyph_extents
Get the extents for a given glyph ID, in its design position.
harfbuzz-wasm/src/lib.rs:101
Methodget_glyph_name
Get the name of a glyph. If no names are provided by the font, names of the form `gidXXX` are constructed.
harfbuzz-wasm/src/lib.rs:123
Methodget_glyph_v_advance
Get the default vertical advance for a given glyph ID.
harfbuzz-wasm/src/lib.rs:115
Methodget_outline
Get the outline of a glyph as a vector of bezier paths
harfbuzz-wasm/src/lib.rs:154
Methodget_scale
Get the X and Y scale factor applied to this font. This should be divided by the units per em value to provide a scale factor mapping from design uni
harfbuzz-wasm/src/lib.rs:139
Methodget_upem
Get the face's design units per em.
harfbuzz-wasm/src/lib.rs:235
Functionmain
()
tetris/playground/src/main.rs:33
Methodnew
()
tetris/tetris/src/lib.rs:149
Methodnew
(vec: Vec<u8>)
tetris/font/src/parser.rs:20
Methodnew
(s: Vec<Glyph>)
tetris/font/src/ds.rs:28
Methodnew
()
tetris/playground/src/main.rs:10
Methodreference_table
Get a blob containing the contents of the given binary font table.
harfbuzz-wasm/src/lib.rs:217
Functionshape
( _shape_plan: u32, font_ref: u32, buf_ref: u32, _features: u32, _num_features: u32, )
tetris/font/src/lib.rs:13
Functionshape
( _shape_plan: u32, font_ref: u32, buf_ref: u32, _features: u32, _num_features: u32, )
bad_apple/src/lib.rs:5
Methodshape_with
Call the given Harfbuzz shaper on a buffer reference. For example, `font.shape_with(buffer_ref, "ot")` will run standard OpenType shaping, allowing y
harfbuzz-wasm/src/lib.rs:76
Functionstart_end_wrapper
(gs: &[Glyph])
tetris/font/src/ds.rs:97
Methodwith_seed
(seed: u64)
tetris/tetris/src/lib.rs:153