CenterCanvas Class Reference
adjustment image view
More...
#include <CropPanel.h>
List of all members.
Detailed Description
adjustment image view
Define a new canvas which can receive some events.
Constructor & Destructor Documentation
| CenterCanvas::CenterCanvas |
( |
|
) |
|
|
Member Function Documentation
| bool CenterCanvas::Create |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = wxID_ANY, |
|
|
const wxPoint & |
pos = wxDefaultPosition, |
|
|
const wxSize & |
size = wxDefaultSize, |
|
|
long |
style = wxTAB_TRAVERSAL, |
|
|
const wxString & |
name = wxT("panel") |
|
) |
|
|
| void CenterCanvas::DrawView |
( |
|
) |
[protected] |
|
|
|
draw the view into the offscreen buffer
|
| void CenterCanvas::Init |
( |
CropPanel * |
listener |
) |
|
|
|
|
set image and crop parameters
|
| void CenterCanvas::UpdateCropCircle |
( |
|
) |
[protected] |
|
| void CenterCanvas::UpdateDisplay |
( |
const vigra::Rect2D & |
crop, |
|
|
bool |
circle, |
|
|
const vigra::Point2D & |
center, |
|
|
bool |
useCenter |
|
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following files: