MCPcopy Create free account

hub / github.com/DioxusLabs/anyrender / functions

Functions446 in github.com/DioxusLabs/anyrender

↓ 2 callersMethodoverride_limits
(&self)
crates/wgpu_context/src/lib.rs:142
↓ 2 callersFunctionpath_from_shape
(shape: &impl Shape)
crates/anyrender_skia/src/scene.rs:1129
↓ 2 callersMethodpush_clip_layer
(&mut self, transform: Affine, clip: &impl Shape)
crates/anyrender/src/recording.rs:201
↓ 2 callersMethodpush_layer
( &mut self, blend: impl Into<BlendMode>, alpha: f32, transform: Affine,
crates/anyrender/src/recording.rs:179
↓ 2 callersFunctionrad_to_deg
(rad: f32)
crates/anyrender_skia/src/scene.rs:798
↓ 2 callersMethodrecreate_swapchain
(&mut self)
crates/anyrender_skia/src/vulkan.rs:167
↓ 2 callersFunctionrender_layout
( scene: &mut Scene, layout: &Layout<()>, font_blob: &Blob<u8>, transform: Affine, color:
examples/serialize/src/main.rs:242
↓ 2 callersFunctionrender_scene_to_buffer
Render a scene to an RGBA buffer using Vello CPU.
examples/serialize/src/main.rs:306
↓ 2 callersFunctionrender_svg_tree_with
Append a [`usvg::Tree`] to an [`anyrender::PaintScene`] (with custom error handling). See the [module level documentation](crate#unsupported-features
crates/anyrender_svg/src/lib.rs:72
↓ 2 callersMethodrender_to_vec
( &mut self, _draw_fn: F, _vec: &mut Vec<u8>, )
crates/anyrender/src/null_backend.rs:76
↓ 2 callersMethodrequest_redraw
(&mut self)
examples/player/src/main.rs:107
↓ 2 callersMethodreset
(&mut self)
crates/anyrender/src/recording.rs:175
↓ 2 callersMethodresize
(&mut self, width: u32, height: u32)
crates/anyrender_vello_cpu/src/image_renderer.rs:23
↓ 2 callersMethodresize
(&mut self, width: u32, height: u32)
crates/anyrender_vello/src/image_renderer.rs:57
↓ 2 callersMethodresize
(&mut self, width: u32, height: u32)
crates/anyrender_skia/src/image_renderer.rs:37
↓ 2 callersMethodresume
( &mut self, _window: Arc<dyn WindowHandle>, _width: u32, _height: u32,
crates/anyrender/src/null_backend.rs:24
↓ 2 callersFunctionrrect_from
(rrect: RoundedRect)
crates/anyrender_skia/src/scene.rs:1063
↓ 2 callersMethodset_has_value
(&mut self)
crates/anyrender_serialize/src/json_formatter.rs:51
↓ 2 callersMethodset_output
Set the output filter for the graph.
crates/anyrender/src/filters.rs:135
↓ 2 callersMethodset_paint_alpha
(&mut self, alpha: f32)
crates/anyrender_skia/src/scene.rs:87
↓ 2 callersMethodset_size
(&mut self, w: u32, h: u32)
examples/bunnymark/src/main.rs:52
↓ 2 callersFunctionstroke
( scene: &mut S, error_handler: &mut F, path: &Path, transform: Affine, local_path: &BezPa
crates/anyrender_svg/src/render.rs:176
↓ 2 callersFunctionto_affine
(ts: &usvg::Transform)
crates/anyrender_svg/src/util.rs:12
↓ 2 callersFunctionto_bez_path
(path: &usvg::Path)
crates/anyrender_svg/src/util.rs:67
↓ 2 callersFunctionto_brush
(paint: &usvg::Paint, opacity: usvg::Opacity)
crates/anyrender_svg/src/util.rs:132
↓ 2 callersMethodupdate
(&mut self, canvas: Size)
examples/bunnymark/src/bunny.rs:35
↓ 2 callersMethodwith_subset_fonts
Subset fonts to only include glyphs used in the scene.
crates/anyrender_serialize/src/lib.rs:650
↓ 2 callersMethodwith_woff2_fonts
WOFF2-compress font data.
crates/anyrender_serialize/src/lib.rs:656
↓ 1 callersMethodacquire_reconfiguring_if_stale
Acquire a usable surface texture. A `Suboptimal` texture is still presentable, so it is rendered as-is — size changes are reconfigured in `resize`, so
crates/wgpu_context/src/surface_renderer.rs:206
↓ 1 callersMethodadd_bunnies
(&mut self, count: usize)
examples/bunnymark/src/bunny.rs:89
↓ 1 callersMethodapply_transform
Apply the specific transform to the command
crates/anyrender/src/recording.rs:37
↓ 1 callersFunctionarchive_serialize_to_vec
(archive: &SceneArchive)
crates/anyrender_serialize/tests/serialize.rs:371
↓ 1 callersFunctionblend_mode_from
(blend_mode: BlendMode)
crates/anyrender_skia/src/scene.rs:1002
↓ 1 callersMethodblit_from_intermediate_texture_to_surface
Blit from the intermediate texture to the surface texture
crates/wgpu_context/src/surface_renderer.rs:272
↓ 1 callersFunctionblock_on_wgpu
(device: &Device, fut: F)
crates/wgpu_context/src/util.rs:8
↓ 1 callersMethodbounds_expansion
Get the accumulated bounds expansion for all primitives in this graph. This returns the expansion required by all primitives in the graph, representi
crates/anyrender/src/filters.rs:173
↓ 1 callersFunctionbuild_wgpu_context
(config: &VelloHybridRendererOptions)
crates/anyrender_vello_hybrid/src/window_renderer.rs:103
↓ 1 callersFunctionbuild_wgpu_context
(config: &VelloRendererOptions)
crates/anyrender_vello/src/window_renderer.rs:153
↓ 1 callersMethodclear_bunnies
(&mut self)
examples/bunnymark/src/bunny.rs:94
↓ 1 callersMethodconcat_matrix
(&self, transform: kurbo::Affine)
crates/anyrender_skia/src/scene.rs:105
↓ 1 callersMethodcontains_key
(&mut self, key: &Q)
crates/anyrender_skia/src/cache.rs:53
↓ 1 callersFunctionconvert_filter_effect
(effect: &FilterEffect)
crates/anyrender_vello_hybrid/src/filters.rs:20
↓ 1 callersFunctionconvert_filter_effect
(effect: &FilterEffect)
crates/anyrender_vello_cpu/src/filters.rs:23
↓ 1 callersFunctionconvert_filter_effect
(filter: &Filter, id: FilterId)
crates/anyrender_skia/src/scene.rs:590
↓ 1 callersFunctionconvert_from_rgba
Convert RGBA8 data to the target [`ImageFormat`].
crates/anyrender_serialize/src/lib.rs:362
↓ 1 callersFunctionconvert_image_cached
(image: &peniko::ImageData)
crates/anyrender_vello_cpu/src/scene.rs:29
↓ 1 callersMethodconvert_image_paint
(&mut self, image_brush: peniko::ImageBrushRef<'_>)
crates/anyrender_vello_hybrid/src/webgl_scene.rs:87
↓ 1 callersFunctionconvert_to_rgba
Convert [`ImageData`] to RGBA8 format.
crates/anyrender_serialize/src/lib.rs:380
↓ 1 callersMethodcreate_buffer_renderer
Creates a new `BufferRenderer` for the specified dimensions.
crates/wgpu_context/src/lib.rs:180
↓ 1 callersFunctioncreate_bunny_image
()
examples/bunnymark/src/bunny.rs:121
↓ 1 callersFunctioncreate_checkerboard_image
Create a checkerboard image for demonstrating image brushes.
examples/serialize/src/main.rs:282
↓ 1 callersFunctioncreate_demo_scene
()
examples/serialize/src/main.rs:62
↓ 1 callersMethodcreate_device_handle
( &self, compatible_surface: Option<&Surface<'_>>, )
crates/wgpu_context/src/lib.rs:227
↓ 1 callersFunctioncreate_gr_context
( entry: &Entry, instance: &Instance, physical_device: PhysicalDevice, device: Arc<Device>,
crates/anyrender_skia/src/vulkan.rs:555
↓ 1 callersFunctioncreate_instance
(entry: &Entry, display_handle: DisplayHandle<'_>)
crates/anyrender_skia/src/vulkan.rs:361
↓ 1 callersFunctioncreate_logical_device
( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, )
crates/anyrender_skia/src/vulkan.rs:433
↓ 1 callersMethodcreate_surface
Creates a new surface for the specified window and dimensions.
crates/wgpu_context/src/lib.rs:76
↓ 1 callersFunctioncreate_sync_objects
(device: &Device)
crates/anyrender_skia/src/vulkan.rs:598
↓ 1 callersFunctiondecode_png_to_rgba
(png_data: &[u8])
crates/anyrender_serialize/src/lib.rs:356
↓ 1 callersFunctiondecode_raw_raster_image
( img: &usvg::ImageKind, )
crates/anyrender_svg/src/util.rs:234
↓ 1 callersFunctiondefault_scene
()
examples/player/src/main.rs:261
↓ 1 callersFunctiondeserialize_from_slice
(data: &[u8])
crates/anyrender_serialize/tests/serialize.rs:367
↓ 1 callersMethoddraw_box_shadow
( &mut self, transform: kurbo::Affine, rect: kurbo::Rect, brush: peniko::Color
crates/anyrender_skia/src/scene.rs:545
↓ 1 callersMethoddraw_shape
(&mut self, shape: &impl kurbo::Shape)
crates/anyrender_skia/src/scene.rs:202
↓ 1 callersFunctiondraw_text_with_parley
Lay out text with parley using the Roboto font and draw it onto the scene.
examples/serialize/src/main.rs:198
↓ 1 callersFunctionencode_rgba_to_png
(rgba_data: &[u8], width: u32, height: u32)
crates/anyrender_serialize/src/lib.rs:345
↓ 1 callersMethodexpansion_rect
(&self)
crates/anyrender/src/filters.rs:179
↓ 1 callersMethodface_index
The face index to store in [`crate::FontResourceId`]. When subsetting is enabled, faces are extracted into standalone fonts so the index is always 0.
crates/anyrender_serialize/src/font_writer.rs:88
↓ 1 callersMethodget_cmd
(&mut self, last_cmd: u8)
crates/anyrender/src/svg_path_parser.rs:212
↓ 1 callersMethodget_image
(&self, id: ResourceId)
crates/anyrender_serialize/src/lib.rs:257
↓ 1 callersMethodget_or_cache_font
( &mut self, font: &peniko::FontData, normalized_coords: &[anyrender::NormalizedCoord]
crates/anyrender_skia/src/scene.rs:238
↓ 1 callersMethodget_or_cache_normalized_typeface
( &mut self, font: &peniko::FontData, normalized_coords: &[anyrender::NormalizedCoord]
crates/anyrender_skia/src/scene.rs:280
↓ 1 callersFunctionhex_encode
(bytes: &[u8])
crates/anyrender_serialize/src/lib.rs:335
↓ 1 callersFunctioninto_image
(image: image::ImageBuffer<image::Rgba<u8>, Vec<u8>>)
crates/anyrender_svg/src/util.rs:118
↓ 1 callersMethodinto_processed
Consume the writer, returning an iterator of processed fonts ready for the archive.
crates/anyrender_serialize/src/font_writer.rs:97
↓ 1 callersMethodis_active
(&self)
examples/bunnymark/src/main.rs:42
↓ 1 callersMethodis_active
(&self)
examples/player/src/main.rs:75
↓ 1 callersFunctionm44_from_affine
(affine: Affine)
crates/anyrender_skia/src/scene.rs:1074
↓ 1 callersFunctionmatrix_from_affine
(affine: Affine)
crates/anyrender_skia/src/scene.rs:1103
↓ 1 callersMethodoutput
The output filter for the graph.
crates/anyrender/src/filters.rs:130
↓ 1 callersFunctionparse_svg_path
Try to parse a bezier path from an SVG path element. This is implemented on a best-effort basis, intended for cases where the user controls the sourc
crates/anyrender/src/svg_path_parser.rs:16
↓ 1 callersFunctionpath_fill_type_from_fill
(fill: Fill)
crates/anyrender_skia/src/scene.rs:936
↓ 1 callersFunctionpick_physical_device
( instance: &Instance, surface_fns: &InstanceSurfaceFns, surface: SurfaceKHR, )
crates/anyrender_skia/src/vulkan.rs:382
↓ 1 callersMethodposition
(&self)
examples/bunnymark/src/bunny.rs:28
↓ 1 callersMethodprepare
(&mut self)
crates/anyrender_skia/src/metal.rs:98
↓ 1 callersMethodpush_clip_layer
(&mut self, transform: kurbo::Affine, clip: &impl kurbo::Shape)
crates/anyrender_skia/src/scene.rs:450
↓ 1 callersMethodrecord_glyphs
Record glyph IDs used for a font resource (used for subsetting).
crates/anyrender_serialize/src/font_writer.rs:75
↓ 1 callersMethodregister
Register a font and return its [`ResourceId`].
crates/anyrender_serialize/src/font_writer.rs:54
↓ 1 callersMethodregister_image
Register an image and return its [`ResourceId`].
crates/anyrender_serialize/src/lib.rs:161
↓ 1 callersMethodrender
(&mut self, draw_fn: F, buffer: &mut [u8])
crates/anyrender_vello_cpu/src/image_renderer.rs:31
↓ 1 callersMethodrender
( &mut self, draw_fn: F, cpu_buffer: &mut [u8], )
crates/anyrender_vello/src/image_renderer.rs:75
↓ 1 callersFunctionrender_group
( scene: &mut S, group: &usvg::Group, transform: Affine, global_transform: Affine, error_h
crates/anyrender_svg/src/render.rs:10
↓ 1 callersFunctionrender_svg_tree
Append a [`usvg::Tree`] to an [`anyrender::PaintScene`]. This will draw a red box over (some) unsupported elements.
crates/anyrender_svg/src/lib.rs:65
↓ 1 callersMethodreset
(&mut self)
crates/anyrender_vello_hybrid/src/scene.rs:171
↓ 1 callersMethodreset
(&mut self)
crates/anyrender_vello/src/image_renderer.rs:61
↓ 1 callersMethodreset
(&mut self)
crates/anyrender_vello/src/scene.rs:65
↓ 1 callersMethodreset
(&mut self)
crates/anyrender_skia/src/scene.rs:413
↓ 1 callersMethodset_paint_blend_mode
(&mut self, blend_mode: impl Into<peniko::BlendMode>)
crates/anyrender_skia/src/scene.rs:95
↓ 1 callersMethodset_paint_filter
(&mut self, filter: ImageFilter)
crates/anyrender_skia/src/scene.rs:91
↓ 1 callersMethodset_size
(&mut self, w: u32, h: u32)
examples/player/src/main.rs:86
← previousnext →101–200 of 446, ranked by callers