Numworks Epsilon  1.4.1
Graphing Calculator Operating System
rasterizer.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdint.h>
#include <ft2build.h>
#include "unicode_for_symbol.h"

Go to the source code of this file.

Classes

struct  pixel_t
 
struct  image_t
 

Macros

#define ENSURE(action, description...)   { if (!(action)) { fprintf(stderr, "Error: "); fprintf(stderr, description); fprintf(stderr, "\n"); exit(-1);}}
 
#define CHARACTER_RANGE_START   0x20
 
#define CHARACTER_RANGE_END   0x7E
 
#define GRID_WIDTH   19
 
#define GRID_HEIGHT   8
 

Functions

void drawGlyphInImage (FT_Bitmap *glyphBitmap, image_t *image, int x, int y)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ CHARACTER_RANGE_END

#define CHARACTER_RANGE_END   0x7E

Definition at line 42 of file rasterizer.c.

◆ CHARACTER_RANGE_START

#define CHARACTER_RANGE_START   0x20

Definition at line 41 of file rasterizer.c.

◆ ENSURE

#define ENSURE (   action,
  description... 
)    { if (!(action)) { fprintf(stderr, "Error: "); fprintf(stderr, description); fprintf(stderr, "\n"); exit(-1);}}

Definition at line 20 of file rasterizer.c.

◆ GRID_HEIGHT

#define GRID_HEIGHT   8

Definition at line 45 of file rasterizer.c.

◆ GRID_WIDTH

#define GRID_WIDTH   19

Definition at line 44 of file rasterizer.c.

Function Documentation

◆ drawGlyphInImage()

void drawGlyphInImage ( FT_Bitmap *  glyphBitmap,
image_t image,
int  x,
int  y 
)

Definition at line 261 of file rasterizer.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 53 of file rasterizer.c.