Classes | Functions
PrimitivesDrawer.cpp File Reference
#include <new>
#include "PrimitivesDrawer.h"
#include "Image/ByteImage.h"
#include "Math/Math2d.h"
#include "Structs/Structs.h"
#include "Helpers/helpers.h"
#include <math.h>
#include <limits>
Include dependency graph for PrimitivesDrawer.cpp:

Go to the source code of this file.

Classes

struct  Edge
struct  Vec2dInt

Functions

static void BuildActiveList (int y, Edge *pActiveEdge, Edge **ppEdges)
static void BuildEdgeList (const Vec2dInt *pPoints, int nPoints, Edge **ppResultEdges, int height)
static void DeleteAfter (Edge *pEdge)
void DrawCircleAA (CByteImage *pImage, float mx, float my, float radius, int r, int g, int b, int thickness)
static void FillPolygon (CByteImage *pImage, const Vec2d *pPoints, int nPoints, int r, int g, int b)
static void FillScan (CByteImage *pImage, int y, Edge *pActiveEdge, int r, int g, int b)
static void FillScan (CByteImage *pImage, int y, Edge *pActiveEdge, int g)
static void InsertEdge (Edge *ppEdgeList, Edge *pEdge)
static bool is_indeterminate (const float fValue)
static bool is_infinite (const float fValue)
static void MakeEdgeRecord (const Vec2dInt &lower, const Vec2dInt &upper, int yComp, Edge *pEdge, Edge **ppEdgeList, int height)
static int NextY (int nIndex, const Vec2dInt *pPoints, int nVertices)
static void ResortActiveList (Edge *pActiveEdge)
static void UpdateActiveList (int y, Edge *pActiveEdge)

Function Documentation

static void BuildActiveList ( int  y,
Edge pActiveEdge,
Edge **  ppEdges 
) [static]

Definition at line 767 of file PrimitivesDrawer.cpp.

static void BuildEdgeList ( const Vec2dInt pPoints,
int  nPoints,
Edge **  ppResultEdges,
int  height 
) [static]

Definition at line 729 of file PrimitivesDrawer.cpp.

static void DeleteAfter ( Edge pEdge) [static]

Definition at line 846 of file PrimitivesDrawer.cpp.

void DrawCircleAA ( CByteImage pImage,
float  mx,
float  my,
float  radius,
int  r,
int  g,
int  b,
int  thickness 
)

Definition at line 303 of file PrimitivesDrawer.cpp.

static void FillPolygon ( CByteImage pImage,
const Vec2d pPoints,
int  nPoints,
int  r,
int  g,
int  b 
) [static]

Definition at line 900 of file PrimitivesDrawer.cpp.

static void FillScan ( CByteImage pImage,
int  y,
Edge pActiveEdge,
int  r,
int  g,
int  b 
) [static]

Definition at line 784 of file PrimitivesDrawer.cpp.

static void FillScan ( CByteImage pImage,
int  y,
Edge pActiveEdge,
int  g 
) [static]

Definition at line 824 of file PrimitivesDrawer.cpp.

static void InsertEdge ( Edge ppEdgeList,
Edge pEdge 
) [static]

Definition at line 658 of file PrimitivesDrawer.cpp.

static bool is_indeterminate ( const float  fValue) [static]

Definition at line 67 of file PrimitivesDrawer.cpp.

static bool is_infinite ( const float  fValue) [static]

Definition at line 72 of file PrimitivesDrawer.cpp.

static void MakeEdgeRecord ( const Vec2dInt lower,
const Vec2dInt upper,
int  yComp,
Edge pEdge,
Edge **  ppEdgeList,
int  height 
) [static]

Definition at line 682 of file PrimitivesDrawer.cpp.

static int NextY ( int  nIndex,
const Vec2dInt pPoints,
int  nVertices 
) [static]

Definition at line 705 of file PrimitivesDrawer.cpp.

static void ResortActiveList ( Edge pActiveEdge) [static]

Definition at line 877 of file PrimitivesDrawer.cpp.

static void UpdateActiveList ( int  y,
Edge pActiveEdge 
) [static]

Definition at line 854 of file PrimitivesDrawer.cpp.



asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Thu Jun 6 2019 21:46:58