This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module ftype [Version: v01] (Interface AbsFTypeManager)

   [AbsFType]   [AbsFTypeManager]

Contents

Inheritance:
AbsFTypeManager
Implementations: FTypeManager

Constructors:
FTypeManager (version 1)
AbsFTypeManager *createFTypeManager()

Methods:
update_FontsInfo
uint32_t update_FontsInfo()
loadFontInfo
uint32_t loadFontInfo(const char *filename,AbsCsvData *data)
selectFont
uint32_t selectFont(const char *family,uint16_t cond,uint16_t style,uint16_t weight,uint16_t sz,const char **font,uint32_t *face)
createRenderer
AbsFType *createRenderer(const char *family,uint16_t cond,uint16_t style,uint16_t weight,uint16_t sz)
createDefaultRenderer
AbsFType *createDefaultRenderer()

Constructors

   FTypeManager (version 1)


Constructs a helper object for the FreeType library.

Constructor:
FTypeManager()

Factory Method:
AbsFTypeManager *AbsFTypeManagerInterface::createFTypeManager()

Wrapper Class:
FTypeManagerWrapper()

The static method AbsFTypeManagerInterface::createFTypeManager creates a new instance of class FTypeManager.

Return value:
Returns an instance of FTypeManager.


Methods

   update_FontsInfo


Updates the ftype.csv file.

Signature:
uint32_t update_FontsInfo()

   loadFontInfo


Loads properties of faces of a font file. For each face a record is added to the csv table data.

Signature:
uint32_t loadFontInfo(const char *filename,AbsCsvData *data)

Parameters:
Type Name Direction Description
const char *filename[IN]null-terminated filename of a font file
AbsCsvData *data[IN/OUT]


   selectFont


Signature:
uint32_t selectFont(const char *family,uint16_t cond,uint16_t style,uint16_t weight,uint16_t sz,const char **font,uint32_t *face)

Parameters:
Type Name Direction Description
const char *family[IN]null-terminated name of the font family
uint16_t condcondensed
uint16_t stylestyle
uint16_t weightweight
uint16_t szsize
const char **font[OUT]null-terminated filename of a font file
uint32_t *face[OUT]id of the face


   createRenderer


Creates a new font renderer.

Signature:
AbsFType *createRenderer(const char *family,uint16_t cond,uint16_t style,uint16_t weight,uint16_t sz)

Parameters:
Type Name Direction Description
const char *family[IN]null-terminated name of the font family
uint16_t condcondensed
uint16_t stylestyle
uint16_t weightweight
uint16_t szsize


   createDefaultRenderer


Returns the default renderer.

Set default_font_filename, default_font_face and default_font_size within the 'main' block of the ini-file.

Signature:
AbsFType *createDefaultRenderer()


Copyright © 2017 - 2019 by Andreas Pollhammer