Public API Reference

csgeom/polyaa.h File Reference

Antialiased polygon filling. More...

#include "csextern.h"
#include "csgeom/csrect.h"

Go to the source code of this file.


typedef void(* csAAPFCBBox )(int x, int y, int w, int h, void *arg)
 "Draw a box" callback
typedef void(* csAAPFCBPixel )(int x, int y, float area, void *arg)
 Callback functions used by csAntialiasedPolyFill.


void csAntialiasedPolyFill (csVector2 *iVertices, int iVertexCount, void *iArg, csAAPFCBPixel iPutPixel, csAAPFCBBox iDrawBox=0)
 This function takes a 2D polygon and splits it against a integer grid into many sub-polygons.

Detailed Description

Antialiased polygon filling.

Definition in file polyaa.h.

Generated for Crystal Space 1.4.1 by doxygen 1.7.1