Adding ImageCrop and MeasureName/ImageName changes by spx.

This commit is contained in:
Birunthan Mohanathas
2010-12-05 15:34:37 +00:00
parent 862a6d86ae
commit 6efbd23314
8 changed files with 231 additions and 80 deletions

View File

@ -22,6 +22,15 @@
#include "Meter.h"
#include "MeterWindow.h"
enum CROPMODE
{
CROPMODE_TL = 1,
CROPMODE_TR,
CROPMODE_BR,
CROPMODE_BL,
CROPMODE_C
};
class CTintedImage
{
public:
@ -77,6 +86,7 @@ protected:
bool m_NeedsTransform;
Gdiplus::Rect m_Crop;
CROPMODE m_CropMode;
bool m_GreyScale;
Gdiplus::ColorMatrix m_ColorMatrix;
Gdiplus::RotateFlipType m_Flip;