23 #ifndef __OVERVIEW_OUTLINES_TOOL_H__
24 #define __OVERVIEW_OUTLINES_TOOL_H__
58 Rect(
double left,
double top,
double right,
double bottom) {
59 val[0][0] = left;
val[0][1] = top;
60 val[1][0] = left;
val[1][1] = bottom;
61 val[2][0] = right;
val[2][1] = bottom;
62 val[3][0] = right;
val[3][1] = top;
70 for (
int s = 0 ; s < 4 ; s++) {
82 x = (
val[0][0] +
val[1][0] +
val[2][0] +
val[3][0]) / 4.0;
83 y = (
val[0][1] +
val[1][1] +
val[2][1] +
val[3][1]) / 4.0;
97 void DrawRect(
double left,
double top,
double right,
double bottom,
bool outline,
double linewidth = 1.0);
std::set< unsigned int > UIntSet
this handler class will receive change events from the Panorama.
A wxWidget to display the fast preview.