Share via


InkBoundingBoxMode Enumeration

InkBoundingBoxMode Enumeration

Specifies which characteristics of a stroke, such as drawing attributes, are used to calculate the bounding box of the ink.

The bounding box is the smallest rectangle that includes all points in the InkDisp object. The size of the rectangle varies depending on whether you use drawing attributes, Bezier curve fitting, or just the points of the stroke to calculate the rectangle.

Declaration

[C++]

typedef enum InkBoundingBoxMode {
    IBBM_Default = 0,
    IBBM_NoCurveFit = 1,
    IBBM_CurveFit = 2,
    IBBM_PointsOnly = 3,
    IBBM_Union = 4,
} InkBoundingBoxMode;

[Microsoft® Visual Basic® 6.0]

Enum InkBoundingBoxMode
    IBBM_Default = 0
    IBBM_NoCurveFit = 1
    IBBM_CurveFit = 2
    IBBM_PointsOnly = 3
    IBBM_Union = 4
End Enum

Members

Name Description
Default Uses the definition of each stroke (polyline or Bezier) to calculate the bounding box; includes the drawing attributes, such as pen width, in the calculation.
NoCurveFit Uses the polyline of the strokes (ignoring Bezier curve fitting requests) to calculate the bounding box; includes the drawing attributes in the calculation.
CurveFit Uses the Bezier curve fitting line of the strokes (apply Bezier curve fitting to all strokes) to calculate the bounding box; includes the drawing attributes in the calculation.
PointsOnly Uses only the points of the strokes to calculate the bounding box.
Union Signifies the union of a NoCurveFit request and a CurveFit request.