Results for “Std.Ui.Canvas.Surface”
9 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Ui.Canvas.Surface
A row-major RGBA framebuffer produced opaque by
render. - Std.Ui.Canvas.pixelAt
&Std.Ui.Canvas.Surface -> Std.Ui.Canvas.Point -> Result[Option[Std.Ui.Canvas.Color], Std.Ui.Canvas.CanvasError]The color of one pixel, or nothing outside the surface.
- Std.Ui.Canvas.render
&Std.Ui.Canvas.Canvas -> Result[Std.Ui.Canvas.Surface, Std.Ui.Canvas.CanvasError]Render the display list into an opaque row-major RGBA framebuffer.
- Std.Ui.Canvas.repaint
&Std.Ui.Canvas.Canvas -> &Std.Ui.Canvas.Surface -> &Array[Std.Ui.Canvas.Rect] -> Result[Std.Ui.Canvas.Surface, Std.Ui.Canvas.CanvasError]A surface with regions brought up to date with the display list.
- Std.Ui.Canvas.rgbaBytes
&Std.Ui.Canvas.Surface -> Result[Bytes, Std.Ui.Canvas.CanvasError]The exact row-major RGBA bytes of a rendered surface.
- Std.Ui.Canvas.surfaceSize
&Std.Ui.Canvas.Surface -> Result[Std.Ui.Canvas.Size, Std.Ui.Canvas.CanvasError]The logical dimensions of a rendered surface.
- Std.Ui.Desktop.present
&Std.Ui.Desktop.Session -> &Std.Ui.Canvas.Surface -> Result[(), Std.Ui.Desktop.DesktopError]Replace the pixels shown by a session with one exact Canvas surface.
- Std.Ui.Desktop.showFor
&Std.Ui.Desktop.WindowPlan -> &Std.Ui.Canvas.Surface -> Int -> Result[Bool, Std.Ui.Desktop.DesktopError]Open, present, pump, and close a real window within a bounded interval.
- Std.Ui.Screen.surfaceOf
&Std.Ui.Screen.Screen[S] -> Std.Ui.Canvas.SurfaceThe pixels of the current frame.
