Skip to main content

Module core

Module core 

Source

Modules§

cursor
dock
effects
file_dialog
Portable file-dialog contracts.
geometry
ids
image
incoming_open
Portable “open-in” / incoming-open contracts.
input
layout_direction
materials
panels
render_text
scene
semantics
services
share
Portable share-sheet (export) contracts.
streaming
svg
text
time
Cross-platform time primitives.
utf
UTF-8 / UTF-16 index conversion helpers.
vector_path
viewport
window

Structs§

AppWindowId
AttributedText
ClipboardAccessError
ClipboardToken
Color
CompositeGroupDesc
Descriptor for an isolated compositing group (ADR 0247).
Corners
CustomEffectDescriptorV1
Descriptor used to register a bounded custom effect (v1).
CustomEffectDescriptorV2
Descriptor used to register a bounded custom effect (v2).
CustomEffectDescriptorV3
Descriptor used to register a bounded custom effect (v3).
DockFloatingWindow
DockGraph
DockLayout
DockLayoutBuilder
Convenience helpers to build a DockGraph (runtime dock tree) without manually calling DockGraph::insert_node everywhere.
DockLayoutFloatingWindow
DockLayoutValidationError
DockLayoutWindow
DockNodeId
DockOpApplyError
DockRect
DockWindowPlacement
DrawOrder
Edges
EditorDockLayoutSpec
EffectChain
EffectId
EffectParamsV1
Fixed-size custom effect parameters (v1).
ExternalDragEvent
ExternalDragFile
ExternalDragFiles
ExternalDropDataEvent
ExternalDropFileData
ExternalDropReadError
ExternalDropReadLimits
ExternalDropToken
FileDialogDataEvent
FileDialogFilter
FileDialogOptions
FileDialogSelection
FileDialogToken
FillStyle
FontWeight
FrameId
GradientStop
HitTestResult
ImageColorInfo
Stable metadata describing how to interpret pixel bytes for streaming images (ADR 0124).
ImageId
ImageUpdateToken
ImageUploadToken
IncomingOpenDataEvent
IncomingOpenToken
InternalDragEvent
LinearGradient
MaterialDescriptor
Backend-agnostic descriptor used to register a material pipeline.
MaterialId
MaterialParams
Modifiers
MouseButtons
NodeId
PanelKey
Stable identity for a specific dockable panel instance.
PanelKind
Stable panel identity used for docking persistence and plugin registration.
PathConstraints
PathId
PathMetrics
Point
PointerCancelEvent
PointerId
Stable pointer/contact identifier used for multi-pointer input routing.
Px
RadialGradient
Rect
RectPx
RenderTargetId
RendererBundledFontProfileSnapshot
Diagnostics-only view of the bundled font profile contract the renderer knows about.
RendererGlyphAtlasPerfSnapshot
RendererTextFallbackPolicySnapshot
Snapshot of the effective renderer font fallback policy, intended for diagnostics bundles.
RendererTextFontTraceEntry
RendererTextFontTraceFamilyUsage
RendererTextFontTraceSnapshot
Per-frame renderer-owned font selection trace, intended for diagnostics bundles.
RendererTextPerfSnapshot
Per-frame renderer-owned text cache counters.
SceneRecording
SceneValidationError
SemanticsActions
SemanticsFlags
SemanticsInlineSpan
SemanticsNode
SemanticsNodeExtra
SemanticsNumeric
SemanticsRoot
SemanticsScroll
SemanticsSnapshot
ShareSheetToken
Size
SplitFractionsUpdate
StreamingUploadPerfSnapshot
Per-frame counters for streaming image uploads (ADR 0121).
StrikethroughStyle
StrokeStyle
StrokeStyleV2
SvgId
SweepGradient
TextBlobId
TextConstraints
TextFontAxisSetting
A single variable font axis setting, identified by a 4-byte OpenType axis tag.
TextFontFamilyConfig
Overrides for the default font family selection used by the text system.
TextFontFeatureSetting
A single OpenType font feature setting, identified by a 4-byte OpenType feature tag.
TextInkMetrics
TextLineMetrics
TextMetrics
TextPaintStyle
TextShapingStyle
TextSpan
TextStrutStyle
Paragraph-level strut style used to stabilize line box metrics across fallback runs.
TextStyle
TextStyleRefinement
Partial, mergeable subtree text-style refinement used for inherited typography defaults.
TimerToken
Transform2D
A 2D affine transform in logical pixels.
UnderlineStyle
UvRect
ViewId
Window-scoped view identifier used for “dirty view” tracking (GPUI-aligned).
ViewportInputEvent
ViewportInputGeometry
ViewportMapped
ViewportMapping
WindowAnchor
WindowFrameClockService
WindowFrameClockSnapshot
WindowLogicalPosition
Window position in screen space, expressed in logical pixels (see ADR 0017).
WindowMetricsService

