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

#include <HUtilityAntialiasing.h>

Public Member Functions

bool CreateImage ()
 
bool GetShowState ()
 
void Hide ()
 
 HUtilityAntialiasing (HBaseView *view)
 
void Show (int factor=4)
 

Static Public Member Functions

static void draw_thick_polyedges (HIC_Rendition *rendition, int count, HIC_DC_Point points[])
 
static void draw_thick_polylines (HIC_Rendition *rendition, int count, HIC_DC_Point poi3[])
 
static void RegisterCallbacks ()
 
static void skip_segment_tree (HIC_Rendition *rendition, HIC_Segment_Info *seg)
 

Protected Member Functions

void GetWindowSize (int &xmax, int &ymax)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HUtilityAntialiasing()

HUtilityAntialiasing::HUtilityAntialiasing ( HBaseView view)

constructor

Member Function Documentation

◆ CreateImage()

bool HUtilityAntialiasing::CreateImage ( )

Creates Antialiased Image in memory buffer

Returns
A boolean indicating success or failure

◆ draw_thick_polyedges()

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

IM helper function

◆ draw_thick_polylines()

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

IM helper function

◆ GetShowState()

bool HUtilityAntialiasing::GetShowState ( )

Returns Whether antialiased picture is currently displayed

◆ GetWindowSize()

void HUtilityAntialiasing::GetWindowSize ( int &  xmax,
int &  ymax 
)
protected

Helper function to retreive current window size

Parameters
xmaxWidth of window. Passed by reference
ymaxWidth of window. Passed by reference

◆ Hide()

void HUtilityAntialiasing::Hide ( )

Hide antialiased picture

◆ RegisterCallbacks()

static void HUtilityAntialiasing::RegisterCallbacks ( )
static

Register callbacks for class

IM helper function

◆ Show()

void HUtilityAntialiasing::Show ( int  factor = 4)

Create and Display antialiased image

Parameters
factoroversampling factor

◆ skip_segment_tree()

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

IM helper function


The documentation for this class was generated from the following file: