ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Data Structures | Functions
Text.h File Reference

Text rendered with TrueType fonts. More...

#include <ObjectivelyMVC/View.h>
#include <ObjectivelyMVC/Font.h>

Go to the source code of this file.

Data Structures

struct  Text
 Text rendered with TrueType fonts. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Text (void)
 

Detailed Description

Text rendered with TrueType fonts.

Definition in file Text.h.

Function Documentation

◆ _Text()

OBJECTIVELYMVC_EXPORT Class * _Text ( void  )

Definition at line 333 of file Text.c.

333 {
334 static Class *clazz;
335 static Once once;
336
337 do_once(&once, {
338 clazz = _initialize(&(const ClassDef) {
339 .name = "Text",
340 .superclass = _View(),
341 .instanceSize = sizeof(Text),
342 .interfaceOffset = offsetof(Text, interface),
343 .interfaceSize = sizeof(TextInterface),
345 });
346 });
347
348 return clazz;
349}
static void initialize(Class *clazz)
Definition: Text.c:309
Text rendered with TrueType fonts.
Definition: Text.h:41
Class * _View(void)
The View archetype.
Definition: View.c:1769