15 #define ACTION_RESIZE_TOP_LEFT 1 16 #define ACTION_RESIZE_TOP 2 17 #define ACTION_RESIZE_TOP_RIGHT 3 18 #define ACTION_RESIZE_LEFT 4 19 #define ACTION_RESIZE_RIGHT 5 20 #define ACTION_RESIZE_BOTTOM_LEFT 6 21 #define ACTION_RESIZE_BOTTOM 7 22 #define ACTION_RESIZE_BOTTOM_RIGHT 8 57 void StretchSkew(
int nStretchPercentX,
int nStretchPercentY,
int nSkewDegX = 0,
int nSkewDegY = 0);
void DrawSelectionStretched(HDC hDCImage)
void StretchSkew(int nStretchPercentX, int nStretchPercentY, int nSkewDegX=0, int nSkewDegY=0)
void RotateNTimes90Degrees(int iN)
void DrawFramePoly(HDC hDCImage)
LONG GetDestRectLeft() const
void InsertFromHBITMAP(HBITMAP hBm, INT x=0, INT y=0)
void PushToPtStack(LONG x, LONG y)
GLint GLint GLint GLint GLint x
void CalculateContents(HDC hDCImage)
LONG GetDestRectWidth() const
SelectionModel & operator=(const SelectionModel &)
void GetRect(LPRECT prc) const
void DrawBackgroundPoly(HDC hDCImage, COLORREF crBg)
void ModifyDestRect(POINT &ptDelta, int iAction)
void DrawBackgroundRect(HDC hDCImage, COLORREF crBg)
BOOL IsSrcRectSizeNonzero() const
LONG GetDestRectHeight() const
void SetSrcRectSizeToZero()
HBITMAP GetBitmap() const
GLint GLint GLint GLint GLint GLint y
void DrawSelection(HDC hDCImage, COLORREF crBg=0, BOOL bBgTransparent=FALSE)
void CalculateBoundingBoxAndContents(HDC hDCImage)
void ScaleContentsToFit()
LONG GetDestRectTop() const
void NotifyRefreshNeeded()
void SetSrcAndDestRectFromPoints(const POINT &ptFrom, const POINT &ptTo)