Enums§

AlphaMode
Explicit alpha semantics for image updates (ADR 0124 / ADR 0040).
Axis
BlendMode
CaretAffinity
ChromaSiting
ClipboardAccessErrorKind
ClipboardWriteOutcome
ColorPrimaries
ColorRange
ColorScheme
ColorSpace
ContrastPreference
User contrast preference for accessibility.
CursorIcon
Portable cursor icon set for UI → host requests.
CustomEffectProgramLanguage
CustomEffectRegistrationError
DecorationLineStyle
DitherMode
DockLayoutNode
DockLayoutValidationErrorKind
DockNode
DockOp
High-level docking operations emitted by the UI layer and applied by the app layer.
DockOpApplyErrorKind
DropZone
EdgeDockDecision
A pure decision describing how an edge-dock operation will commit in the core graph.
EffectMode
EffectQuality
EffectStep
Event
ExternalDragKind
FillRule
FontId
Stable, portable font identifier used by the UI/runtime.
ForcedColorsMode
Forced colors mode (high contrast) preference.
ImageColorSpace
Color space metadata for image resources.
ImageEncoding
ImageUpdateDropReason
ImeEvent
IncomingOpenItem
IncomingOpenKind
InternalDragKind
KeyCode
Code is the physical position of a key.
LayoutDirection
MaterialBindingShape
Fixed and versioned material binding shapes.
MaterialCatalogTextureKind
Renderer-owned catalog textures that sampled materials may bind (ADR 0242).
MaterialKind
Framework-controlled material kinds intended for lightweight stylization (Tier B).
MaterialRegistrationError
MouseButton
Paint
PathCommand
PathStyle
PointerCancelReason
PointerEvent
PointerType
Pointer device classification for unified pointer events.
RendererTextFontTraceFamilyClass
SceneOp
SceneValidationErrorKind
SemanticsCheckedState
SemanticsInvalid
Indicates if a form control has invalid input (ARIA aria-invalid class).
SemanticsLive
SemanticsOrientation
SemanticsPressedState
SemanticsRole
ShareItem
ShareSheetOutcome
StrokeCapV1
StrokeJoinV1
SvgFit
TextAlign
TextCommonFallbackInjection
TextInput
TextInputRef
TextLeadingDistribution
TextLineHeightPolicy
TextOverflow
TextSlant
TextVerticalPlacement
TextWrap
TileMode
TransferFunction
ViewportFit
ViewportInputKind
YuvMatrix

Constants§

DOCK_LAYOUT_VERSION
MAX_STOPS

Traits§

CustomEffectService
Renderer-owned registry for bounded custom effects.
MaterialService
Renderer-owned registry for framework-controlled materials.
PathService
SvgService
SVG asset registration service.
TextService
UiServices
UI runtime services passed to widgets during layout/paint/event handling.

Functions§

keycode_to_ascii_lowercase
Maps a key code to a lowercase ASCII character for basic typeahead use.

Type Aliases§

Scene