|
Euphoria
|
Classes | |
| struct | Image |
| A simple sRGB(A) image. More... | |
| struct | LoadedFont |
| struct | LoadedGlyph |
| struct | PixelColor |
| A simple integer sRGBA color. More... | |
Typedefs | |
| using | KerningMap = std::map< std::pair< int, int >, float > |
Functions | |
| void | paste_image (Image *dst, int dst_x, int dst_y, const Image &src) |
| Copies pixel data from a source image to a destination image at specified coordinates. | |
| LoadedFont | get_characters_from_font (const MemoryChunk &file_memory, int font_size, const std::string &chars) |
| LoadedFont | get_characters_from_single_image (const std::string &image_file, const std::string &image_alias, float image_scale, float image_bearing_x, float image_bearing_y, float image_advance) |
| LoadedFont | get_characters_from_single_image (const Image &image, const std::string &image_alias, float image_scale, float image_bearing_x, float image_bearing_y, float image_advance) |
| template<typename TString , typename TOnCodepointFunc > | |
| bool | calc_utf8_to_codepoints (const TString &string, TOnCodepointFunc on_codepoint) |
Definition at line 45 of file loadedfont.h.
| bool eu::core::calc_utf8_to_codepoints | ( | const TString & | string, |
| TOnCodepointFunc | on_codepoint | ||
| ) |
| LoadedFont eu::core::get_characters_from_font | ( | const MemoryChunk & | file_memory, |
| int | font_size, | ||
| const std::string & | chars | ||
| ) |
| LoadedFont eu::core::get_characters_from_single_image | ( | const Image & | image, |
| const std::string & | image_alias, | ||
| float | image_scale, | ||
| float | image_bearing_x, | ||
| float | image_bearing_y, | ||
| float | image_advance | ||
| ) |
| LoadedFont eu::core::get_characters_from_single_image | ( | const std::string & | image_file, |
| const std::string & | image_alias, | ||
| float | image_scale, | ||
| float | image_bearing_x, | ||
| float | image_bearing_y, | ||
| float | image_advance | ||
| ) |
Copies pixel data from a source image to a destination image at specified coordinates.
Sometimes called blit.
| dst | The destination image. |
| dst_x | The x-coordinate in the destination image where the source image will be pasted. |
| dst_y | The y-coordinate in the destination image where the source image will be pasted. |
| src | The source image. |