|
ReactOS 0.4.17-dev-243-g1369312
|
#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 154 of file canvas.cpp.
Definition at line 198 of file canvas.cpp.
Referenced by OnButtonDown(), and OnSetCursor().
Definition at line 180 of file canvas.cpp.
Referenced by DoDraw(), CTextEditWindow::InvalidateEditRect(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnMouseMove(), and zoomTo().
Definition at line 187 of file canvas.cpp.
| CCanvasWindow::DECLARE_WND_CLASS_EX | ( | L"ReactOSPaintCanvas" | , |
| CS_DBLCLKS|CS_HREDRAW| | CS_VREDRAW, | ||
| COLOR_APPWORKSPACE | |||
| ) |
Definition at line 249 of file canvas.cpp.
Referenced by OnPaint().
|
protected |
Definition at line 158 of file canvas.cpp.
Referenced by CanvasHitTest(), and DoDraw().
Definition at line 193 of file canvas.cpp.
Referenced by DoDraw(), GetBaseRect(), ZoomTool::getNewZoomRect(), getNewZoomRect(), OnMouseMove(), CTextEditWindow::OnMoving(), OnSetCursor(), and CTextEditWindow::OnSizing().
Definition at line 206 of file canvas.cpp.
Referenced by ZoomTool::getNewZoomRect().
Definition at line 167 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 174 of file canvas.cpp.
|
protected |
Definition at line 511 of file canvas.cpp.
|
protected |
Definition at line 439 of file canvas.cpp.
|
protected |
Definition at line 652 of file canvas.cpp.
|
protected |
Definition at line 818 of file canvas.cpp.
|
protected |
Definition at line 832 of file canvas.cpp.
|
protected |
Definition at line 875 of file canvas.cpp.
Definition at line 868 of file canvas.cpp.
Referenced by CMainWindow::ConfirmSave(), CMainWindow::OnCommand(), OnKeyDown(), and CMainWindow::saveImage().
|
protected |
Definition at line 838 of file canvas.cpp.
|
protected |
Definition at line 427 of file canvas.cpp.
Definition at line 397 of file canvas.cpp.
Referenced by OnHScroll(), and OnVScroll().
|
protected |
Definition at line 803 of file canvas.cpp.
|
protected |
Definition at line 526 of file canvas.cpp.
|
protected |
Definition at line 843 of file canvas.cpp.
|
protected |
Definition at line 882 of file canvas.cpp.
|
protected |
Definition at line 718 of file canvas.cpp.
|
protected |
Definition at line 389 of file canvas.cpp.
|
protected |
Definition at line 433 of file canvas.cpp.
Definition at line 383 of file canvas.cpp.
Referenced by CMainWindow::OnCommand(), SetBitmapAndInfo(), and zoomTo().
| VOID CCanvasWindow::updateScrollRange | ( | ) |
Definition at line 352 of file canvas.cpp.
Referenced by ImageModel::NotifyImageChanged(), OnButtonUp(), OnSize(), and zoomTo().
Definition at line 234 of file canvas.cpp.
Referenced by ZoomTool::OnButtonDown(), CMainWindow::OnCommand(), CMainWindow::OnMouseWheel(), and CToolSettingsWindow::OnVScroll().
| BOOL CCanvasWindow::m_drawing |
Definition at line 75 of file canvas.h.
Referenced by SelectionModel::Landing(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), CMainWindow::OnCommand(), TextTool::OnDrawOverlayOnImage(), OnEndDraw(), and OnMouseMove().
|
protected |
Definition at line 91 of file canvas.h.
Referenced by OnSetCursor().
|
protected |
Definition at line 90 of file canvas.h.
Referenced by DoDraw(), OnButtonDown(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().
|
protected |
Definition at line 92 of file canvas.h.
Referenced by OnSetCursor().
|
protected |
Definition at line 115 of file canvas.h.
Referenced by OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnKeyDown(), OnMouseMove(), and OnSetCursor().
|
protected |
Definition at line 93 of file canvas.h.
Referenced by OnButtonDown(), OnButtonUp(), and OnMouseMove().
|
protected |
Definition at line 94 of file canvas.h.
Referenced by DoDraw(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().