|
MathPlot
|
Class for drawing mouse magnetization Draw an horizontal and a vertical line at the mouse position. More...
#include <mathplot.h>
Public Member Functions | |
| void | UpdateBox (wxCoord left, wxCoord top, wxCoord width, wxCoord height) |
| Update the drawable magnet area from raw rectangle coordinates. | |
| void | UpdateBox (const wxRect &size) |
| Update the drawable magnet area from a wxRect. | |
| void | Plot (wxClientDC &dc, const wxPoint &mousePos) |
| Draw the magnet cross at the given mouse position. | |
| void | ClearPlot (wxClientDC &dc) |
| Erase the currently drawn magnet cross from the device context. | |
| void | UpdatePlot (wxClientDC &dc, const wxPoint &mousePos) |
| Update the magnet cross to a new mouse position. | |
| void | SaveDrawState (void) |
| Save whether the magnet was drawn before a full repaint. | |
| void | SetRightClick (void) |
| Mark that the magnet update originated from a right-click. | |
Class for drawing mouse magnetization Draw an horizontal and a vertical line at the mouse position.
1.8.13