![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
#include "imgui.h"#include "imgui_internal.h"#include <stdio.h>#include <stdlib.h>#include "imstb_rectpack.h"#include "imstb_truetype.h"
Include dependency graph for imgui_draw.cpp:Classes | |
| struct | ImFontBuildSrcData |
| struct | ImFontBuildDstData |
Macros | |
| #define | IMGUI_DEFINE_MATH_OPERATORS |
| #define | STBRP_STATIC |
| #define | STBRP_ASSERT(x) IM_ASSERT(x) |
| #define | STBRP_SORT ImQsort |
| #define | STB_RECT_PACK_IMPLEMENTATION |
| #define | STBTT_malloc(x, u) ((void)(u), IM_ALLOC(x)) |
| #define | STBTT_free(x, u) ((void)(u), IM_FREE(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] : (ImTextureID)NULL) |
| #define | IM_NORMALIZE2F_OVER_ZERO(VX, VY) { float d2 = VX*VX + VY*VY; if (d2 > 0.0f) { float inv_len = 1.0f / ImSqrt(d2); VX *= inv_len; VY *= inv_len; } } |
| #define | IM_FIXNORMAL2F(VX, VY) { float d2 = VX*VX + VY*VY; if (d2 < 0.5f) d2 = 0.5f; float inv_lensq = 1.0f / d2; VX *= inv_lensq; VY *= inv_lensq; } |
| #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 *stbrp_context_opaque) |
| void | ImFontAtlasBuildFinish (ImFontAtlas *atlas) |
Variables | |
| const int | FONT_ATLAS_DEFAULT_TEX_DATA_W_HALF = 108 |
| 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] : (ImTextureID)NULL) |
| #define IM_FIXNORMAL2F | ( | VX, | |
| VY | |||
| ) | { float d2 = VX*VX + VY*VY; if (d2 < 0.5f) d2 = 0.5f; float inv_lensq = 1.0f / d2; VX *= inv_lensq; VY *= inv_lensq; } |
| #define IM_NORMALIZE2F_OVER_ZERO | ( | VX, | |
| VY | |||
| ) | { float d2 = VX*VX + VY*VY; if (d2 > 0.0f) { float inv_len = 1.0f / ImSqrt(d2); VX *= inv_len; VY *= inv_len; } } |
| #define IMGUI_DEFINE_MATH_OPERATORS |
| #define STB_RECT_PACK_IMPLEMENTATION |
| #define STB_TRUETYPE_IMPLEMENTATION |
| #define STBRP_SORT ImQsort |
| #define STBRP_STATIC |
| #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 * | stbrp_context_opaque | ||
| ) |
Here is the call graph for this function:| void ImFontAtlasBuildRegisterDefaultCustomRects | ( | ImFontAtlas * | atlas | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ImFontAtlasBuildSetupFont | ( | ImFontAtlas * | atlas, |
| ImFont * | font, | ||
| ImFontConfig * | font_config, | ||
| float | ascent, | ||
| float | descent | ||
| ) |
| bool ImFontAtlasBuildWithStbTruetype | ( | ImFontAtlas * | atlas | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| 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 = 108 |