The SGADE Documentation

the SGADE The Socrates Gameboy Advance Development Engine

The SGADE is a development library for the Nintendo Gameboy Advance. It's free for all uses and is distributed without guarantees. For more information visit the SGADE page.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoFont

Font functionality. More...

Files

file  SoFont.c
file  SoFont.h

Defines

#define SO_FONT_FIRST_CHAR
 This is the first character in the char set;.

#define SO_FONT_LAST_CHAR
 This is the last character in the char set;.

#define SO_FONT_NUM_CHARACTERS
 Number of characters in a font.

#define SO_FONT_VERTICAL_SPACING
 Number of pixels in between text lines;.

#define SO_FONT_HORIZONTAL_SPACING
 Number of pixels in between words;.


Functions

const SoImageSoFontGetDefaultFontImage ()
 To get the image of the Socrates default font;.


Detailed Description

Font functionality.

This module is for all font handling, it's rather primitive at the moment, but in the future this will change.

A default font is also implemented in this file, but this does not mean that you should define other fonts here too. You can define them anywhere, just include this file (SoFont.h) and off you go.


Define Documentation

#define SO_FONT_HORIZONTAL_SPACING
 

Number of pixels in between words;.

Warning:
Must be an even number, in order to be compatible with mode 4.


Function Documentation

const SoImage* SoFontGetDefaultFontImage  
 

To get the image of the Socrates default font;.

Returns :
The image of the default font.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.