- drawImage
bool drawImage(string imagePath, ptrdiff_t x, ptrdiff_t y, ptrdiff_t width, ptrdiff_t height)
- drawImage
bool drawImage(string imagePath, ptrdiff_t x, ptrdiff_t y)
- drawImageStretchedHorizontal
bool drawImageStretchedHorizontal(string imagePath, ptrdiff_t x, ptrdiff_t y, ptrdiff_t width)
Draws an image with a custom width.
- drawImageStretchedVertical
bool drawImageStretchedVertical(string imagePath, ptrdiff_t x, ptrdiff_t y, ptrdiff_t height)
Draws an image with a custom height.
- drawLine
bool drawLine(ptrdiff_t startX, ptrdiff_t startY, ptrdiff_t endX, ptrdiff_t endY, Color color)
- drawRectangle
bool drawRectangle(ptrdiff_t x, ptrdiff_t y, ptrdiff_t width, ptrdiff_t height, Color color, bool fill)
- drawText
bool drawText(string text, TextOptions options)
- finalize
void finalize()
Finalizes the image. (Removes the last temp image and creates the final output image file.)
- flipHorizontal
bool flipHorizontal()
Flips the image horizontal.
- flipVertical
bool flipVertical()
Flips the image vertically.
- inverseColors
bool inverseColors()
- merge
bool merge(string imagePath)
Merges another image on-top.
- rotate180
bool rotate180()
Rotate the image 180 degrees.
- rotate90
bool rotate90()
Rotates the image 90 degrees.
- turnBlackAndWhite
bool turnBlackAndWhite()
Turns the image black and white.
An image manager.