MCPcopy Create free account

hub / github.com/bkirwi/armrest / functions

Functions266 in github.com/bkirwi/armrest

↓ 2 callersMethodspace
(&mut self, a: Side, b: Side, extra: i32, ratio: f32)
src/ui/screen.rs:474
↓ 2 callersMethodsplit_off
Split a smaller canvas off from this one, at the given side and offset. The current frame is modified to represent the remaining area in the frame.
src/ui/screen.rs:425
↓ 2 callersMethodtake_ink
(&mut self)
src/input.rs:110
↓ 2 callersMethodvisit
( &mut self, damaged: Region, mut on_visit: impl FnMut(Region, Sequence, &mut ContentH
src/ui/screen.rs:125
↓ 2 callersMethodwrap
( size: i32, font: &Font<'static>, text: &str, max_width: i32, justify
src/ui/text.rs:139
↓ 1 callersFunctionaugment
(pairs, subset, target_size)
script/training.py:430
↓ 1 callersMethodcentroid
(&self)
src/dollar.rs:77
↓ 1 callersFunctionctc_loss
(true_labels, true_lengths, predicted_labels, predicted_lengths)
script/training.py:127
↓ 1 callersMethodcurrent_ink
(&self)
src/input.rs:106
↓ 1 callersFunctiondecode_string
(string)
script/training.py:31
↓ 1 callersMethoddraw_fragment
(self, fragment: &F)
src/ui/screen.rs:414
↓ 1 callersFunctiondraw_ink
(fb: &mut Framebuffer, origin: Point2<i32>, ink: &Ink)
src/ui/screen.rs:57
↓ 1 callersMethodfixup
TODO: maybe we're over-refreshing when annotations are involved. When we change a fragment, we need to redraw the annotations that overlap; but we don
src/ui/screen.rs:217
↓ 1 callersFunctionfull_refresh
Refresh the entire screen, including a flash to clear ghosting. Appropriate between major transitions in the app.
src/ui/screen.rs:19
↓ 1 callersMethodget
(&self, index: usize)
src/ml.rs:113
↓ 1 callersMethodget_mut
(&mut self)
src/app.rs:295
↓ 1 callersFunctiongreedy_decode
(buffer: &[f32])
src/ml.rs:337
↓ 1 callersMethodhash
(&self, state: &mut H)
src/ui/canvas.rs:108
↓ 1 callersFunctionhausdorff_distance
The unidirectional hausdorff distance: the maximum distance between a point on stroke `a` and _any_ point on stroke `b`.
src/math.rs:69
↓ 1 callersMethodhorizontal_space
(&mut self, width: i32, placement: f32)
src/ui/screen.rs:482
↓ 1 callersMethodink_len
(&self)
src/ink.rs:334
↓ 1 callersMethodintersect
(&self, other: Region)
src/geom.rs:111
↓ 1 callersFunctionis_invalid
(text, ink)
script/training.py:398
↓ 1 callersFunctionlevenstein
(a, b)
script/training.py:87
↓ 1 callersFunctionload_docdb
(data_dir, name, data_type)
script/training.py:286
↓ 1 callersFunctionload_inks
(filename)
script/training.py:60
↓ 1 callersFunctionload_ondb
(data_dir, name)
script/training.py:131
↓ 1 callersMethodmap_region
(&mut self, map_fn: impl FnOnce(Region) -> Region)
src/ui/widget.rs:75
↓ 1 callersFunctionmin_distance
(data: &Ink, distance: f32)
src/math.rs:88
↓ 1 callersMethododds
(&self, input: &str, ch: char)
src/bin/test-tflite.rs:30
↓ 1 callersMethododds_end
(&self, _prefix: &str)
src/ml.rs:361
↓ 1 callersMethodon_event
(&mut self, event: InputEvent)
src/input.rs:118
↓ 1 callersMethodpad
(&mut self, padding: i32)
src/ui/widget.rs:71
↓ 1 callersFunctionparse_trace_string
(text)
script/training.py:314
↓ 1 callersFunctionpartial_refresh
Refresh a region of the screen. Appropriate for greyscale, including images and text.
src/ui/screen.rs:31
↓ 1 callersMethodpoints
(&self)
src/dollar.rs:14
↓ 1 callersMethodrecenter_on
(&mut self, center: Point2<f32>)
src/dollar.rs:82
↓ 1 callersMethodremaining
(&self)
src/ui/widget.rs:316
↓ 1 callersMethodrender
(&self, view: View<Self::Message>)
src/ui/widget.rs:231
↓ 1 callersMethodrender_placed
( &self, mut view: View<Self::Message>, horizontal_placement: f32, vertical_pl
src/ui/widget.rs:172
↓ 1 callersFunctionsave_prediction_model
(model, path, steps=4000)
script/training.py:524
↓ 1 callersMethodscale_by
(&mut self, scale: f32)
src/dollar.rs:70
↓ 1 callersMethodset_length
Adjust the line length by resizing the spaces between words. This is likely to look quite ugly for large adjustments... be judicious.
src/ui/text.rs:491
↓ 1 callersMethodsize
(&self)
src/ink.rs:26
↓ 1 callersMethodsize
(&self)
examples/demo.rs:97
↓ 1 callersMethodsize
(&self)
examples/todo.rs:122
↓ 1 callersMethodsmooth
(&mut self, half_life: f32)
src/ink.rs:281
↓ 1 callersFunctionspace_width
(font: &Font, scale: Scale)
src/ui/text.rs:12
↓ 1 callersFunctionto_deltas
(pairs)
script/training.py:463
↓ 1 callersMethodto_swipe
(&self)
src/input.rs:58
↓ 1 callersFunctiontransform
(strokes)
script/training.py:449
↓ 1 callersMethodtranslate
(&self, vec: Vector2<i32>)
src/geom.rs:52
↓ 1 callersMethodunion
(&self, other: Region)
src/geom.rs:132
↓ 1 callersFunctionvalidate
(pairs)
script/training.py:611
↓ 1 callersMethodvertical_space
(&mut self, height: i32, placement: f32)
src/ui/screen.rs:486
↓ 1 callersMethodwakeup
(&mut self)
src/app.rs:59
↓ 1 callersMethodwidth
(&self)
src/ui/text.rs:58
↓ 1 callersMethodwrite_to
(&self, buffer: &mut [f32])
src/ml.rs:53
↓ 1 callersFunctionxy_distance2
(p0: Point3<f32>, p1: Point3<f32>)
src/math.rs:9
Method__init__
(self, name=None)
script/training.py:475
Methodadd
(self, rhs: Coord3D)
src/ml.rs:129
Methodadd_assign
(&mut self, rhs: f32)
src/ink.rs:32
Methodannotate
(&mut self, ink: &Ink)
src/ui/screen.rs:374
Methodarea
(&self)
src/geom.rs:47
Functionaugment_text
(from_path, to_path, subset, target_size)
script/training.py:691
Methodbaseline
(mut self, from_top: f32)
src/ui/text.rs:231
Methodbinary_search
(points: &[Point3<f32>], x: f32)
src/ink.rs:232
Methodbuilder
(height: i32, font: &'a Font<'static>)
src/ui/text.rs:127
Methodcall
(self, true_labels, true_lengths, predicted_labels, predicted_lengths)
script/training.py:478
Methodclamp
(low: &mut i32, high: &mut i32)
src/geom.rs:149
Methodclear
(&mut self)
src/ui/widget.rs:326
Functioncreate_keras
(path, step_size)
script/training.py:835
Methodcurrent
(&self)
src/ui/widget.rs:418
Methodcurrent_index
(&self)
src/ui/widget.rs:414
Methodcurrent_mut
(&mut self)
src/ui/widget.rs:422
Methoddefault
()
src/ink.rs:55
Methodderef
(&self)
src/ui/widget.rs:370
Methodderef_mut
(&mut self)
src/ui/widget.rs:376
Methoddeserialize
(deserializer: D)
src/ink.rs:83
Functiondo_train
(root, trainset, validset, model, checkpoint)
script/training.py:724
Methoddo_visit
( tree: &mut DrawTree, mut damaged: Region, on_visit: &mut impl FnMut(Regi
src/ui/screen.rs:130
Functiondocdb_to_text
(docdb_path, text_path, subset, data_type)
script/training.py:681
Methoddraw
(&self, canvas: &mut Canvas)
src/ui/canvas.rs:80
Methoddrop
(&mut self)
src/ui/screen.rs:347
Methodelements
(&self)
src/ui/widget.rs:312
Methodeq
(&self, _other: &Self)
src/ml.rs:93
Functionfit_batches
(batch)
script/training.py:755
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/ink.rs:61
Methodfmt
(&self, f: &mut Formatter<'_>)
src/ui/text.rs:52
Methodfont
(mut self, font: &'a Font<'static>)
src/ui/text.rs:221
Methodfrom
(err: tflite::Error)
src/ml.rs:27
Methodfrom_biggest_components
(_p1: Self, _p2: Self)
src/ml.rs:117
Methodfrom_components
(_components: &[f64])
src/ml.rs:101
Methodfrom_font
Create a new builder based on a specific font. This chooses the text baseline based on the ascender height in the font given.
src/ui/text.rs:206
Methodfrom_smallest_components
(_p1: Self, _p2: Self)
src/ml.rs:121
Methodfrom_string
(input: &str)
src/ink.rs:189
Methodfully_render
( screen: &mut Screen, widget: &mut W, messages: &mut Vec<W::Message>,
src/app.rs:117
Methodink_start
(&self)
src/input.rs:114
Methodinto_any
(self)
src/ui/widget.rs:274
Methodinto_inner
(self)
src/app.rs:291
← previousnext →101–200 of 266, ranked by callers