#include <gal/bitmap_texture.h>
#include <math/util.h>
#include <algorithm>
#include <wx/image.h>
Go to the source code of this file.
|
| namespace | KIGFX |
| | The Cairo implementation of the graphics abstraction layer.
|
| |
|
| wxImage | KIGFX::FitImageToTexture (const wxImage &aImage, int aMaxTextureSize) |
| | Fit an image into the largest texture a GPU can hold.
|
| |
| std::vector< uint8_t > | KIGFX::RgbToRgba (const uint8_t *aRgb, const uint8_t *aAlpha, size_t aPixelCount) |
| | Expand packed RGB to tightly packed RGBA.
|
| |
| std::vector< uint8_t > | KIGFX::ImageToRgba (const wxImage &aImage) |
| | The pixels of aImage as tightly packed RGBA, transparent where it has alpha or a mask.
|
| |