libcosmic/cosmic/iced/daemon/program/graphics/index.html
2026-04-18 20:11:25 +00:00

5 lines
No EOL
8.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A bunch of backend-agnostic types that can be leveraged to build a renderer for `iced`."><title>cosmic::iced::daemon::program::graphics - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../../../../../crates.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>iced::<wbr>daemon::<wbr>program</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">iced</a>::<wbr><a href="../../index.html">daemon</a>::<wbr><a href="../index.html">program</a></div><h1>Crate <span>graphics</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A bunch of backend-agnostic types that can be leveraged to build a renderer
for <a href="https://github.com/iced-rs/iced"><code>iced</code></a>.</p>
<p><img src="https://github.com/iced-rs/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true" alt="The native path of the Iced ecosystem" /></p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="cache/index.html" title="mod cosmic::iced::daemon::program::graphics::cache">cache</a></dt><dd>Cache computations and efficiently reuse them.</dd><dt><a class="mod" href="color/index.html" title="mod cosmic::iced::daemon::program::graphics::color">color</a></dt><dd>Manage colors for shaders.</dd><dt><a class="mod" href="compositor/index.html" title="mod cosmic::iced::daemon::program::graphics::compositor">compositor</a></dt><dd>A compositor is responsible for initializing a renderer and managing window
surfaces.</dd><dt><a class="mod" href="core/index.html" title="mod cosmic::iced::daemon::program::graphics::core">core</a></dt><dd>The core library of <a href="https://github.com/iced-rs/iced">Iced</a>.</dd><dt><a class="mod" href="damage/index.html" title="mod cosmic::iced::daemon::program::graphics::damage">damage</a></dt><dd>Compute the damage between frames.</dd><dt><a class="mod" href="error/index.html" title="mod cosmic::iced::daemon::program::graphics::error">error</a></dt><dd>See what can go wrong when creating graphical backends.</dd><dt><a class="mod" href="futures/index.html" title="mod cosmic::iced::daemon::program::graphics::futures">futures</a></dt><dd>Asynchronous tasks for GUI programming, inspired by Elm.</dd><dt><a class="mod" href="geometry/index.html" title="mod cosmic::iced::daemon::program::graphics::geometry">geometry</a></dt><dd>Build and draw geometry.</dd><dt><a class="mod" href="gradient/index.html" title="mod cosmic::iced::daemon::program::graphics::gradient">gradient</a></dt><dd>A gradient that can be used as a fill for some geometry.</dd><dt><a class="mod" href="image/index.html" title="mod cosmic::iced::daemon::program::graphics::image">image</a></dt><dd>Load and operate on images.</dd><dt><a class="mod" href="layer/index.html" title="mod cosmic::iced::daemon::program::graphics::layer">layer</a></dt><dd>Draw and stack layers of graphical primitives.</dd><dt><a class="mod" href="mesh/index.html" title="mod cosmic::iced::daemon::program::graphics::mesh">mesh</a></dt><dd>Draw triangles!</dd><dt><a class="mod" href="shell/index.html" title="mod cosmic::iced::daemon::program::graphics::shell">shell</a></dt><dd>Control the windowing runtime from a renderer.</dd><dt><a class="mod" href="text/index.html" title="mod cosmic::iced::daemon::program::graphics::text">text</a></dt><dd>Draw text.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::Cache">Cache</a></dt><dd>A simple cache that stores generated values to avoid recomputation.</dd><dt><a class="struct" href="struct.Settings.html" title="struct cosmic::iced::daemon::program::graphics::Settings">Settings</a></dt><dd>The settings of a renderer.</dd><dt><a class="struct" href="struct.Shell.html" title="struct cosmic::iced::daemon::program::graphics::Shell">Shell</a></dt><dd>A windowing shell.</dd><dt><a class="struct" href="struct.Viewport.html" title="struct cosmic::iced::daemon::program::graphics::Viewport">Viewport</a></dt><dd>A viewing region for displaying computer graphics.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Antialiasing.html" title="enum cosmic::iced::daemon::program::graphics::Antialiasing">Antialiasing</a></dt><dd>An antialiasing strategy.</dd><dt><a class="enum" href="enum.Error.html" title="enum cosmic::iced::daemon::program::graphics::Error">Error</a></dt><dd>An error that occurred while creating an applications graphical context.</dd><dt><a class="enum" href="enum.Gradient.html" title="enum cosmic::iced::daemon::program::graphics::Gradient">Gradient</a></dt><dd>A fill which linearly interpolates colors along a direction.</dd><dt><a class="enum" href="enum.Image.html" title="enum cosmic::iced::daemon::program::graphics::Image">Image</a></dt><dd>A raster or vector image.</dd><dt><a class="enum" href="enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh">Mesh</a></dt><dd>A low-level primitive to render a mesh of triangles.</dd><dt><a class="enum" href="enum.Text.html" title="enum cosmic::iced::daemon::program::graphics::Text">Text</a></dt><dd>A text primitive.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Compositor.html" title="trait cosmic::iced::daemon::program::graphics::Compositor">Compositor</a></dt><dd>A graphics compositor that can draw to windows.</dd><dt><a class="trait" href="trait.Layer.html" title="trait cosmic::iced::daemon::program::graphics::Layer">Layer</a></dt><dd>A layer of graphical primitives.</dd></dl></section></div></main></body></html>