Editor

BinaryEdit, GraticuleClear, GraticuleEdit, GraticuleEditEx, ImageEdit, ImageEditEx

BinaryEdit

Description 

 BinaryEdit();

GraticuleClear

This function runs the Binary > Mask > Clear Mask command.

Description 

 GraticuleClear();

GraticuleEdit

This function runs the Binary > Mask > Edit Mask command.

Description 

 GraticuleEdit();

GraticuleEditEx

Description 

 GraticuleEditEx(
   int  EditStyle,
   int  EditFG,
   int  EditBrush,
   int  EditNumber
);

Draws the graticule mask.

Parameters

int EditStyle

Drawing mode.

0

Draw by hand.

1

Draw continuous line.

2

Draw polygon.

3

Draw filled polygon.

4

Draw subsequent lines.

5

Fill an enclosed shape

6

Draw circle.

7

Draw filled circle.

8

Draw rectangle.

9

Draw filled rectangle.

10

Draw ellipse.

11

Draw filled ellipse.

12

Rose mode.

13

Marking mode. Note, that in this mode the thickness of the brush (==EditBrush parameter) defines marker type.

14

Connecting mode.

15

Cross lines.

16

Accepted area mode.

21

Bezier closed curve.

22

Bezier filled closed curve.

23

Threshold

24

Auto Detect Hollow

25

Auto Detect Fill

26

Select Objects

27

Circle 3 Pts. Hollow

28

Circle 3 Pts. Fill

int EditFG

foreground/background.

0

Background.

1

Foreground.

int EditBrush

Thickness of a brush/pen. Note, that in marking mode (EditStyle==13) the thickness of the brush defines marker type.

0

1 pixel. In marking mode (EditStyle==13), it is marker #1.

1

1 pixel. In marking mode (EditStyle==13), it is marker #1.

2

2 pixels. In marking mode (EditStyle==13), it is marker #2.

3

3 pixels. In marking mode (EditStyle==13), it is marker #3.

4

4 pixels. In marking mode (EditStyle==13), it is marker #4.

5

5 pixels. In marking mode (EditStyle==13), it is marker #5.

6

6 pixels. In marking mode (EditStyle==13), it is marker #6.

7

7 pixels. In marking mode (EditStyle==13), it is marker #7.

8

8 pixels. In marking mode (EditStyle==13), it is marker #8.

9

9 pixels. In marking mode (EditStyle==13), it is marker #9.

int EditNumber

Number of drawing.

See Also 
GraticuleEdit

ImageEdit

This function runs the Binary > Binary Editor command.

Description 

 ImageEdit();

This function displays the Tool window and allows binary image editing.

See Also 
MaskEdit, ImageEditEx

ImageEditEx

Description 

 ImageEditEx(
   int  EditStyle,
   int  EditFG,
   int  EditBrush,
   int  EditNumber
);

This function edits the binary image in a predefined mode.

Parameters

int EditStyle

Drawing mode.

0

Draw by hand.

1

Draw continuous line.

2

Draw polygon.

3

Draw filled polygon.

4

Draw subsequent lines.

5

Fill an enclosed shape

6

Draw circle.

7

Draw filled circle.

8

Draw rectangle.

9

Draw filled rectangle.

10

Draw ellipse.

11

Draw filled ellipse.

12

Rose mode.

13

Marking mode. Note, that in this mode the thickness of the brush (==EditBrush parameter) defines marker type.

14

Connecting mode.

15

Cross lines.

16

Accepted area mode.

21

Bezier closed curve.

22

Bezier filled closed curve.

23

Threshold

24

Auto Detect Hollow

25

Auto Detect Fill

26

Select Objects

27

Circle 3 Pts. Hollow

28

Circle 3 Pts. Fill

int EditFG

foreground/background.

0

Background.

1

Foreground.

int EditBrush

Thickness of a brush/pen. Note, that in marking mode (EditStyle==13) the thickness of the brush defines marker type.

0

1 pixel. In marking mode (EditStyle==13), it is marker #1.

1

1 pixel. In marking mode (EditStyle==13), it is marker #1.

2

2 pixels. In marking mode (EditStyle==13), it is marker #2.

3

3 pixels. In marking mode (EditStyle==13), it is marker #3.

4

4 pixels. In marking mode (EditStyle==13), it is marker #4.

5

5 pixels. In marking mode (EditStyle==13), it is marker #5.

6

6 pixels. In marking mode (EditStyle==13), it is marker #6.

7

7 pixels. In marking mode (EditStyle==13), it is marker #7.

8

8 pixels. In marking mode (EditStyle==13), it is marker #8.

9

9 pixels. In marking mode (EditStyle==13), it is marker #9.

int EditNumber

Number of drawing.

See Also 
ImageEdit, MaskEdit, DefineGraticuleMask