MyScript Interactive Ink SDK 4.4.2
Classes | Enumerations | Functions
myscript::iink::graphics Namespace Reference

Classes

struct  Color
 
struct  ExtraBrushStyle
 
class  ICanvas
 
struct  InkPoint
 
struct  InkPoints
 
class  IPath
 
class  IStroker
 
class  IStrokerFactory
 
struct  Point
 
struct  PointD
 
struct  Rectangle
 
class  Style
 
struct  Transform
 

Enumerations

enum class  FillRule { NONZERO , EVENODD }
 
enum  PathOperation { NONE = 0 , CURVE_OPS = 1 << 0 , QUAD_OPS = 1 << 1 , ARC_OPS = 1 << 2 }
 
enum class  LineCap { BUTT , ROUND , SQUARE }
 
enum class  LineJoin { MITER , ROUND , BEVEL }
 
enum  StyleFlag {
  StyleFlag_NONE = 0 , STROKE_COLOR = 1 << 0 , STROKE_WIDTH = 1 << 1 , STROKE_LINE_CAP = 1 << 2 ,
  STROKE_LINE_JOIN = 1 << 3 , STROKE_MITER_LIMIT = 1 << 4 , STROKE_DASH_ARRAY = 1 << 5 , STROKE_DASH_OFFSET = 1 << 6 ,
  FILL_COLOR = 1 << 7 , FILL_RULE = 1 << 8 , FONT_FAMILY = 1 << 9 , FONT_LINE_HEIGHT = 1 << 10 ,
  FONT_SIZE = 1 << 11 , FONT_STYLE = 1 << 12 , FONT_VARIANT = 1 << 13 , FONT_WEIGHT = 1 << 14 ,
  DROPSHADOW_XOFFSET = 1 << 15 , DROPSHADOW_YOFFSET = 1 << 16 , DROPSHADOW_RADIUS = 1 << 17 , DROPSHADOW_COLOR = 1 << 18 ,
  StyleFlag_ALL = (1 << 19) - 1
}
 

Functions

std::ostream & operator<< (std::ostream &os, const Color &c)
 

Enumeration Type Documentation

◆ FillRule

Defines the methods used to fill paths and polygons.

Enumerator
NONZERO 

Non-zero fill rule.

EVENODD 

Even-odd fill rule.

◆ PathOperation

Lists the path operation types.

Enumerator
NONE 

Default value

CURVE_OPS 

Cubic Bezier curve operations (

See also
IPath::curveTo).
QUAD_OPS 

Quadratic Bezier curve operations (

See also
IPath::quadTo).
ARC_OPS 

Elliptic arc operations (

See also
IPath::arcTo).

◆ LineCap

Defines how the ends of segments are drawn.

Enumerator
BUTT 

Butt end style.

ROUND 

Round end style.

SQUARE 

Square end style.

◆ LineJoin

Defines how the joins between connected segments are drawn.

Enumerator
MITER 

Miter join style.

ROUND 

Round join style.

BEVEL 

Bevel join style.

◆ StyleFlag

Style information flags.

Enumerator
StyleFlag_NONE 

Convenience value: none of the properties.

STROKE_COLOR 

Stroke color property.

STROKE_WIDTH 

Stroke width property.

STROKE_LINE_CAP 

Stroke line cap property.

STROKE_LINE_JOIN 

Stroke line join property.

STROKE_MITER_LIMIT 

Stroke miter limit property.

STROKE_DASH_ARRAY 

stroke dash array property.

STROKE_DASH_OFFSET 

Stroke dash offset property.

FILL_COLOR 

Fill color property.

FILL_RULE 

Fill rule property.

FONT_FAMILY 

Font family property.

FONT_LINE_HEIGHT 

Font line height property.

FONT_SIZE 

Font size property.

FONT_STYLE 

Font style property.

FONT_VARIANT 

Font variant property.

FONT_WEIGHT 

Font weight property.

DROPSHADOW_XOFFSET 

Drop shadow horizontal offset.

DROPSHADOW_YOFFSET 

Drop shadow vertical offset.

DROPSHADOW_RADIUS 

Drop shadow blur radius.

DROPSHADOW_COLOR 

Drop shadow color.

StyleFlag_ALL 

Convenience value: all properties.

Function Documentation

◆ operator<<()

std::ostream & myscript::iink::graphics::operator<< ( std::ostream &  os,
const Color &  c 
)
inline