TestApp.cpp File Reference

Test application for the algorithm. Uses SDL. More...

#include "platform/System.h"
#include "polygon/base/Base.h"
#include "polygon/test/Test.h"
#include "polygon/implementation/Implementation.h"
#include "SDL.h"
#include "TestApp.h"

Defines

#define GLOBAL_SCALE   2
#define WINDOW_WIDTH   (320*GLOBAL_SCALE)
#define WINDOW_HEIGHT   (240*GLOBAL_SCALE)
#define STANDARD_TEST
#define CREATE_DUMPS   false
#define SVG_PATH   "../../SVG/"

Functions

void drawString (const char *aTest, SDL_Surface *aTarget, int aX, int aY, unsigned int aColor)
int main (int argc, char *argv[])
 Called to initialize the application.


Detailed Description

Test application for the algorithm. Uses SDL.

Scanline edge-flag algorithm for antialiasing
Copyright (c) 2005-2007 Kiia Kallio

http://mlab.uiah.fi/~kkallio/antialiasing/

This code is distributed under the three-clause BSD license. Read the LICENSE file or visit the URL above for details.

Id
Date
Revision

Define Documentation

#define CREATE_DUMPS   false
 

#define GLOBAL_SCALE   2
 

#define STANDARD_TEST
 

#define SVG_PATH   "../../SVG/"
 

#define WINDOW_HEIGHT   (240*GLOBAL_SCALE)
 

#define WINDOW_WIDTH   (320*GLOBAL_SCALE)
 


Function Documentation

void drawString const char *  aTest,
SDL_Surface *  aTarget,
int  aX,
int  aY,
unsigned int  aColor
 

int main int  argc,
char *  argv[]
 

Called to initialize the application.


Generated on Fri Aug 3 00:44:32 2007 for Scanline edge-flag algorithm for antialiasing by  doxygen 1.4.6-NO