#include <zoomablesurfaceview.h>
Inheritance diagram for ZoomableSurfaceView:


Public Member Functions | |
| void | pen (unsigned char r, unsigned char g, unsigned char b, double thickness) |
| void | get_pen (unsigned char &r, unsigned char &g, unsigned char &b, double &thickness) |
| void | clear_rect (double, double, double, double) |
| void | repaint_rect (double, double, double, double) |
| void | get_rect (double &, double &, double &, double &) |
| void | line (double x1, double y1, double x2, double y2) |
| void | rectangle (double x1, double y1, double x2, double y2) |
| void | dot (double x1, double y1) |
| void | circle (double x1, double y1, double radius) |
| void | arc (double x1, double y1, double radius, double an1, double an2) |
| void | bezier (double x1, double y1, double x2, double y2, double x3, double y3) |
| virtual void | fill_h_triangle (double x1, double y1, double x2, double y2, double x3) |
| virtual void | fill_v_triangle (double x1, double y1, double x2, double y2, double y3) |
| virtual void | fillrect (double x1, double y1, double x2, double y2, unsigned char fr, unsigned char fg, unsigned char fb) |
| void | textout (double x1, double y1, const char *text) |
| void | textrect (double x1, double y1, double x2, double y2, const char *text) |
| void | setfontsize (double) |
| void | set_object_magnification (double) |
| double | zoom (double factor) |
| double | get_zoom (void) |
| double | get_thickness1 (void) |
| void | center (double, double) |
| void | scroll (double, double) |
| bool | rectfits (double, double, double, double) |
| void | get_scenemousepos (double &, double &) |
| ZoomableSurfaceView (SurfaceDriver *, int x, int y, int w, int h, unsigned char pbkgr, unsigned char pbkgg, unsigned char pbkgb) | |
| void | put_image (Image *, int destx, int desty, double imgzoom=1.) |
Protected Member Functions | |
| double | scene2screenx (double p) |
| double | scene2screeny (double p) |
| double | screen2scenex (double p) |
| double | screen2sceney (double p) |
Protected Attributes | |
| double | object_magnification |
| double | view_magnification |
| View's absolute magnification. | |
| double | thickness1 |
| View's inverse of absolute magnification. | |
|
||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
Implements ZoomableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Implements ZoomableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Implements ZoomableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Implements ZoomableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Implements ZoomableView. |
|
||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
|
use this function to tell the view that the object is initially visible at magnification m and thus should be resized accordingly. |
|
|
Implements ZoomableView. |
|
|
Implements ZoomableView. |
|
|
Implements ZoomableView. |
|
||||||||||||
|
Reimplemented from ScrollableView. |
|
||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
This function is used when deciding scenenode visibility (including for paint events) Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Reimplemented from ScrollableView. |
Here is the call graph for this function:

|
|
this value is used in determining how much the graphics should be scaled |
|
|
View's absolute magnification.
|
|
|
View's inverse of absolute magnification.
|
1.3.5