Module spectrusty_core::video
source · Expand description
Re-exports
pub use pixel::Palette;
pub use pixel::PixelBuffer;
Modules
Building blocks for rendering pixel surfaces.
Structs
Bitflags defining ZX Spectrum’s border colors.
General-purpose coordinates, used by various video related methods as a return or an argument type.
Enums
This enum is used to select border size when rendering video frames.
Constants
Maximum border size measured in low-resolution pixels.
A halved count of PAL
pixel columns
(low resolution).A halved count of PAL
pixel lines
(low resolution).Traits
An interface for rendering Spectrum’s pixel data to frame buffers.
A collection of static methods and constants related to video parameters.
Functions
Returns an offset into attributes memory of the given vertical coordinate
y
[0, 192) (0 on top).Returns an offset into INK/PAPER bitmap memory of the given vertical coordinate
y
[0, 192) (0 on top).