Results for “Std.Ui.Canvas.CanvasError”
10 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Ui.Canvas.CanvasError
Why a canvas or drawing command could not be admitted.
- Std.Ui.Canvas.canvas
Int -> Int -> Std.Ui.Canvas.Color -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Canvas.CanvasError]A canvas with the default 16,777,216-pixel allocation budget.
- Std.Ui.Canvas.canvasWithin
Int -> Int -> Std.Ui.Canvas.Color -> Int -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Canvas.CanvasError]A canvas whose maximum pixel allocation is stated by the caller.
- Std.Ui.Canvas.canvasWithinLimits
Int -> Int -> Std.Ui.Canvas.Color -> Int -> Int -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Canvas.CanvasError]A canvas with explicit pixel-allocation and display-list bounds.
- Std.Ui.Canvas.fill
&Std.Ui.Canvas.Canvas -> Std.Ui.Canvas.Rect -> Std.Ui.Canvas.Color -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Canvas.CanvasError]The canvas after filling a rectangle.
- 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.
