TestPattern.cpp File Reference

A utility class for constructing test patterns. More...

#include "polygon/base/Base.h"
#include "polygon/test/Test.h"
#include "polygon/svg/DumpSVG.h"

Defines

#define QT_POLYGON_A_SIZE   8
#define QT_POLYGON_B_SIZE   8
#define QT_POLYGON_C_SIZE   8
#define RAND_MULTIPLIER   1103515245
#define RAND_ADDER   12345
#define UPDATE_RAND(a)   RAND_MULTIPLIER * a + RAND_ADDER

Variables

const RATIONAL gQTPolygonA [QT_POLYGON_A_SIZE]
const RATIONAL gQTPolygonB [QT_POLYGON_B_SIZE]
const RATIONAL gQTPolygonC [QT_POLYGON_C_SIZE]


Detailed Description

A utility class for constructing test patterns.

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 QT_POLYGON_A_SIZE   8
 

#define QT_POLYGON_B_SIZE   8
 

#define QT_POLYGON_C_SIZE   8
 

#define RAND_ADDER   12345
 

#define RAND_MULTIPLIER   1103515245
 

#define UPDATE_RAND  )     RAND_MULTIPLIER * a + RAND_ADDER
 


Variable Documentation

const RATIONAL gQTPolygonA[QT_POLYGON_A_SIZE]
 

Initial value:

 {
    0.0f,0.0f,400.0f,0.0f,400.0f,400.0f,0.0f,400.0f
}

const RATIONAL gQTPolygonB[QT_POLYGON_B_SIZE]
 

Initial value:

 {
    0.0f,0.0f,400.0f,0.0f,400.0f,400.0f,0.0f,400.0f
}

const RATIONAL gQTPolygonC[QT_POLYGON_C_SIZE]
 

Initial value:

 {
    0.0f,0.0f,400.0f,0.0f,400.0f,400.0f,0.0f,400.0f
}


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