Struct fltk::image::PngImage [−][src]
pub struct PngImage { /* fields omitted */ }
Expand description
Creates a struct holding a PNG image
Implementations
Loads the image from a filesystem path, doesn’t check for the validity of the data
Errors
Errors on non-existent path or invalid format
Trait Implementations
Draws the image at the presupplied coordinates and size
Retunrs a pointer of the image Read more
Transforms a raw image pointer to an image Read more
Returns the underlying raw rgb image data
Returns the underlying raw image data
Scales the image
Gets the image’s depth
INTERNAL: Manually increment the atomic refcount Read more
INTERNAL: Manually decrement the atomic refcount Read more
Checks if the image was deleted
Transforms an Image base into another Image Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more