app: add GimpCanvasLimit canvas item
Add a new GimpCanvasLimit canvas item, which draws an area limit
for different shapes. It will be used by the following commits to
implement GimpToolFocus.
(cherry picked from commit 06a2b4f338
)
This commit is contained in:
@ -123,6 +123,20 @@ typedef enum
|
||||
} GimpHandleAnchor;
|
||||
|
||||
|
||||
#define GIMP_TYPE_LIMIT_TYPE (gimp_limit_type_get_type ())
|
||||
|
||||
GType gimp_limit_type_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_LIMIT_CIRCLE,
|
||||
GIMP_LIMIT_SQUARE,
|
||||
GIMP_LIMIT_DIAMOND,
|
||||
GIMP_LIMIT_HORIZONTAL,
|
||||
GIMP_LIMIT_VERTICAL
|
||||
} GimpLimitType;
|
||||
|
||||
|
||||
#define GIMP_TYPE_PATH_STYLE (gimp_path_style_get_type ())
|
||||
|
||||
GType gimp_path_style_get_type (void) G_GNUC_CONST;
|
||||
|
Reference in New Issue
Block a user