Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/audulus/vger-rs
/ functions
Functions
114 in github.com/audulus/vger-rs
⨍
Functions
114
◇
Types & classes
23
↓ 23 callers
Method
push
(&mut self, value: T)
src/gpu_vec.rs:96
↓ 21 callers
Method
begin
Begin rendering.
src/lib.rs:288
↓ 21 callers
Function
render_test
( vger: &mut Vger, device: &wgpu::Device, queue: &wgpu::Queue, name: &str, capture: bool,
tests/common.rs:140
↓ 21 callers
Function
setup
()
tests/tests.rs:10
↓ 14 callers
Method
len
(&self)
src/gpu_vec.rs:100
↓ 11 callers
Method
linear_gradient
Linear gradient paint.
src/lib.rs:931
↓ 9 callers
Method
add_scissor
(&mut self)
src/lib.rs:843
↓ 9 callers
Method
add_xform
(&mut self)
src/lib.rs:830
↓ 9 callers
Method
clear
(&mut self)
src/atlas.rs:189
↓ 9 callers
Method
render
(&mut self, prim: Prim)
src/lib.rs:401
↓ 8 callers
Method
color_paint
Solid color paint.
src/lib.rs:926
↓ 7 callers
Function
map_err
(r: Result<u8, std::num::ParseIntError>)
src/color.rs:9
↓ 6 callers
Method
bind_group_entry
(&self, binding: u32)
src/gpu_vec.rs:81
↓ 6 callers
Function
hex_digit
(x: u8)
src/color.rs:132
↓ 6 callers
Function
rand2
(rng: &mut T)
tests/tests.rs:280
↓ 6 callers
Method
translate
Translates the coordinate system.
src/lib.rs:855
↓ 5 callers
Method
text
Renders text.
src/lib.rs:695
↓ 4 callers
Method
fill_rect
Fills a rectangle.
src/lib.rs:465
↓ 4 callers
Method
setup_layout
(&mut self, text: &str, size: u32, max_width: Option<f32>)
src/lib.rs:678
↓ 4 callers
Method
stroke_segment
Strokes a line segment.
src/lib.rs:550
↓ 3 callers
Method
create_view
(&self)
src/atlas.rs:180
↓ 3 callers
Method
fill_circle
Fills a circle.
src/lib.rs:406
↓ 3 callers
Function
save_png
( texture: &wgpu::Texture, texture_desc: &wgpu::TextureDescriptor, device: &wgpu::Device, queu
tests/common.rs:199
↓ 3 callers
Method
stroke_rect
Strokes a rectangle.
src/lib.rs:524
↓ 3 callers
Method
update
(&mut self, device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder)
src/atlas.rs:80
↓ 2 callers
Method
add_paint
(&mut self, paint: Paint)
src/lib.rs:914
↓ 2 callers
Function
create_png
( png_output_path: &str, device: &wgpu::Device, output_buffer: wgpu::Buffer, texture_descripto
tests/common.rs:33
↓ 2 callers
Function
get_texture_data
( descriptor: &wgpu::TextureDescriptor, device: &wgpu::Device, queue: &wgpu::Queue, texture: &
tests/common.rs:87
↓ 2 callers
Method
init
(&mut self)
src/path.rs:61
↓ 2 callers
Method
next
(&mut self)
src/path.rs:113
↓ 2 callers
Method
quad_to
Makes a quadratic curve to a point (path fills only)
src/lib.rs:621
↓ 2 callers
Method
scale
Scales the coordinate system.
src/lib.rs:862
↓ 2 callers
Method
scissor
Sets the current scissor rect.
src/lib.rs:882
↓ 2 callers
Method
text_bounds
Calculates the bounds for text.
src/lib.rs:746
↓ 1 callers
Method
add_cv
(&mut self, p: Pt)
src/lib.rs:629
↓ 1 callers
Method
add_region
(&mut self, data: &[u8], width: u32, height: u32)
src/atlas.rs:65
↓ 1 callers
Method
begin
(&mut self, cvs: &[LocalPoint])
src/path.rs:97
↓ 1 callers
Method
encode
Encode all rendering to a command buffer.
src/lib.rs:321
↓ 1 callers
Method
fill
Fills a path.
src/lib.rs:634
↓ 1 callers
Method
fill_blurred_rect
Fills a blurred rectangle.
src/lib.rs:491
↓ 1 callers
Method
get_glyph
(&mut self, c: char, size: f32)
src/glyphs.rs:31
↓ 1 callers
Method
mix
(&self, rhs: Color, s: f32)
src/color.rs:27
↓ 1 callers
Method
move_to
Move the pen to a point (path fills only)
src/lib.rs:616
↓ 1 callers
Method
rounded_scissor
Sets the current scissor to a rounded rect.
src/lib.rs:895
↓ 1 callers
Method
stroke_arc
Strokes an arc.
src/lib.rs:428
↓ 1 callers
Method
stroke_bezier
Strokes a quadratic bezier segment.
src/lib.rs:581
↓ 1 callers
Method
usage
(&self)
src/atlas.rs:185
↓ 1 callers
Method
y_interval
(&self)
src/path.rs:25
Method
alpha
(&self, a: f32)
src/color.rs:36
Method
apply
(&self, p: LocalPoint)
src/paint.rs:18
Function
bezier_stroke_gradient
()
tests/tests.rs:250
Method
bind_group
( device: &wgpu::Device, bind_group_layout: &wgpu::BindGroupLayout, prims: &GPUVec<Pri
src/scene.rs:72
Method
bind_group_layout
(device: &wgpu::Device)
src/scene.rs:59
Method
bind_group_layout_entry
(binding: u32)
src/gpu_vec.rs:68
Method
clear
(&mut self)
src/scene.rs:122
Method
clear
(&mut self)
src/gpu_vec.rs:92
Method
clear
(&mut self)
src/glyphs.rs:78
Method
create_image_pixels
Create an image from pixel data in memory. Must be RGBA8.
src/lib.rs:950
Method
create_view
(&self)
src/glyphs.rs:70
Method
current_transform
Gets the current transform.
src/lib.rs:877
Method
delete_image
(&mut self, image: ImageIndex)
src/lib.rs:1032
Function
fill_blurred_rect
()
tests/tests.rs:91
Function
fill_circle
()
tests/tests.rs:34
Function
fill_circle_array
()
tests/tests.rs:53
Function
fill_circle_translate
()
tests/tests.rs:73
Function
fill_rect
()
tests/tests.rs:108
Function
fill_rect_gradient
()
tests/tests.rs:125
Method
get_packer_config
()
src/atlas.rs:22
Method
get_texture_desc
()
src/atlas.rs:32
Method
glyph_positions
Returns local coordinates of glyphs.
src/lib.rs:769
Method
gray
(lightness: f32)
src/color.rs:14
Method
hex
(hex: &str)
src/color.rs:64
Method
hex_const
(hex: &str)
src/color.rs:86
Method
index
(&self, index: usize)
src/gpu_vec.rs:108
Method
line_metrics
( &mut self, text: &str, size: u32, max_width: Option<f32>, )
src/lib.rs:795
Method
linear_gradient
( start: LocalPoint, end: LocalPoint, inner_color: Color, outer_color: Color,
src/paint.rs:37
Method
new
()
src/lib.rs:66
Method
new
(device: &wgpu::Device)
src/atlas.rs:53
Method
new
(device: &wgpu::Device)
src/scene.rs:22
Method
new
(device: &wgpu::Device, capacity: usize, label: &str)
src/gpu_vec.rs:13
Method
new
(r: f32, g: f32, b: f32, a: f32)
src/color.rs:23
Method
new
(a: LocalPoint, b: LocalPoint, c: LocalPoint)
src/path.rs:17
Method
new
(device: &wgpu::Device)
src/glyphs.rs:18
Method
new_uniforms
(device: &wgpu::Device, label: &str)
src/gpu_vec.rs:29
Function
path_fill
()
tests/tests.rs:285
Function
png_not_black
(path: &str)
tests/common.rs:210
Method
reset_scissor
Resets the current scissor rect.
src/lib.rs:908
Method
restore
Restores rendering state (transform and scissor rect).
src/lib.rs:315
Method
rotate
Rotates the coordinate system.
src/lib.rs:870
Method
save
Saves rendering state (transform and scissor rect).
src/lib.rs:309
Function
segment_stroke_gradient
()
tests/tests.rs:219
Function
segment_stroke_horizontal
()
tests/tests.rs:567
Function
segment_stroke_stress
()
tests/tests.rs:505
Function
segment_stroke_vertical
()
tests/tests.rs:536
Function
setup
()
tests/common.rs:5
Method
solid_color
(color: Color)
src/paint.rs:27
Function
stroke_arc_gradient
()
tests/tests.rs:187
Function
stroke_rect_gradient
()
tests/tests.rs:150
Function
test_color_hex
()
tests/tests.rs:16
Function
test_linear_gradient
()
src/paint.rs:75
next →
1–100 of 114, ranked by callers