|
Ylva And Malin
|
#include "imgui.h"#include "imgui_internal.h"#include <stdio.h>#include <stdlib.h>#include "stb_rect_pack.h"#include "stb_truetype.h"
Macros | |
| #define | IMGUI_DEFINE_MATH_OPERATORS |
| #define | STBRP_STATIC |
| #define | STBRP_ASSERT(x) IM_ASSERT(x) |
| #define | STB_RECT_PACK_IMPLEMENTATION |
| #define | STBTT_malloc(x, u) ((void)(u), ImGui::MemAlloc(x)) |
| #define | STBTT_free(x, u) ((void)(u), ImGui::MemFree(x)) |
| #define | STBTT_assert(x) IM_ASSERT(x) |
| #define | STBTT_fmod(x, y) ImFmod(x,y) |
| #define | STBTT_sqrt(x) ImSqrt(x) |
| #define | STBTT_pow(x, y) ImPow(x,y) |
| #define | STBTT_fabs(x) ImFabs(x) |
| #define | STBTT_ifloor(x) ((int)ImFloorStd(x)) |
| #define | STBTT_iceil(x) ((int)ImCeil(x)) |
| #define | STBTT_STATIC |
| #define | STB_TRUETYPE_IMPLEMENTATION |
| #define | GetCurrentClipRect() (_ClipRectStack.Size ? _ClipRectStack.Data[_ClipRectStack.Size-1] : _Data->ClipRectFullscreen) |
| #define | GetCurrentTextureId() (_TextureIdStack.Size ? _TextureIdStack.Data[_TextureIdStack.Size-1] : NULL) |
| #define | stb__in2(x) ((i[x] << 8) + i[(x)+1]) |
| #define | stb__in3(x) ((i[x] << 16) + stb__in2((x)+1)) |
| #define | stb__in4(x) ((i[x] << 24) + stb__in3((x)+1)) |
Functions | |
| void | ImFontAtlasBuildMultiplyCalcLookupTable (unsigned char out_table[256], float in_brighten_factor) |
| void | ImFontAtlasBuildMultiplyRectAlpha8 (const unsigned char table[256], unsigned char *pixels, int x, int y, int w, int h, int stride) |
| bool | ImFontAtlasBuildWithStbTruetype (ImFontAtlas *atlas) |
| void | ImFontAtlasBuildRegisterDefaultCustomRects (ImFontAtlas *atlas) |
| void | ImFontAtlasBuildSetupFont (ImFontAtlas *atlas, ImFont *font, ImFontConfig *font_config, float ascent, float descent) |
| void | ImFontAtlasBuildPackCustomRects (ImFontAtlas *atlas, void *pack_context_opaque) |
| void | ImFontAtlasBuildFinish (ImFontAtlas *atlas) |
Variables | |
| const int | FONT_ATLAS_DEFAULT_TEX_DATA_W_HALF = 90 |
| const int | FONT_ATLAS_DEFAULT_TEX_DATA_H = 27 |
| const unsigned int | FONT_ATLAS_DEFAULT_TEX_DATA_ID = 0x80000000 |
| #define GetCurrentClipRect | ( | ) | (_ClipRectStack.Size ? _ClipRectStack.Data[_ClipRectStack.Size-1] : _Data->ClipRectFullscreen) |
| #define GetCurrentTextureId | ( | ) | (_TextureIdStack.Size ? _TextureIdStack.Data[_TextureIdStack.Size-1] : NULL) |
| #define IMGUI_DEFINE_MATH_OPERATORS |
| #define STB_RECT_PACK_IMPLEMENTATION |
| #define STB_TRUETYPE_IMPLEMENTATION |
| #define STBRP_STATIC |
| #define STBTT_free | ( | x, | |
| u | |||
| ) | ((void)(u), ImGui::MemFree(x)) |
| #define STBTT_malloc | ( | x, | |
| u | |||
| ) | ((void)(u), ImGui::MemAlloc(x)) |
| #define STBTT_STATIC |
| void ImFontAtlasBuildFinish | ( | ImFontAtlas * | atlas | ) |


| void ImFontAtlasBuildMultiplyCalcLookupTable | ( | unsigned char | out_table[256], |
| float | in_brighten_factor | ||
| ) |


| void ImFontAtlasBuildMultiplyRectAlpha8 | ( | const unsigned char | table[256], |
| unsigned char * | pixels, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | stride | ||
| ) |

| void ImFontAtlasBuildPackCustomRects | ( | ImFontAtlas * | atlas, |
| void * | pack_context_opaque | ||
| ) |


| void ImFontAtlasBuildRegisterDefaultCustomRects | ( | ImFontAtlas * | atlas | ) |


| void ImFontAtlasBuildSetupFont | ( | ImFontAtlas * | atlas, |
| ImFont * | font, | ||
| ImFontConfig * | font_config, | ||
| float | ascent, | ||
| float | descent | ||
| ) |


| bool ImFontAtlasBuildWithStbTruetype | ( | ImFontAtlas * | atlas | ) |


| const int FONT_ATLAS_DEFAULT_TEX_DATA_H = 27 |
| const unsigned int FONT_ATLAS_DEFAULT_TEX_DATA_ID = 0x80000000 |
| const int FONT_ATLAS_DEFAULT_TEX_DATA_W_HALF = 90 |
1.8.11