Crate crankit_image

Source
Expand description

A safe and ergonomic image API for the playdate

§Feature flags

  • playdate-sys-v02: implementations of the input source traits for the types &ffi::playdate_graphics of the crate playdate-sys (version 0.2)
  • anyhow: implementations of From error type for anyhow::Error

Modules§

impls
Implementations of the the API traits

Enums§

DrawMode

Traits§

DrawFromOrigin
Ability to draw an image from its origin point (instead of from the top-left)
DrawImage
Ability to draw an image on screen
HasSize
LoadImage
Ability to load an image from path
ToColumns
Split the images into n columns of the same size
ToRows
Split the images into n rows of the same size