|
| | Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) |
| |
| | Image (const ::Image &image) |
| |
| | Image (const ::Texture2D &texture) |
| |
| | Image (const std::string &fileName) |
| |
| | Image (const std::string &fileName, int *frames) |
| |
| | Image (const std::string &fileName, int width, int height, int format, int headerSize) |
| |
| | Image (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| |
| | Image (int width, int height, ::Color color={255, 255, 255, 255}) |
| |
| | ~Image () |
| |
| Image & | AlphaCrop (float threshold) |
| | Crop image depending on alpha value. More...
|
| |
| Image & | AlphaMask (const ::Image &alphaMask) |
| | Apply alpha mask to image. More...
|
| |
| Image & | AlphaPremultiply () |
| | Premultiply alpha channel. More...
|
| |
| Image & | ClearBackground (::Color color={0, 0, 0, 255}) |
| | Clear image background with given color. More...
|
| |
| Image & | ColorBrightness (int brightness) |
| | Modify image color: brightness. More...
|
| |
| Image & | ColorContrast (float contrast) |
| | Modify image color: contrast. More...
|
| |
| Image & | ColorGrayscale () |
| | Modify image color: grayscale. More...
|
| |
| Image & | ColorInvert () |
| | Modify image color: invert. More...
|
| |
| Image & | ColorReplace (::Color color, ::Color replace) |
| | Modify image color: replace color. More...
|
| |
| Image & | ColorTint (::Color color={255, 255, 255, 255}) |
| | Modify image color: tint. More...
|
| |
| inline ::Image | Copy () |
| | Create an image duplicate (useful for transformations) More...
|
| |
| Image & | Crop (::Rectangle crop) |
| | Crop an image to area defined by a rectangle. More...
|
| |
| Image & | Crop (::Vector2 size) |
| | Crop an image to a new given width and height based on a vector. More...
|
| |
| Image & | Crop (int offsetX, int offsetY, int newWidth, int newHeight) |
| | Crop an image to area defined by a rectangle. More...
|
| |
| Image & | Dither (int rBpp, int gBpp, int bBpp, int aBpp) |
| | Dither image data to 16bpp or lower (Floyd-Steinberg dithering) More...
|
| |
| Image & | Draw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255}) |
| |
| Image & | DrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255}) |
| | Draw pixel within an image. More...
|
| |
| Image & | DrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawRectangleLines (::Rectangle rec, int thick, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) |
| |
| Image & | DrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) |
| |
| Image & | DrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) |
| |
| bool | Export (const std::string &fileName) |
| | Export image data to file, returns true on success. More...
|
| |
| bool | ExportAsCode (const std::string &fileName) |
| | Export image as code file defining an array of bytes, returns true on success. More...
|
| |
| Image & | FlipHorizontal () |
| | Flip image horizontally. More...
|
| |
| Image & | FlipVertical () |
| | Flip image vertically. More...
|
| |
| Image & | Format (int newFormat) |
| | Convert image data to desired format. More...
|
| |
| inline ::Image | FromImage (::Rectangle rec) |
| | Create an image from another image piece. More...
|
| |
| Rectangle | GetAlphaBorder (float threshold) const |
| | Get image alpha border rectangle. More...
|
| |
| void * | GetData () const |
| |
| int | GetFormat () const |
| |
| int | GetHeight () const |
| |
| int | GetMipmaps () const |
| |
| inline ::Vector2 | GetSize () |
| | Retrieve the width and height of the image. More...
|
| |
| int | GetWidth () const |
| |
| void | Load (const std::string &fileName) |
| | Load image from file into CPU memory (RAM) More...
|
| |
| void | LoadAnim (const std::string &fileName, int *frames) |
| | Load image sequence from file (frames appended to image.data). More...
|
| |
| inline ::Color * | LoadColors () |
| | Load color data from image as a Color array (RGBA - 32bit) More...
|
| |
| void | LoadFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| | Load image from memory buffer, fileType refers to extension: i.e. More...
|
| |
| inline ::Color * | LoadPalette (int maxPaletteSize, int *colorsCount) |
| | Load colors palette from image as a Color array (RGBA - 32bit) More...
|
| |
| void | LoadRaw (const std::string &fileName, int width, int height, int format, int headerSize) |
| | Load image from RAW file data. More...
|
| |
| inline ::Texture2D | LoadTexture () |
| | Load texture from image data. More...
|
| |
| Image & | Mipmaps () |
| | Generate all mipmap levels for a provided image. More...
|
| |
| | operator::Texture2D () |
| | Load texture from image data. More...
|
| |
| Image & | operator= (const ::Image &image) |
| |
| Image & | Resize (int newWidth, int newHeight) |
| | Resize and image to new size. More...
|
| |
| Image & | ResizeCanvas (int newWidth, int newHeight, int offsetX, int offsetY, ::Color color={255, 255, 255, 255}) |
| | Resize canvas and fill with color. More...
|
| |
| Image & | ResizeNN (int newWidth, int newHeight) |
| | Resize and image to new size using Nearest-Neighbor scaling algorithm. More...
|
| |
| Image & | RotateCCW () |
| | Rotate image counter-clockwise 90deg. More...
|
| |
| Image & | RotateCW () |
| | Rotate image clockwise 90deg. More...
|
| |
| void | SetData (void *value) |
| |
| void | SetFormat (int value) |
| |
| void | SetHeight (int value) |
| |
| void | SetMipmaps (int value) |
| |
| void | SetWidth (int value) |
| |
| Image & | ToPOT (::Color fillColor) |
| | Convert image to POT (power-of-two) More...
|
| |
| void | Unload () |
| | Unload image from CPU memory (RAM) More...
|
| |
|
| ::Image | Cellular (int width, int height, int tileSize) |
| | Generate image: cellular algorithm. More...
|
| |
| ::Image | Checked (int width, int height, int checksX, int checksY, ::Color col1, ::Color col2) |
| | Generate image: checked. More...
|
| |
| ::Image | Color (int width, int height, ::Color color={255, 255, 255, 255}) |
| | Generate image: plain color. More...
|
| |
| ::Image | GetScreenData () |
| | Get pixel data from screen buffer and return an Image (screenshot) More...
|
| |
| ::Image | GradientH (int width, int height, ::Color left, ::Color right) |
| | Generate image: horizontal gradient. More...
|
| |
| ::Image | GradientRadial (int width, int height, float density, ::Color inner, ::Color outer) |
| | Generate image: radial gradient. More...
|
| |
| ::Image | GradientV (int width, int height, ::Color top, ::Color bottom) |
| | Generate image: vertical gradient. More...
|
| |
| ::Image | PerlinNoise (int width, int height, int offsetX, int offsetY, float scale=1.0f) |
| | Generate image: perlin noise. More...
|
| |
| ::Image | Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) |
| |
| ::Image | Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) |
| |
| ::Image | WhiteNoise (int width, int height, float factor) |
| | Generate image: white noise. More...
|
| |