AWind
|
Device context for chart window. Implement transformation of logic coordinates into window coordinates. More...
#include <ChartDC.h>
Public Member Functions | |
ChartDC () | |
Constructor. | |
float | calcScaling (int length, float &min_val, float &max_val) |
void | setScalingX (int dc_offset, int length, float min_val, float max_val) |
void | setScalingY (int dc_offset, int length, float min_val, float max_val) |
float | MinY () |
float | MaxY () |
float | LCtoDC_x (float x) |
Converts logic x into window x. | |
float | LCtoDC_y (float y) |
Converts logic y into window y. | |
void | MoveTo (DC *dc, float x, float y) |
Moves actual position in logic coordinates. | |
void | LineTo (DC *dc, float x, float y) |
Draws line from actual position to the new position. | |
Static Public Attributes | |
static const float | AutoMin = 1e-8 |
static const float | AutoMax = 1e8 |
Device context for chart window. Implement transformation of logic coordinates into window coordinates.