This topic has not yet been rated - Rate this topic

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

NameDescription
DefaultUses the definition of each stroke (polyline or Bezier) to calculate the bounding box; includes the drawing attributes, such as pen width, in the calculation.
NoCurveFitUses the polyline of the strokes (ignoring Bezier curve fitting requests) to calculate the bounding box; includes the drawing attributes in the calculation.
CurveFitUses 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.
PointsOnlyUses only the points of the strokes to calculate the bounding box.
UnionSignifies the union of a NoCurveFit request and a CurveFit request.

Related Topics

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.