Blender V5.3
blf_default.cc File Reference
#include "DNA_userdef_types.h"
#include "BLI_assert.hh"
#include "BLF_api.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define ASSERT_DEFAULT_SET   BLI_assert(global_font_default != -1)

Functions

void blender::BLF_default_size (float size)
void blender::BLF_default_set (int fontid)
int blender::BLF_default ()
int blender::BLF_set_default ()
void blender::BLF_draw_default (float x, float y, float z, const char *str, size_t str_len) ATTR_NONNULL()

Variables

static int blender::global_font_default = -1
static float blender::global_font_size = 11.0f

Detailed Description

Default API, that uses Blender's user preferences for the default size.

Definition in file blf_default.cc.

Macro Definition Documentation

◆ ASSERT_DEFAULT_SET

#define ASSERT_DEFAULT_SET   BLI_assert(global_font_default != -1)