Expand description
All Sk* types are accessible via skia_safe::
Modules§
Enums§
- Backend
Handle Access - Backend
Surface Access - Content
Change Mode - ContentChangeMode members are parameters to
Surface::notify_content_will_change().
Type Aliases§
- Surface
Surfaceis responsible for managing the pixels that a canvas draws into. The pixels can be allocated either in CPU memory (a raster surface) or on the GPU (aRenderTargetsurface).Surfacetakes care of allocating aCanvasthat will draw into the surface. Callsurface_get_canvas()to use that canvas (but don’t delete it, it is owned by the surface).Surfacealways has non-zero dimensions. If there is a request for a new surface, and either of the requested dimensions are zero, thenNonewill be returned.