LMMS
Loading...
Searching...
No Matches
FONSparams Struct Reference

#include <fontstash.h>

Public Attributes

int width
int height
unsigned char flags
voiduserPtr
int(* renderCreate )(void *uptr, int width, int height)
int(* renderResize )(void *uptr, int width, int height)
void(* renderUpdate )(void *uptr, int *rect, const unsigned char *data)
void(* renderDraw )(void *uptr, const float *verts, const float *tcoords, const unsigned int *colors, int nverts)
void(* renderDelete )(void *uptr)

Member Data Documentation

◆ flags

unsigned char FONSparams::flags

◆ height

int FONSparams::height

◆ renderCreate

int(* FONSparams::renderCreate) (void *uptr, int width, int height)

◆ renderDelete

void(* FONSparams::renderDelete) (void *uptr)

◆ renderDraw

void(* FONSparams::renderDraw) (void *uptr, const float *verts, const float *tcoords, const unsigned int *colors, int nverts)

◆ renderResize

int(* FONSparams::renderResize) (void *uptr, int width, int height)

◆ renderUpdate

void(* FONSparams::renderUpdate) (void *uptr, int *rect, const unsigned char *data)

◆ userPtr

void* FONSparams::userPtr

◆ width

int FONSparams::width

The documentation for this struct was generated from the following file: