Module pixels_graphics_lib::prelude
source · Re-exports
Modules
Structs
This represents an RGBA color and is used to store a pixel by
Image
and PixelsWrapper
Represents a shape that is made of points that can be drawn either as a outline or solid
Images are rectangles of pixels that can be manipulated and drawn on screen
Rectangle
Characters be drawn be at idx * char_width, idx * char_height
Enums
An enumeration of supported image formats.
Not all formats support both encoding and decoding.
Represents one of the shapes from graphics-shapes so they be used in a collection with
generic or type issues
TextSize is used to set the size and positioning in pixels of text
Symbolic name for a keyboard key.
Constants
Traits
Represents anything that Graphics can render