MCPcopy Create free account

hub / github.com/audulus/vger-rs / functions

Functions114 in github.com/audulus/vger-rs

↓ 23 callersMethodpush
(&mut self, value: T)
src/gpu_vec.rs:96
↓ 21 callersMethodbegin
Begin rendering.
src/lib.rs:288
↓ 21 callersFunctionrender_test
( vger: &mut Vger, device: &wgpu::Device, queue: &wgpu::Queue, name: &str, capture: bool,
tests/common.rs:140
↓ 21 callersFunctionsetup
()
tests/tests.rs:10
↓ 14 callersMethodlen
(&self)
src/gpu_vec.rs:100
↓ 11 callersMethodlinear_gradient
Linear gradient paint.
src/lib.rs:931
↓ 9 callersMethodadd_scissor
(&mut self)
src/lib.rs:843
↓ 9 callersMethodadd_xform
(&mut self)
src/lib.rs:830
↓ 9 callersMethodclear
(&mut self)
src/atlas.rs:189
↓ 9 callersMethodrender
(&mut self, prim: Prim)
src/lib.rs:401
↓ 8 callersMethodcolor_paint
Solid color paint.
src/lib.rs:926
↓ 7 callersFunctionmap_err
(r: Result<u8, std::num::ParseIntError>)
src/color.rs:9
↓ 6 callersMethodbind_group_entry
(&self, binding: u32)
src/gpu_vec.rs:81
↓ 6 callersFunctionhex_digit
(x: u8)
src/color.rs:132
↓ 6 callersFunctionrand2
(rng: &mut T)
tests/tests.rs:280
↓ 6 callersMethodtranslate
Translates the coordinate system.
src/lib.rs:855
↓ 5 callersMethodtext
Renders text.
src/lib.rs:695
↓ 4 callersMethodfill_rect
Fills a rectangle.
src/lib.rs:465
↓ 4 callersMethodsetup_layout
(&mut self, text: &str, size: u32, max_width: Option<f32>)
src/lib.rs:678
↓ 4 callersMethodstroke_segment
Strokes a line segment.
src/lib.rs:550
↓ 3 callersMethodcreate_view
(&self)
src/atlas.rs:180
↓ 3 callersMethodfill_circle
Fills a circle.
src/lib.rs:406
↓ 3 callersFunctionsave_png
( texture: &wgpu::Texture, texture_desc: &wgpu::TextureDescriptor, device: &wgpu::Device, queu
tests/common.rs:199
↓ 3 callersMethodstroke_rect
Strokes a rectangle.
src/lib.rs:524
↓ 3 callersMethodupdate
(&mut self, device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder)
src/atlas.rs:80
↓ 2 callersMethodadd_paint
(&mut self, paint: Paint)
src/lib.rs:914
↓ 2 callersFunctioncreate_png
( png_output_path: &str, device: &wgpu::Device, output_buffer: wgpu::Buffer, texture_descripto
tests/common.rs:33
↓ 2 callersFunctionget_texture_data
( descriptor: &wgpu::TextureDescriptor, device: &wgpu::Device, queue: &wgpu::Queue, texture: &
tests/common.rs:87
↓ 2 callersMethodinit
(&mut self)
src/path.rs:61
↓ 2 callersMethodnext
(&mut self)
src/path.rs:113
↓ 2 callersMethodquad_to
Makes a quadratic curve to a point (path fills only)
src/lib.rs:621
↓ 2 callersMethodscale
Scales the coordinate system.
src/lib.rs:862
↓ 2 callersMethodscissor
Sets the current scissor rect.
src/lib.rs:882
↓ 2 callersMethodtext_bounds
Calculates the bounds for text.
src/lib.rs:746
↓ 1 callersMethodadd_cv
(&mut self, p: Pt)
src/lib.rs:629
↓ 1 callersMethodadd_region
(&mut self, data: &[u8], width: u32, height: u32)
src/atlas.rs:65
↓ 1 callersMethodbegin
(&mut self, cvs: &[LocalPoint])
src/path.rs:97
↓ 1 callersMethodencode
Encode all rendering to a command buffer.
src/lib.rs:321
↓ 1 callersMethodfill
Fills a path.
src/lib.rs:634
↓ 1 callersMethodfill_blurred_rect
Fills a blurred rectangle.
src/lib.rs:491
↓ 1 callersMethodget_glyph
(&mut self, c: char, size: f32)
src/glyphs.rs:31
↓ 1 callersMethodmix
(&self, rhs: Color, s: f32)
src/color.rs:27
↓ 1 callersMethodmove_to
Move the pen to a point (path fills only)
src/lib.rs:616
↓ 1 callersMethodrounded_scissor
Sets the current scissor to a rounded rect.
src/lib.rs:895
↓ 1 callersMethodstroke_arc
Strokes an arc.
src/lib.rs:428
↓ 1 callersMethodstroke_bezier
Strokes a quadratic bezier segment.
src/lib.rs:581
↓ 1 callersMethodusage
(&self)
src/atlas.rs:185
↓ 1 callersMethody_interval
(&self)
src/path.rs:25
Methodalpha
(&self, a: f32)
src/color.rs:36
Methodapply
(&self, p: LocalPoint)
src/paint.rs:18
Functionbezier_stroke_gradient
()
tests/tests.rs:250
Methodbind_group
( device: &wgpu::Device, bind_group_layout: &wgpu::BindGroupLayout, prims: &GPUVec<Pri
src/scene.rs:72
Methodbind_group_layout
(device: &wgpu::Device)
src/scene.rs:59
Methodbind_group_layout_entry
(binding: u32)
src/gpu_vec.rs:68
Methodclear
(&mut self)
src/scene.rs:122
Methodclear
(&mut self)
src/gpu_vec.rs:92
Methodclear
(&mut self)
src/glyphs.rs:78
Methodcreate_image_pixels
Create an image from pixel data in memory. Must be RGBA8.
src/lib.rs:950
Methodcreate_view
(&self)
src/glyphs.rs:70
Methodcurrent_transform
Gets the current transform.
src/lib.rs:877
Methoddelete_image
(&mut self, image: ImageIndex)
src/lib.rs:1032
Functionfill_blurred_rect
()
tests/tests.rs:91
Functionfill_circle
()
tests/tests.rs:34
Functionfill_circle_array
()
tests/tests.rs:53
Functionfill_circle_translate
()
tests/tests.rs:73
Functionfill_rect
()
tests/tests.rs:108
Functionfill_rect_gradient
()
tests/tests.rs:125
Methodget_packer_config
()
src/atlas.rs:22
Methodget_texture_desc
()
src/atlas.rs:32
Methodglyph_positions
Returns local coordinates of glyphs.
src/lib.rs:769
Methodgray
(lightness: f32)
src/color.rs:14
Methodhex
(hex: &str)
src/color.rs:64
Methodhex_const
(hex: &str)
src/color.rs:86
Methodindex
(&self, index: usize)
src/gpu_vec.rs:108
Methodline_metrics
( &mut self, text: &str, size: u32, max_width: Option<f32>, )
src/lib.rs:795
Methodlinear_gradient
( start: LocalPoint, end: LocalPoint, inner_color: Color, outer_color: Color,
src/paint.rs:37
Methodnew
()
src/lib.rs:66
Methodnew
(device: &wgpu::Device)
src/atlas.rs:53
Methodnew
(device: &wgpu::Device)
src/scene.rs:22
Methodnew
(device: &wgpu::Device, capacity: usize, label: &str)
src/gpu_vec.rs:13
Methodnew
(r: f32, g: f32, b: f32, a: f32)
src/color.rs:23
Methodnew
(a: LocalPoint, b: LocalPoint, c: LocalPoint)
src/path.rs:17
Methodnew
(device: &wgpu::Device)
src/glyphs.rs:18
Methodnew_uniforms
(device: &wgpu::Device, label: &str)
src/gpu_vec.rs:29
Functionpath_fill
()
tests/tests.rs:285
Functionpng_not_black
(path: &str)
tests/common.rs:210
Methodreset_scissor
Resets the current scissor rect.
src/lib.rs:908
Methodrestore
Restores rendering state (transform and scissor rect).
src/lib.rs:315
Methodrotate
Rotates the coordinate system.
src/lib.rs:870
Methodsave
Saves rendering state (transform and scissor rect).
src/lib.rs:309
Functionsegment_stroke_gradient
()
tests/tests.rs:219
Functionsegment_stroke_horizontal
()
tests/tests.rs:567
Functionsegment_stroke_stress
()
tests/tests.rs:505
Functionsegment_stroke_vertical
()
tests/tests.rs:536
Functionsetup
()
tests/common.rs:5
Methodsolid_color
(color: Color)
src/paint.rs:27
Functionstroke_arc_gradient
()
tests/tests.rs:187
Functionstroke_rect_gradient
()
tests/tests.rs:150
Functiontest_color_hex
()
tests/tests.rs:16
Functiontest_linear_gradient
()
src/paint.rs:75
next →1–100 of 114, ranked by callers