The HUtilityAntialiasing class contains a set of function for software based image antialiasing.
More...
#include <HUtilityAntialiasing.h>
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 | ) |
|
bool HUtilityAntialiasing::CreateImage |
( |
| ) |
|
Creates Antialiased Image in memory buffer
- Returns
- A boolean indicating success or failure
static void HUtilityAntialiasing::draw_thick_polyedges |
( |
HIC_Rendition * |
rendition, |
|
|
int |
count, |
|
|
HIC_DC_Point |
points[] |
|
) |
| |
|
static |
static void HUtilityAntialiasing::draw_thick_polylines |
( |
HIC_Rendition * |
rendition, |
|
|
int |
count, |
|
|
HIC_DC_Point |
poi3[] |
|
) |
| |
|
static |
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
- Parameters
-
xmax | Width of window. Passed by reference |
ymax | Width of window. Passed by reference |
void HUtilityAntialiasing::Hide |
( |
| ) |
|
static void HUtilityAntialiasing::RegisterCallbacks |
( |
| ) |
|
|
static |
Register callbacks for class
IM helper function
void HUtilityAntialiasing::Show |
( |
int |
factor = 4 | ) |
|
Create and Display antialiased image
- Parameters
-
factor | oversampling factor |
static void HUtilityAntialiasing::skip_segment_tree |
( |
HIC_Rendition * |
rendition, |
|
|
HIC_Segment_Info * |
seg |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: