MCPcopy Create free account

hub / github.com/dfrg/swash_demo / functions

Functions417 in github.com/dfrg/swash_demo

↓ 1 callersMethodfinish
(&mut self)
src/layout/layout.rs:251
↓ 1 callersMethodfinish
Builds a display list for the current batched geometry and enumerates all texture events with the specified closure.
src/comp/mod.rs:51
↓ 1 callersMethodfinish_composition
(&mut self, compositor: &mut Compositor, display_list: &mut DisplayList)
src/gfx/device.rs:45
↓ 1 callersMethodfont
Returns the font for the run.
src/layout/layout.rs:274
↓ 1 callersMethodfont_by_id
Returns a font entry for the specified identifier.
src/layout/font/context.rs:161
↓ 1 callersMethodfont_size
Returns the font size for the run.
src/layout/layout.rs:279
↓ 1 callersFunctionget_entry
(fonts: &'a mut HashMap<FontKey, FontEntry>, id: u64, coords: &[i16])
src/comp/image_cache/glyph.rs:84
↓ 1 callersMethodget_image
Returns the image associated with the specified identifier.
src/comp/mod.rs:65
↓ 1 callersMethodget_selection_into
(&self, range: Range<usize>, buf: &mut String)
src/doc/mod.rs:24
↓ 1 callersMethodglyphs_mut
( &self, detail: &[DetailedClusterData], glyphs: &'a mut [GlyphData], )
src/layout/layout_data.rs:97
↓ 1 callersMethodhandle_texture_event
(&mut self, event: &TextureEvent)
src/gfx/device.rs:24
↓ 1 callersMethodindices
Returns the buffered indices for the display list.
src/comp/batch/mod.rs:278
↓ 1 callersMethodis_continuation
(&self)
src/layout/layout_data.rs:45
↓ 1 callersMethodis_last_continuation
Returns true if the cluster is the final continuation of a ligature.
src/layout/layout.rs:476
↓ 1 callersMethodis_ligature
Returns true if the cluster is a ligature.
src/layout/layout.rs:466
↓ 1 callersMethoditemize
(&mut self)
src/layout/builder.rs:315
↓ 1 callersMethodlayout
(&self, lcx: &mut ParagraphBuilder)
src/doc/mod.rs:18
↓ 1 callersMethodlayout_span
(&self, span: u32, lcx: &mut ParagraphBuilder)
src/doc/mod.rs:103
↓ 1 callersMethodleading
Returns the leading of the line.
src/layout/layout.rs:589
↓ 1 callersMethodlevels
Returns the sequence of bidi levels corresponding to all characters in the paragraph.
src/layout/bidi.rs:45
↓ 1 callersFunctionload
(gl_context: &glutin::Context<PossiblyCurrent>)
src/gfx/gl.rs:6
↓ 1 callersMethodlocalized_strings
Returns an iterator over the localized strings for the font.
src/layout/font/mod.rs:51
↓ 1 callersMethodmap_fallbacks
Specifies whether default fallbacks should be mapped for the current platform.
src/layout/font/builder.rs:133
↓ 1 callersMethodmap_generic_families
Specifies whether default generic families should be mapped for the current platform.
src/layout/font/builder.rs:126
↓ 1 callersMethodmetrics
Returns metrics for the font and the specified normalized variation coordinates.
src/layout/font/mod.rs:77
↓ 1 callersMethodmmap
Specifies a memory mapping hint.
src/layout/font/builder.rs:52
↓ 1 callersMethodnext_back
(&mut self)
src/layout/layout.rs:422
↓ 1 callersMethodnext_line
Returns a new, optionally extended, selection with the focus at a position on the next line that matches the state of the current selection.
src/layout/nav.rs:260
↓ 1 callersMethodpath
Returns the path of the source, if it is represented by a file.
src/layout/font/index.rs:462
↓ 1 callersMethodpop_span
Pops the current span, restoring the styles of the parent.
src/layout/builder.rs:95
↓ 1 callersMethodprevious
Returns a new, optionally extended, selection with the focus at the previous visual character.
src/layout/nav.rs:219
↓ 1 callersMethodprevious_line
Returns a new, optionally extended, selection with the focus at a position on the previous line that matches the state of the current selection.
src/layout/nav.rs:278
↓ 1 callersMethodprune
(&mut self, epoch: Epoch, images: &mut ImageCache)
src/comp/image_cache/glyph.rs:61
↓ 1 callersMethodpush_glyph
(&mut self, glyph: &ShapedGlyph)
src/layout/layout.rs:185
↓ 1 callersMethodpush_rect
(&mut self, rect: &Rect, depth: f32, flags: f32, color: Color, coords: Option<&[f32; 4]>)
src/comp/batch/mod.rs:95
↓ 1 callersMethodpush_span
Enters a new span with the specified styles.
src/layout/builder.rs:74
↓ 1 callersMethodrange
(&self)
src/comp/image_cache/glyph.rs:314
↓ 1 callersFunctionread_u64
(bytes: &[u8])
src/util/fxhash.rs:79
↓ 1 callersMethodregions_with
Invokes the specified function with a series of rectangles that define the visual state of the selection.
src/layout/nav.rs:295
↓ 1 callersMethodregister_group
Registers a font group.
src/layout/font/context.rs:56
↓ 1 callersMethodrender
(&mut self, width: u32, height: u32, list: &DisplayList)
src/gfx/device.rs:49
↓ 1 callersFunctionreorder_runs
(runs: &mut [RunData])
src/layout/line_breaker.rs:406
↓ 1 callersMethodreset
(&mut self)
src/layout/font/context.rs:286
↓ 1 callersMethodreset
(&mut self)
src/comp/batch/mod.rs:163
↓ 1 callersMethodreset_group_state
Resets font group caches and state. This should be called at the end of every layout session.
src/layout/font/context.rs:51
↓ 1 callersMethodresolve
(&mut self, layout: &mut Paragraph)
src/layout/builder.rs:284
↓ 1 callersMethodresolve_levels
(&mut self)
src/layout/bidi.rs:198
↓ 1 callersMethodresolve_runs
(&mut self)
src/layout/bidi.rs:296
↓ 1 callersMethodresolve_sequence
( &mut self, level: u8, sos: BidiClass, eos: BidiClass, len: usize,
src/layout/bidi.rs:381
↓ 1 callersMethodresolve_with_types
Resolves a paragraph with the specified base direction and precomputed types.
src/layout/bidi.rs:61
↓ 1 callersMethodrgb
Converts the color to an array of bytes in RGB order.
src/comp/color.rs:220
↓ 1 callersMethodrgba
Converts the color to an array of bytes in RGBA order.
src/comp/color.rs:205
↓ 1 callersMethodrun_data_for_cluster
(&self, cluster: u32)
src/layout/layout_data.rs:257
↓ 1 callersMethodrun_index_for_cluster
(&self, cluster: u32)
src/layout/layout_data.rs:248
↓ 1 callersMethodsame_kind
(&self, other: &SpanStyle)
src/layout/span_style.rs:101
↓ 1 callersMethodscan_dir
( &mut self, path: impl AsRef<Path>, all_names: bool, sink: &mut impl ScannerS
src/layout/font/builder.rs:307
↓ 1 callersMethodscan_dir_impl
( &mut self, path: impl AsRef<Path>, all_names: bool, sink: &mut impl ScannerS
src/layout/font/builder.rs:347
↓ 1 callersMethodscan_file
( &mut self, path: impl AsRef<Path>, all_names: bool, sink: &mut impl ScannerS
src/layout/font/builder.rs:316
↓ 1 callersMethodscan_font
( &mut self, font: FontRef, index: u32, all_names: bool, f: &mut impl
src/layout/font/builder.rs:400
↓ 1 callersMethodselect
Selects a descriptor for mapping clusters.
src/layout/font/context.rs:394
↓ 1 callersMethodselect_fallbacks
Selects fallback fonts for the specified writing system.
src/layout/font/context.rs:66
↓ 1 callersMethodsession
( &'a mut self, epoch: Epoch, images: &'a mut ImageCache, font: FontRef<'a>,
src/comp/image_cache/glyph.rs:35
↓ 1 callersMethodsetup_default_fallbacks
(&mut self)
src/layout/font/index.rs:51
↓ 1 callersMethodsetup_default_generic
(&mut self)
src/layout/font/index.rs:188
↓ 1 callersMethodshape
(&mut self, layout: &mut Paragraph)
src/layout/builder.rs:410
↓ 1 callersFunctionshape_item
( fcx: &mut FontContext, scx: &mut ShapeContext, state: &BuilderState, item: &ItemData, cl
src/layout/builder.rs:455
↓ 1 callersMethodto_rgba_f32
Converts the byte color into a floating point representation.
src/comp/color.rs:250
↓ 1 callersMethodunderline
Returns true if the run has an underline decoration.
src/layout/layout.rs:311
↓ 1 callersMethodunderline_offset
Returns the underline offset for the run.
src/layout/layout.rs:316
↓ 1 callersMethodunderline_size
Returns the underline size for the run.
src/layout/layout.rs:321
↓ 1 callersMethodvertices
Returns the buffered vertices for the display list.
src/comp/batch/mod.rs:273
↓ 1 callersMethodwidth
Returns the width of the atlas.
src/comp/image_cache/atlas.rs:25
↓ 1 callersFunctionwrite
(hash: usize, bytes: &[u8])
src/util/fxhash.rs:149
↓ 1 callersMethodwrite
(&mut self, bytes: &[u8])
src/util/fxhash.rs:180
↓ 1 callersMethodwrite_u32
(&mut self, i: u32)
src/util/fxhash.rs:195
↓ 1 callersMethodwrite_u64
(&mut self, i: u64)
src/util/fxhash.rs:201
Methodabgr
Converts the color to an array of bytes in ABGR order.
src/comp/color.rs:215
Methodactivate
(&self)
src/gfx/mod.rs:236
Methodadd
(&mut self, x: u16, y: u16, width: u16, height: u16)
src/comp/image_cache/cache.rs:431
Methodadd_file
Adds a font file to the library.
src/layout/font/builder.rs:64
Methodadd_image
Adds an image to the compositor.
src/comp/mod.rs:60
Methodadvance
( &self, detail: &[DetailedClusterData], glyphs: &[GlyphData], detail_glyphs:
src/layout/layout_data.rs:72
Methodadvance_without_trailing_whitespace
Returns the total advance of the line excluding trailing whitespace.
src/layout/layout.rs:599
Methodallocate
()
src/comp/image_cache/mod.rs:38
Methodalpha_strikes
Returns an iterator over the alpha bitmap strikes for the font.
src/layout/font/mod.rs:98
Methodanchor_offset
Returns the current source offset for the anchor of the selection.
src/layout/nav.rs:125
Methodargb
Converts the color to an array of bytes in ARGB order.
src/comp/color.rs:210
Methodattributes
Returns the font attributes.
src/layout/font/index.rs:432
Methodbgr
Converts the color to an array of bytes in BGR order.
src/comp/color.rs:225
Methodbuilder
Creates builder for a font library.
src/layout/font/library.rs:14
Methodcache_key
(&self)
src/layout/font/index.rs:436
Methodcharmap
Returns the character map for the font.
src/layout/font/mod.rs:88
Methodclear
(&mut self)
src/layout/layout_data.rs:202
Methodclear_evicted
(&mut self, images: &mut ImageCache)
src/comp/image_cache/glyph.rs:76
Methodclusters
Returns an iterator over the clusters in logical order.
src/layout/layout.rs:326
Methodcolor_palettes
Returns an iterator over the color palettes for the font.
src/layout/font/mod.rs:93
Methodcolor_strikes
Returns an iterator over the color bitmap strikes for the font.
src/layout/font/mod.rs:103
Methoddefault
()
src/layout/line_breaker.rs:14
Methoddefault
()
src/layout/span_style.rs:116
Methoddefault
()
src/layout/font/library.rs:28
← previousnext →201–300 of 417, ranked by callers