Struct fltk::image::SvgImage [−][src]
pub struct SvgImage { /* fields omitted */ }
Expand description
Creates a struct holding an SVG 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
Draws the image at the presupplied coordinates and size and offset cx, cy
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
Transforms the image into an RgbImage
Read more
Scales the image
Return the count of pointers in an image (Pixmaps have more than 1, bitmaps have 0, Rgb based images have 1)
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