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) |
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.
HUtilityAntialiasing::HUtilityAntialiasing | ( | HBaseView * | view | ) |
constructor
bool HUtilityAntialiasing::CreateImage | ( | ) |
Creates Antialiased Image in memory buffer
static void HUtilityAntialiasing::draw_thick_polyedges | ( | HIC_Rendition * | rendition, |
int | count, | ||
HIC_DC_Point | points[] | ||
) | [static] |
IM helper function
static void HUtilityAntialiasing::draw_thick_polylines | ( | HIC_Rendition * | rendition, |
int | count, | ||
HIC_DC_Point | poi3[] | ||
) | [static] |
IM helper function
bool HUtilityAntialiasing::GetShowState | ( | ) |
Returns Whether antialiased picture is currently displayed
void HUtilityAntialiasing::GetWindowSize | ( | int & | xmax, |
int & | ymax | ||
) | [protected] |
Helper function to retreive current window size
xmax | Width of window. Passed by reference |
ymax | Width of window. Passed by reference |
void HUtilityAntialiasing::Hide | ( | ) |
Hide antialiased picture
static void HUtilityAntialiasing::RegisterCallbacks | ( | ) | [static] |
Register callbacks for class
IM helper function
void HUtilityAntialiasing::Show | ( | int | factor = 4 | ) |
Create and Display antialiased image
factor | oversampling factor |
static void HUtilityAntialiasing::skip_segment_tree | ( | HIC_Rendition * | rendition, |
HIC_Segment_Info * | seg | ||
) | [static] |
IM helper function