InkBoundingBoxMode enumeration (msinkaut.h)

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.

Syntax

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

Constants

 
IBBM_Default
Value: 0
The definition of each stroke (polyline or Bezier) is used to calculate the bounding box; includes the drawing attributes, such as pen width, in the calculation.
IBBM_NoCurveFit
Value: 1
The polyline of the strokes (ignoring Bezier curve fitting requests) is used to calculate the bounding box; includes the drawing attributes in the calculation.
IBBM_CurveFit
Value: 2
The Bezier curve fitting line of the strokes (apply Bezier curve fitting to all strokes) is used to calculate the bounding box; includes the drawing attributes in the calculation.
IBBM_PointsOnly
Value: 3
Only the points of the strokes are used to calculate the bounding box.
IBBM_Union
Value: 4
The union of a NoCurveFit request and a CurveFit request.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Header msinkaut.h

See also

GetBoundingBox Method

InkDisp Class