Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
HUtilityAntialiasing Class Reference
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 |
IM helper function
◆ draw_thick_polylines()
|
static |
IM helper function
◆ GetShowState()
bool HUtilityAntialiasing::GetShowState | ( | ) |
Returns Whether antialiased picture is currently displayed
◆ GetWindowSize()
|
protected |
Helper function to retreive current window size
- Parameters
-
xmax Width of window. Passed by reference ymax Width of window. Passed by reference
◆ Hide()
void HUtilityAntialiasing::Hide | ( | ) |
Hide antialiased picture
◆ RegisterCallbacks()
|
static |
Register callbacks for class
IM helper function
◆ Show()
void HUtilityAntialiasing::Show | ( | int | factor = 4 | ) |
Create and Display antialiased image
- Parameters
-
factor oversampling factor
◆ skip_segment_tree()
|
static |
IM helper function
The documentation for this class was generated from the following file: