ReactOS 0.4.16-dev-597-gdbf7844
|
#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 |
POINT | m_ptOrig |
HBITMAP | m_ahbmCached [2] |
CRect | m_rcResizing |
UINT | m_nMouseDownMsg = 0 |
|
virtual |
Definition at line 23 of file canvas.cpp.
Definition at line 71 of file canvas.cpp.
Referenced by OnButtonDown(), and OnSetCursor().
Definition at line 53 of file canvas.cpp.
Referenced by DoDraw(), CTextEditWindow::InvalidateEditRect(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnMouseMove(), and zoomTo().
Definition at line 60 of file canvas.cpp.
CCanvasWindow::DECLARE_WND_CLASS_EX | ( | L"ReactOSPaintCanvas" | , |
CS_DBLCLKS|CS_HREDRAW| | CS_VREDRAW, | ||
COLOR_APPWORKSPACE | |||
) |
Definition at line 122 of file canvas.cpp.
Referenced by OnPaint().
|
protected |
Definition at line 31 of file canvas.cpp.
Referenced by CanvasHitTest(), and DoDraw().
Definition at line 66 of file canvas.cpp.
Referenced by DoDraw(), GetBaseRect(), ZoomTool::getNewZoomRect(), getNewZoomRect(), OnMouseMove(), CTextEditWindow::OnMoving(), OnSetCursor(), and CTextEditWindow::OnSizing().
Definition at line 79 of file canvas.cpp.
Referenced by ZoomTool::getNewZoomRect().
Definition at line 40 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 47 of file canvas.cpp.
|
protected |
Definition at line 372 of file canvas.cpp.
|
protected |
Definition at line 300 of file canvas.cpp.
|
protected |
Definition at line 513 of file canvas.cpp.
|
protected |
Definition at line 664 of file canvas.cpp.
|
protected |
Definition at line 678 of file canvas.cpp.
|
protected |
Definition at line 708 of file canvas.cpp.
Definition at line 701 of file canvas.cpp.
Referenced by CMainWindow::ConfirmSave(), CMainWindow::OnCommand(), OnKeyDown(), and CMainWindow::saveImage().
|
protected |
Definition at line 684 of file canvas.cpp.
|
protected |
Definition at line 288 of file canvas.cpp.
Definition at line 258 of file canvas.cpp.
Referenced by OnHScroll(), and OnVScroll().
|
protected |
Definition at line 649 of file canvas.cpp.
|
protected |
Definition at line 387 of file canvas.cpp.
|
protected |
Definition at line 689 of file canvas.cpp.
|
protected |
Definition at line 715 of file canvas.cpp.
|
protected |
Definition at line 579 of file canvas.cpp.
|
protected |
Definition at line 250 of file canvas.cpp.
|
protected |
Definition at line 294 of file canvas.cpp.
Definition at line 244 of file canvas.cpp.
Referenced by CMainWindow::OnCommand(), SetBitmapAndInfo(), and zoomTo().
VOID CCanvasWindow::updateScrollRange | ( | ) |
Definition at line 213 of file canvas.cpp.
Referenced by ImageModel::NotifyImageChanged(), OnButtonUp(), OnSize(), and zoomTo().
Definition at line 107 of file canvas.cpp.
Referenced by ZoomTool::OnButtonDown(), CMainWindow::OnCommand(), CMainWindow::OnMouseWheel(), and CToolSettingsWindow::OnVScroll().
|
protected |
Definition at line 60 of file canvas.h.
Referenced by DoDraw(), and ~CCanvasWindow().
BOOL CCanvasWindow::m_drawing |
Definition at line 43 of file canvas.h.
Referenced by SelectionModel::Landing(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), CMainWindow::OnCommand(), TextTool::OnDrawOverlayOnImage(), OnEndDraw(), and OnMouseMove().
|
protected |
Definition at line 58 of file canvas.h.
Referenced by DoDraw(), OnButtonDown(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().
|
protected |
Definition at line 82 of file canvas.h.
Referenced by OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnKeyDown(), OnMouseMove(), and OnSetCursor().
|
protected |
Definition at line 59 of file canvas.h.
Referenced by OnButtonDown(), OnButtonUp(), and OnMouseMove().
|
protected |
Definition at line 61 of file canvas.h.
Referenced by DoDraw(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().