osiris-display 0.1.1

A display layer for an Osiris machine.
Documentation
  • Coverage
  • 5.13%
    4 out of 78 items documented0 out of 61 items with examples
  • Size
  • Source code size: 15.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.34 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Trehinos

Osiris/Display

Work in progress.

Provides a display layer for an Osiris machine.

This crate provides :

  • Base types to manipulate displays :
    • A Pixel struct which represents an ARGB value on 16 bits (4 bits per color with a 4 bits alpha channel),
    • A Image struct which represents a surface which is drawable and on which we can draw,
    • A Sprite struct which is an Image which can move on a screen, and,
  • And more evolved utilities :
    • A Screen struct and a ScreenMemory which can be displayed or drawn on,
    • A CachedSprite struct for sprites managed by :
    • The Gpu, which is a facade to operate images in an Osiris machine.

License