The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Point flags

Changes made to libsvgbird/PointValue.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libsvgbird/PointValue.vala +++ libsvgbird/PointValue.vala @@ -14,10 +14,13 @@ namespace SvgBird { - public static const uchar POINT_NONE = 0; - public static const uchar POINT_ARC = 1; - public static const uchar POINT_CUBIC = 2; - public static const uchar POINT_LINE = 3; + public static const uint32 POINT_NONE = 0; + public static const uint32 POINT_ARC = 1; + public static const uint32 POINT_CUBIC = 1 << 1; + public static const uint32 POINT_LINE = 1 << 2; + public static const uint32 POINT_NEXT_LINE = 1 << 3; + public static const uint32 POINT_PREVIOUS_LINE = 1 << 4; + public static const uint32 POINT_TYPE = POINT_ARC | POINT_CUBIC | POINT_LINE; }