/** @file * Node types and other small enums. * This file exists to reduce the number of includes pulled in by toolbox.cpp. */ /* Authors: * Krzysztof KosiĆski <tweenk.pl@gmail.com> * * Copyright (C) 2009 Authors * Released under GNU GPL, read the file 'COPYING' for more information */ #ifndef SEEN_UI_TOOL_NODE_TYPES_H #define SEEN_UI_TOOL_NODE_TYPES_H namespace Inkscape { namespace UI { /** Types of nodes supported in the node tool. */ 00019 enum NodeType { 00020 NODE_CUSP, ///< Cusp node - no handle constraints 00021 NODE_SMOOTH, ///< Smooth node - handles must be colinear 00022 NODE_AUTO, ///< Auto node - handles adjusted automatically based on neighboring nodes 00023 NODE_SYMMETRIC, ///< Symmetric node - handles must be colinear and of equal length 00024 NODE_LAST_REAL_TYPE, ///< Last real type of node - used for ctrl+click on a node 00025 NODE_PICK_BEST = 100 ///< Select type based on handle positions }; /** Types of segments supported in the node tool. */ 00029 enum SegmentType { 00030 SEGMENT_STRAIGHT, ///< Straight linear segment 00031 SEGMENT_CUBIC_BEZIER ///< Bezier curve with two control points }; } // namespace UI } // namespace Inkscape #endif /* Local Variables: mode:c++ c-file-style:"stroustrup" c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) indent-tabs-mode:nil fill-column:99 End: */ // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :