HUtilityAntialiasing

Detailed Description

class HUtilityAntialiasing

The HUtilityAntialiasing class contains a set of function for software based image antialiasing.

This class provides support for rendering an antialiased scene. This is achieved by rendering the scene to an image that is large then the extents of the view on the screen.

Public Functions

HUtilityAntialiasing(HBaseView *view)

constructor

~HUtilityAntialiasing()
bool GetShowState()

Returns Whether antialiased picture is currently displayed

bool CreateImage()

Creates Antialiased Image in memory buffer

Returns:A boolean indicating success or failure
void Show(int factor = 4)

Create and Display antialiased image

Parameters:factor – oversampling factor
void Hide()

Hide antialiased picture

Public Static Functions

static void RegisterCallbacks()

Register callbacks for class

IM helper function

static void skip_segment_tree(HIC_Rendition *rendition, HIC_Segment_Info *seg)

IM helper function

static void draw_thick_polylines(HIC_Rendition *rendition, int count, HIC_DC_Point poi3[])

IM helper function

static void draw_thick_polyedges(HIC_Rendition *rendition, int count, HIC_DC_Point points[])

IM helper function