WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Panel.h
1#ifndef _WINC_PANEL
2#define _WINC_PANEL
3
4#include <WXP/Domain.h>
5#include <WXP/Rect.h>
6
7namespace WXP {
8 struct Panel {
9 Rect limits;
10 Rect offset;
11 Rect view;
12 Domain domain;
13
14 Panel();
15 int setLimits( int x1, int y1, int x2, int y2 );
16 int setLimits( Rect &rect );
17 bool withinLimits( float x, float y );
18 int getView( Point &ppt, Point &vpt );
19 int getWindow( Point &ppt, Point &wpt );
20 int init();
21 int print();
22 };
23}
24#endif
This class stores and manipulates domain data.
Definition: Domain.h:19
All WXP classes fall under the WXP namespace.
Definition: Angle.h:4
This defines a plotting region and its attributes.
Definition: Panel.h:8
This struct sets a 3D point (x, y, z)
Definition: Point.h:5
This structure defines rectangle coordinates.
Definition: Rect.h:5