Skip to content

Rendering

Page
Render Commands

Classes

Page
ui::AnimatedIconSource AnimatedIcon's source interface: an AnimatedVisualSource with named markers, each mapping a state name (such as "PointerOver") to the normalized progress point of that state's pose.
ui::AnimatedVisualSource The content an AnimatedVisualPlayer plays: an animation with a fixed size and length whose render_frame() draws any point of it through Renderer.
ui::Bitmap A CPU bitmap, 4 bytes per pixel: RGBA with straight alpha unless made in another PixelFormat.
ui::ClipScope Pushes a clip when it is made and pops it when it goes out of scope, so an early return cannot leave the clip pushed.
ui::ContextMenuHost Shows a context menu drawn by the system on a control's behalf.
ui::FontName A font family name kept inline, so whatever holds one owns its copy: a name taken from a std::string stays valid after the string is gone.
ui::GradientStops The stops of a gradient brush, in order: a list kept inside the brush up to four stops, so handing a theme's gradient to a control or a renderer allocates nothing.
ui::IconSource An icon as a value: a glyph, a symbol, a path or a picture, held by whatever shows an icon without hosting it as a child element.
ui::ImageSource What an Image element shows: a still Bitmap, an AnimatedImage or an SvgImage, held by value.
ui::NativeHost The interface between a NativeControl, a leaf wrapping a real Win32 child window such as RichEdit, a shell control or WebView2, and whatever owns the real HWND.
ui::OpacityLayerScope Pushes an opacity layer when it is made and pops it when it goes out of scope.
ui::PathGeometry A set of figures and the fill rule between them: what a Path, a path icon or any other Shape draws.
ui::Renderer The drawing surface every Element::render() draws through.
ui::RenderRecording A Renderer that keeps every call, with its full arguments, so it can be replayed into any other Renderer later, any number of times: a resolution-independent snapshot of an element.
ui::SpellChecker The spell-checking service a text control asks for misspellings, suggestions and autocorrections.
ui::SvgImage An SVG document as image content: the markup, kept as text, plus the natural size read from its root element.
ui::TextAnalyzer Unicode text segmentation and case mapping over UTF-8: where a caret may stop, what counts as a word character, and how CharacterCasing changes typed text.
ui::TextLayout Paragraphs of differently styled runs broken into lines, with the geometry selection needs: the engine behind TextControl inlines, RichText and a multi-line TextBox.
ui::TextMeasurer Measures text.
ui::TransformScope Pushes a transform when it is made and pops it when it goes out of scope.

Structs

Page
ui::AcrylicBrush An in-app acrylic material: what is behind the shape, over an opaque fallback, blurred (a Gaussian of standard deviation 30), then a Luminosity blend with effective_luminosity() and a Color blend with effective_tint().
ui::AnimatedImage An animated picture: a decoded animated GIF.
ui::ContextMenuItem One entry of a system context menu shown through ContextMenuHost::show(): a text item or a separator.
ui::CubicBezier A cubic Bézier easing curve.
ui::FocusRingStyle The focus visual's parameters as plain data.
ui::GradientStop One color stop of a gradient brush.
ui::IconGlyph One symbol-font glyph, the way every Fluent control draws its small marks (checkmark, chevron, overflow "more"): a codepoint, a font family and a default size.
ui::ImageDecodeOptions What Bitmap::decode()/read() should do beyond decoding.
ui::ImageDiff Comparison result for golden-image tests, from compare().
ui::LinearGradientBrush A linear gradient running along one GradientAxis of the painted bounds.
ui::Matrix An affine transform in row-vector layout: x' = x*m11 + y*m21 + dx, y' = x*m12 + y*m22 + dy.
ui::NativeControlDesc The Win32 child window a NativeControl creates: a window class name, its initial text and style bits.
ui::NativeNotification A Win32 message a hosted window sent its parent about itself (WM_COMMAND, WM_NOTIFY, WM_CTLCOLOR* and a scroll bar's or trackbar's WM_HSCROLL/WM_VSCROLL), handed to the element that owns the window by NativeControl::handle_native_notification().
ui::PathFigure One figure of a geometry: a start point, its segments, whether the last point joins the first and whether the inside is painted.
ui::PathSegment One piece of a figure, starting where the previous one ended.
ui::PushClipRoundedRect A rectangular clip with rounded corners (a card or a tile whose picture follows its rounded edge).
ui::RadialGradientBrush A radial gradient.
ui::ShadowRecipe The two superimposed black shadows that make up a drop shadow: an omnidirectional ambient and a downward-offset directional.
ui::SpellingError One finding of SpellChecker::check(): a range of the checked text and what to do about it.
ui::StrokeStyle A Shape's stroke settings with their defaults.
ui::TextColorSpan A range of text drawn in its own color, such as a token a syntax highlighter colored.
ui::TextEffect A multi-pass text effect carried by TextStyle::effect; the classic themes use it for the engraved disabled-button label.
ui::TextHighlight A range drawn with its own background and/or foreground, such as a highlight or the selection.
ui::TextLayoutOptions How TextLayout::layout() breaks and aligns lines: the paragraph-level settings a TextControl or RichText passes down.
ui::TextLayoutParagraph Runs that flow together, with a margin around the block.
ui::TextLayoutRun One run of same-formatted text in a TextLayout paragraph, with the formatting of any enclosing spans already folded in.
ui::TextMetrics What a TextMeasurer reports for a run of text: its extent, where its first baseline sits and how many lines it took.
ui::TextStyle Everything a Renderer and TextMeasurer need to know about how a run of text looks: font, size, weight, alignment inside its box, wrapping, decorations and spacing.

Namespaces

Page
ui 36 functions, 27 enumerations, 2 aliases
ui::easing 1 functions, 2 constants
ui::elevation_z 6 constants
ui::glyphs 17 constants