19 #if QT_VERSION < 0x040000
40 #if QT_VERSION < 0x040000
70 int toCanvasX (
double dx )
const;
73 int toCanvasY (
double dy )
const;
81 #if QT_VERSION < 0x040000
84 void transformAndFill ( QPolygon & array,
86 const std::vector < double > & x,
87 const std::vector < double > & y,
88 int (
QtView::* xfunc ) (
double )
const,
89 int (
QtView::* yfunc ) (
double )
const );
97 void drawWithPixmap (
QPainter & painter );
100 void drawMethod (
const std::vector< double > & x,
101 const std::vector< double > & y,
111 void drawViewMethod (
const std::vector< double > & x,
112 const std::vector< double > & y,
121 void ensureOffScrSize (
int osw,
int osh );
143 virtual void drawShape (
QPainter & );
157 virtual void setShowCrossHairs (
bool flag );
161 virtual Rect getDrawRect ()
const;
167 void updateDrawRect ();
170 void setDrawRect (
const QRect & rect );
173 void setDrawRect (
Rect & rect );
176 virtual void setDrawRect (
float x,
float y,
float width,
float height );
179 int toViewX (
double datX )
const;
182 int toViewY (
double datY )
const;
185 virtual void fillPickedPoint (
double x,
double y,
186 std::vector < double > & picked )
const;
190 virtual void setPageWidth(
int upage_w );
193 bool isTextView()
const;