다음을 통해 공유


CMFCImagePaintArea::IMAGE_EDIT_MODE 열거형

Specifies a drawing mode that you use to modify an image in an image editor dialog box.

enum IMAGE_EDIT_MODE
{
   IMAGE_EDIT_MODE_PEN = 0,
   IMAGE_EDIT_MODE_FILL,
   IMAGE_EDIT_MODE_LINE,
   IMAGE_EDIT_MODE_RECT,
   IMAGE_EDIT_MODE_ELLIPSE,
   IMAGE_EDIT_MODE_COLOR
};

멤버

Name

설명

IMAGE_EDIT_MODE_PEN

Used to draw individual pixels.

IMAGE_EDIT_MODE_FILL

Used to fill all adjacent areas that contain the color at the current cursor location.

IMAGE_EDIT_MODE_LINE

Used to draw a line.

IMAGE_EDIT_MODE_RECT

Used to draw a rectangle.

IMAGE_EDIT_MODE_ELLIPSE

Used to draw an ellipse.

IMAGE_EDIT_MODE_COLOR

Used to set the current color to the color at the current cursor location.

설명

The CMFCImagePaintArea and CMFCImageEditorDialog classes use this enumeration to set the current drawing mode. The drawing mode and current color are used to modify the picture area in an image editor dialog box. CMFCImagePaintAreaCMFCImageEditorDialog에 대한 자세한 내용은 CMFCImagePaintArea 클래스CMFCImageEditorDialog 클래스을 참조하십시오.

When you select a color from an image by using the IMAGE_EDIT_MODE_COLOR drawing mode, the framework sets the current drawing mode to IMAGE_EDIT_MODE_PEN.

요구 사항

Header: afximagepaintarea.h

참고 항목

참조

계층 구조 차트

CMFCImagePaintArea 클래스

CMFCImageEditorDialog 클래스

개념

MFC 매크로 및 전역

기타 리소스

MFC 클래스