|
ReactOS 0.4.17-dev-357-ga8f14ff
|
#include <canvas.h>


Public Member Functions | |
| DECLARE_WND_CLASS_EX (L"ReactOSPaintCanvas", CS_DBLCLKS|CS_HREDRAW|CS_VREDRAW, COLOR_APPWORKSPACE) CCanvasWindow() | |
| virtual | ~CCanvasWindow () |
| VOID | OnEndDraw (BOOL bCancel) |
| VOID | updateScrollRange () |
| VOID | updateScrollPos (INT x=0, INT y=0) |
| VOID | ImageToCanvas (POINT &pt) |
| VOID | ImageToCanvas (RECT &rc) |
| VOID | CanvasToImage (POINT &pt) |
| VOID | CanvasToImage (RECT &rc) |
| VOID | GetImageRect (RECT &rc) |
| VOID | getNewZoomRect (CRect &rcView, INT newZoom, CPoint ptTarget) |
| VOID | zoomTo (INT newZoom, LONG left=0, LONG top=0) |
Public Attributes | |
| BOOL | m_drawing |
Protected Attributes | |
| HITTEST | m_hitCanvasSizeBox |
| CStyledCursor | m_hBrushCursor |
| CStyledCursor | m_hRubberCursor |
| POINT | m_ptOrig |
| CRect | m_rcResizing |
| UINT | m_nMouseDownMsg = 0 |
|
virtual |
Definition at line 173 of file canvas.cpp.
Definition at line 217 of file canvas.cpp.
Referenced by OnButtonDown(), and OnSetCursor().
Definition at line 199 of file canvas.cpp.
Referenced by DoDraw(), CTextEditWindow::InvalidateEditRect(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnMouseMove(), and zoomTo().
Definition at line 206 of file canvas.cpp.
| CCanvasWindow::DECLARE_WND_CLASS_EX | ( | L"ReactOSPaintCanvas" | , |
| CS_DBLCLKS|CS_HREDRAW| | CS_VREDRAW, | ||
| COLOR_APPWORKSPACE | |||
| ) |
Definition at line 268 of file canvas.cpp.
Referenced by OnPaint().
|
protected |
Definition at line 177 of file canvas.cpp.
Referenced by CanvasHitTest(), and DoDraw().
Definition at line 212 of file canvas.cpp.
Referenced by DoDraw(), GetBaseRect(), ZoomTool::getNewZoomRect(), getNewZoomRect(), OnMouseMove(), CTextEditWindow::OnMoving(), OnSetCursor(), and CTextEditWindow::OnSizing().
Definition at line 225 of file canvas.cpp.
Referenced by ZoomTool::getNewZoomRect().
Definition at line 186 of file canvas.cpp.
Referenced by DoDraw(), SelectionModel::drawFrameOnCanvas(), GetBaseRect(), ZoomTool::getNewZoomRect(), getNewZoomRect(), SelectionModel::hitTest(), SelectionBaseTool::OnButtonDown(), OnMouseMove(), CTextEditWindow::OnMoving(), OnSetCursor(), CTextEditWindow::OnSizing(), CTextEditWindow::ValidateEditRect(), and zoomTo().
Definition at line 193 of file canvas.cpp.
|
protected |
Definition at line 531 of file canvas.cpp.
|
protected |
Definition at line 459 of file canvas.cpp.
|
protected |
Definition at line 672 of file canvas.cpp.
|
protected |
Definition at line 841 of file canvas.cpp.
|
protected |
Definition at line 855 of file canvas.cpp.
|
protected |
Definition at line 898 of file canvas.cpp.
Definition at line 891 of file canvas.cpp.
Referenced by CMainWindow::ConfirmSave(), CMainWindow::OnCommand(), OnKeyDown(), and CMainWindow::saveImage().
|
protected |
Definition at line 861 of file canvas.cpp.
|
protected |
Definition at line 447 of file canvas.cpp.
Definition at line 416 of file canvas.cpp.
Referenced by OnHScroll(), and OnVScroll().
|
protected |
Definition at line 826 of file canvas.cpp.
|
protected |
Definition at line 546 of file canvas.cpp.
|
protected |
Definition at line 866 of file canvas.cpp.
|
protected |
Definition at line 905 of file canvas.cpp.
|
protected |
Definition at line 738 of file canvas.cpp.
|
protected |
Definition at line 408 of file canvas.cpp.
|
protected |
Definition at line 453 of file canvas.cpp.
Definition at line 402 of file canvas.cpp.
Referenced by CMainWindow::OnCommand(), SetBitmapAndInfo(), and zoomTo().
| VOID CCanvasWindow::updateScrollRange | ( | ) |
Definition at line 371 of file canvas.cpp.
Referenced by ImageModel::NotifyImageChanged(), OnButtonUp(), OnSize(), and zoomTo().
Definition at line 253 of file canvas.cpp.
Referenced by ZoomTool::OnButtonDown(), CMainWindow::OnCommand(), CMainWindow::OnMouseWheel(), and CToolSettingsWindow::OnVScroll().
| BOOL CCanvasWindow::m_drawing |
Definition at line 76 of file canvas.h.
Referenced by SelectionModel::Landing(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), CMainWindow::OnCommand(), TextTool::OnDrawOverlayOnImage(), OnEndDraw(), and OnMouseMove().
|
protected |
Definition at line 92 of file canvas.h.
Referenced by OnSetCursor().
|
protected |
Definition at line 91 of file canvas.h.
Referenced by DoDraw(), OnButtonDown(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().
|
protected |
Definition at line 93 of file canvas.h.
Referenced by OnSetCursor().
|
protected |
Definition at line 116 of file canvas.h.
Referenced by OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnKeyDown(), OnMouseMove(), and OnSetCursor().
|
protected |
Definition at line 94 of file canvas.h.
Referenced by OnButtonDown(), OnButtonUp(), and OnMouseMove().
|
protected |
Definition at line 95 of file canvas.h.
Referenced by DoDraw(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().