Inkscape
Vector Graphics Editor
|
CMYK to sRGB conversion routines. More...
Namespaces | |
namespace | Algorithms |
Some STL-style algorithms. | |
namespace | Async |
namespace | canvas_event_detail |
namespace | Debug |
Debugging utilities. | |
namespace | Display |
Rendering-related code. | |
namespace | Extension |
Extension support. | |
namespace | Filters |
namespace | FrameCheck |
namespace | GC |
Boehm-GC based garbage collector. | |
namespace | Handles |
Classes related to control handle styling. | |
namespace | IO |
Low-level IO code. | |
namespace | LivePathEffect |
Live Path Effects code. | |
namespace | Modifiers |
namespace | NodePath |
namespace | SelectionHelper |
namespace | SVG |
namespace | Text |
namespace | Trace |
Tracing backend. | |
namespace | Traits |
namespace | UI |
User interface code. | |
namespace | ustring |
namespace | Util |
Miscellaneous supporting code. | |
namespace | XML |
@Inkscape XML tree. | |
namespace | Xml |
Classes | |
struct | accel_key_less |
class | AlignmentSnapper |
Snapping things to on-canvas alignment guides. More... | |
class | Application |
class | auto_connection |
class | AutoSave |
class | BadURIException |
class | BooleanBuilder |
struct | ButtonEvent |
Abstract event for mouse button (left/right/middle). More... | |
struct | ButtonPressEvent |
A mouse button (left/right/middle) is pressed. More... | |
struct | ButtonReleaseEvent |
A mouse button (left/right/middle) is released. More... | |
struct | CacheRecord |
struct | CairoPatternFreer |
struct | CanvasEvent |
Abstract base class for events. More... | |
class | CanvasItem |
class | CanvasItemBpath |
struct | CanvasItemBuffer |
Class used when rendering canvas items. More... | |
class | CanvasItemCatchall |
class | CanvasItemContext |
class | CanvasItemCtrl |
class | CanvasItemCurve |
class | CanvasItemDrawing |
class | CanvasItemGrid |
class | CanvasItemGridAxonom |
Canvas Item for axonometric grids. More... | |
class | CanvasItemGridTiles |
class | CanvasItemGridXY |
Canvas Item for rectangular grids. More... | |
class | CanvasItemGroup |
class | CanvasItemGuideHandle |
class | CanvasItemGuideLine |
class | CanvasItemQuad |
class | CanvasItemRect |
class | CanvasItemText |
class | CanvasPage |
class | CMSSystem |
class | CMSTransform |
class | CmykConverter |
class | ColorProfile |
Color Profile. More... | |
class | ColorProfileClassSig |
class | ColorProfileClassSigWrapper |
class | ColorSpaceSig |
class | ColorSpaceSigWrapper |
class | CompositeUndoStackObserver |
Aggregates UndoStackObservers for management and triggering in an SPDocument's undo/redo system. More... | |
class | ConsoleOutputUndoObserver |
Inkscape::ConsoleOutputUndoObserver - observer for tracing calls to SPDocumentUndo::undo, SPDocumentUndo::redo, SPDocumentUndo::maybe_done. More... | |
class | CSSOStringStream |
A thin wrapper around std::ostringstream, but writing floating point numbers in the format required by CSS: ‘. More... | |
class | DistributionSnapper |
Snapping equidistant objects. More... | |
class | DocumentFonts |
class | DocumentSubset |
class | DocumentUndo |
class | Drawing |
class | DrawingCache |
class | DrawingContext |
Minimal wrapper over Cairo. More... | |
class | DrawingGlyphs |
class | DrawingGradient |
The base class for all gradients. More... | |
class | DrawingGroup |
class | DrawingImage |
class | DrawingItem |
SVG drawing item for display. More... | |
class | DrawingLinearGradient |
A linear gradient. More... | |
class | DrawingMeshGradient |
A mesh gradient. More... | |
class | DrawingPaintServer |
A DrawingPaintServer is a lightweight copy of the resources needed to paint using a paint server. More... | |
class | DrawingPattern |
Drawing tree node used for rendering paints. More... | |
class | DrawingRadialGradient |
A radial gradient. More... | |
class | DrawingShape |
class | DrawingSolidColor |
A simple solid color, storing an RGB color and an opacity. More... | |
class | DrawingSurface |
Drawing surface that remembers its origin. More... | |
class | DrawingText |
struct | EnterEvent |
The pointer has entered a widget or item. More... | |
class | ErrorReporter |
class | Event |
class | EventLog |
A simple log for maintaining a history of committed, undone and redone events along with their type. More... | |
class | EventMask |
A mask representing a subset of EventTypes. More... | |
struct | ExtendedInput |
Extended input data associated to events generated by graphics tablets. More... | |
class | FilteredStore |
struct | FontCollection |
class | FontCollections |
class | FontLister |
This class enumerates fonts using libnrtype into reusable data stores and allows for random access to the font-family list and the font-style list. More... | |
class | FourCCSig |
Opaque holder of a 32-bit signature type. More... | |
class | GridSnapper |
Snapper class for grids. More... | |
class | GuideSnapper |
Snap to guides. More... | |
struct | hashed |
class | ICCProfileInfo |
struct | InvalidItemException |
struct | is_group |
struct | is_item |
struct | ItemPair |
struct | KeyEvent |
A key has been pressed. More... | |
struct | KeyPressEvent |
A key has been pressed. More... | |
struct | KeyReleaseEvent |
A key has been released. More... | |
class | LayerManager |
struct | LeaveEvent |
The pointer has exited a widget or item. More... | |
class | LineSnapper |
Superclass for snappers to horizontal and vertical lines. More... | |
class | MalformedURIException |
class | MessageContext |
A convenience class for working with MessageStacks. More... | |
class | MessageStack |
A class which holds a stack of displayed messages. More... | |
struct | MotionEvent |
Movement of the mouse pointer. More... | |
class | NRStyle |
struct | NRStyleData |
class | object_renderer |
struct | object_to_group |
struct | object_to_item |
struct | object_to_node |
class | ObjectHierarchy |
An Inkscape::ObjectHierarchy is useful for situations where one wishes to keep a reference to an SPObject, but fall back on one of its ancestors when that object is removed. More... | |
class | ObjectSet |
class | ObjectSnapper |
Snapping things to objects. More... | |
class | PageManager |
class | PaperSize |
Data class used to store common paper dimensions from pages.csv. More... | |
class | PatternManager |
class | Pixbuf |
Class to hold image data for raster images. More... | |
struct | Pref |
Proxy object providing a "live value" interface. More... | |
class | Pref< bool > |
class | Pref< double > |
class | Pref< Glib::ustring > |
class | Pref< int > |
class | Pref< void > |
class | PrefBase |
class | Preferences |
Preference storage class. More... | |
class | ProfileManager |
class | PureRotateConstrained |
class | PureScale |
class | PureScaleConstrained |
class | PureSkewConstrained |
class | PureStretchConstrained |
class | PureTransform |
class | PureTranslate |
class | PureTranslateConstrained |
struct | random_access |
class | RecentlyUsedFonts |
struct | RenderContext |
class | Rubberband |
Rubberbanding selector. More... | |
struct | ScrollEvent |
Scroll the item or widget by the provided amount. More... | |
class | SelCue |
class | Selection |
The set of selected SPObjects for a given document and layer model. More... | |
class | SelectionDescriber |
class | SelTrans |
class | Shortcuts |
class | SnapCandidateItem |
class | SnapCandidatePath |
class | SnapCandidatePoint |
Class to store data for points which are snap candidates, either as a source or as a target. More... | |
class | SnappedCurve |
Class describing the result of an attempt to snap to a curve. More... | |
class | SnappedLine |
Class describing the result of an attempt to snap to a line. More... | |
class | SnappedLineSegment |
Class describing the result of an attempt to snap to a line segment. More... | |
class | SnappedPoint |
Class describing the result of an attempt to snap. More... | |
class | Snapper |
Parent for classes that can snap points to something. More... | |
class | SnapPreferences |
Storing of snapping preferences. More... | |
class | SPWeakPtr |
A weak pointer to an SPObject: it nulls itself upon the object's destruction. More... | |
class | SubItem |
When an item is broken, each broken part is represented by the SubItem class. More... | |
class | svg_renderer |
class | SVGIStringStream |
class | SVGOStringStream |
class | UndoStackObserver |
Observes changes made to the undo and redo stacks. More... | |
class | UnsupportedURIException |
struct | UpdateContext |
class | URI |
Represents an URI as per RFC 2396. More... | |
class | URIReference |
A class encapsulating a reference to a particular URI; observers can be notified when the URI comes to reference a different SPObject. More... | |
struct | VariantVisitor |
class | Version |
Typedefs | |
using | CacheList = std::list< CacheRecord > |
using | CairoPatternUniqPtr = std::unique_ptr< cairo_pattern_t, CairoPatternFreer > |
using | StartMethod = void(Gtk::FileDialog::*)(Gtk::Window &, Gio::SlotAsyncReady const &, Glib::RefPtr< Gio::Cancellable > const &) |
using | FinishMethod = Glib::RefPtr< Gio::File >(Gtk::FileDialog::*)(Glib::RefPtr< Gio::AsyncResult > const &) |
using | MessageId = std::uint_least32_t |
An integer ID which identifies a displayed message in a particular Inkscape::MessageStack. More... | |
typedef boost::multi_index_container< SPObject *, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::random_access< boost::multi_index::tag< random_access > >, boost::multi_index::hashed_unique< boost::multi_index::tag< hashed >, boost::multi_index::identity< SPObject * > > > > | MultiIndexContainer |
typedef boost::any_range< SPObject *, boost::random_access_traversal_tag, SPObject *const &, std::ptrdiff_t > | SPObjectRange |
typedef ObjectSet::SPItemRange | SPItemRange |
typedef ObjectSet::SPGroupRange | SPGroupRange |
typedef ObjectSet::XMLNodeRange | XMLNodeRange |
typedef std::unique_ptr< Preferences::PreferencesObserver > | PrefObserver |
typedef std::tuple< std::string, std::string, std::string, std::uint32_t, std::uint32_t, double, double, bool, int > | Key |
using | VisualItem = CanvasItemPtr< CanvasItemBpath > |
using | PathvectorItems = std::vector< PathvectorItem > |
using | WorkItem = std::shared_ptr< SubItem > |
using | WorkItems = std::vector< WorkItem > |
Functions | |
bool | is_icc_file (std::string const &filepath) |
std::string | get_color_profile_name (cmsHPROFILE profile) |
std::array< uint8_t, 3 > | simple_cmyk_to_rgb (float c, float m, float y, float k) |
cmsColorSpaceSignature | asICColorSpaceSig (ColorSpaceSig const &sig) |
cmsProfileClassSignature | asICColorProfileClassSig (ColorProfileClassSig const &sig) |
bool | have_viable_layer (SPDesktop *desktop, MessageContext *message) |
Check to see if the current layer is both unhidden and unlocked. More... | |
bool | have_viable_layer (SPDesktop *desktop, MessageStack *message) |
Check to see if the current layer is both unhidden and unlocked. More... | |
Geom::Rect | snap_rectangular_box (SPDesktop const *desktop, SPItem *item, Geom::Point const &pt, Geom::Point const ¢er, int state) |
static bool | _workaround_issue_70__gdk_pixbuf_loader_write (GdkPixbufLoader *loader, guchar *decoded, gsize decoded_len, GError **error) |
Incremental file read introduced to workaround https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/70. More... | |
static int | get_size_default () |
static double | angle_of (Geom::Affine const &affine) |
static double | signed_distance (Geom::Point const &point, Geom::Line const &line) |
static std::vector< Geom::Point > | intersect_line_rectangle (Geom::Line const &line, Geom::Rect const &rect) |
static void | drawline (Inkscape::CanvasItemBuffer &buf, int x0, int y0, int x1, int y1, uint32_t rgba) |
static void | vline (Inkscape::CanvasItemBuffer &buf, int x, int ys, int ye, uint32_t rgba) |
static double | distance_to_segment (Geom::Point const &p, Geom::Point const &a1, Geom::Point const &a2) |
Calculates the closest distance from p to the segment a1-a2. More... | |
void | apply_antialias (DrawingContext &dc, Antialiasing antialias) |
Apply antialias setting to Cairo. More... | |
void | propagate_antialias (SPShapeRendering shape_rendering, DrawingItem &item) |
Propagate element's shape rendering attribute into internal anti-aliasing setting of DrawingItem. More... | |
static auto | rendermode_to_renderflags (RenderMode mode) |
static auto | default_numthreads () |
CairoPatternUniqPtr | copy (CairoPatternUniqPtr const &p) |
std::vector< PaintTarget > const & | allPaintTargets () |
Convenience function to access a common vector of all enum values. More... | |
Glib::RefPtr< Gtk::FileDialog > | create_file_dialog (Glib::ustring const &title, Glib::ustring const &accept_label) |
Create a Gtk::FileDialog with the given title and label for its default/accept button. More... | |
void | set_filters (Gtk::FileDialog &file_dialog, Glib::RefPtr< Gio::ListStore< Gtk::FileFilter > > const &filters) |
Set available filters to a given list, & default to its 1st filter (if any). More... | |
void | set_filter (Gtk::FileDialog &file_dialog, Glib::RefPtr< Gtk::FileFilter > const &filter) |
Set the available filters & the default filter, to the single filter passed. More... | |
static auto | run (Gtk::FileDialog &file_dialog, Gtk::Window &parent, std::string ¤t_folder, StartMethod const start, FinishMethod const finish) |
std::string | choose_file_save (Glib::ustring const &title, Gtk::Window *parent, Glib::ustring const &mime_type, Glib::ustring const &file_name, std::string ¤t_folder) |
Synchronously run a Gtk::FileDialog to select a file for saving data. More... | |
static std::string | _choose_file_open (Glib::ustring const &title, Gtk::Window *parent, std::vector< std::pair< Glib::ustring, Glib::ustring > > const &filters, std::vector< Glib::ustring > const &mime_types, std::string ¤t_folder) |
std::string | choose_file_open (Glib::ustring const &title, Gtk::Window *parent, std::vector< Glib::ustring > const &mime_types, std::string ¤t_folder) |
Synchronously run a Gtk::FileDialog to open a single file for reading data. More... | |
std::string | choose_file_open (Glib::ustring const &title, Gtk::Window *parent, std::vector< std::pair< Glib::ustring, Glib::ustring > > const &filters, std::string ¤t_folder) |
Synchronously run a Gtk::FileDialog to open a single file for reading data. More... | |
Geom::PathVector | outline (Geom::Path const &input, double width, double miter, LineJoinType join=JOIN_BEVEL, LineCapType cap=BUTT_FLAT, double tolerance=-1) |
Strokes the path given by input. More... | |
Geom::Path | half_outline (Geom::Path const &input, double width, double miter, LineJoinType join=JOIN_BEVEL, double tolerance=-1) |
Offset the input path by width. More... | |
void | outline_join (Geom::Path &res, Geom::Path const &outgoing, Geom::Point in_tang, Geom::Point out_tang, double width, double miter, LineJoinType join) |
Builds a join on the provided path. More... | |
std::vector< std::vector< int > > | connected_components (int size, std::function< bool(int, int)> const &adj_test) |
Return the list of connected components of a graph described by an adjacency-test function. More... | |
bool | is_path_empty (Geom::Path const &path) |
Check for an empty path. More... | |
std::vector< Geom::PathVector > | split_non_intersecting_paths (Geom::PathVector &&paths, bool remove_empty=false) |
Split a collection of paths into connected components. More... | |
Geom::PathVector | do_offset (Geom::PathVector const &path_in, double to_offset, double tolerance, double miter_limit, FillRule fillrule, Inkscape::LineJoinType join, Geom::Point point, Geom::PathVector &helper_path, Geom::PathVector &mix_pathv_all) |
Create a user spected offset from a pathvector. More... | |
Geom::PathVector | do_offset (Geom::PathVector const &path_in, double to_offset, double tolerance, double miter_limit, FillRule fillrule, Inkscape::LineJoinType join) |
void | initialize_gettext () |
does all required gettext initialization and takes care of the respective locale directory paths More... | |
void | bind_textdomain_codeset_utf8 () |
set gettext codeset to UTF8 More... | |
void | bind_textdomain_codeset_console () |
set gettext codeset to codeset of the system console More... | |
bool | save_image (const std::string &fname, const Inkscape::Pixbuf *pixbuf) |
bool | extract_image (Gtk::Window *parent, SPImage *image) |
std::string | inkscape_version () |
Return Inkscape version string. More... | |
std::string | inkscape_revision () |
Return Inkscape repository revision string. More... | |
static std::string | _run (char const *command) |
Wrapper around g_spawn_sync which captures STDOUT and strips trailing whitespace. More... | |
std::string | os_version () |
Return OS version string. More... | |
std::string | debug_info () |
Return full debug info. More... | |
unsigned short int | inkscape_build_year () |
Return build year as 4 digit. More... | |
static std::vector< std::string > | splitPath (std::string const &path) |
std::string | optimizePath (std::string const &path, std::string const &base, unsigned int parents) |
Convert an absolute path into a relative one if possible to do in the given number of parent steps. More... | |
bool | fixBrokenLinks (SPDocument *doc) |
static std::vector< Glib::ustring > | findBrokenLinks (SPDocument *doc) |
Walk all links in a document and create a listing of unique broken links. More... | |
static std::map< Glib::ustring, Glib::ustring > | locateLinks (Glib::ustring const &docbase, std::vector< Glib::ustring > const &brokenLinks) |
Resolve broken links as a whole and return a map for those that can be found. More... | |
static bool | extractFilepath (Glib::ustring const &href, std::string &filename) |
Try to parse href into a local filename using standard methods. More... | |
static bool | reconstructFilepath (Glib::ustring const &href, std::string &filename) |
Try to parse href into a local filename using some non-standard methods. More... | |
static bool | searchUpwards (std::string const &base, std::string const &subpath, std::string &dest) |
static bool | is_layer (SPObject &object) |
static SPObject * | next_sibling_layer (SPObject *layer) |
Finds the next sibling layer for a layer. More... | |
static SPObject * | previous_sibling_layer (SPObject *layer) |
Finds the previous sibling layer for a layer. More... | |
static SPObject * | first_descendant_layer (SPObject *layer) |
Finds the first child of a layer. More... | |
static SPObject * | last_child_layer (SPObject *layer) |
Finds the last (topmost) child of a layer. More... | |
static SPObject * | last_elder_layer (SPObject *root, SPObject *layer) |
SPObject * | next_layer (SPObject *root, SPObject *layer) |
Finds the next layer under root, relative to layer in depth-first order. More... | |
SPObject * | previous_layer (SPObject *root, SPObject *layer) |
Finds the previous layer under root, relative to layer in depth-first order. More... | |
SPObject * | create_layer (SPObject *root, SPObject *layer, LayerRelativePosition position) |
Creates a new layer. More... | |
std::vector< SPItem * > | get_layers_to_toggle (SPObject *layer, SPObject *current_root) |
static int | compute_distance (PangoFontDescription const *a, PangoFontDescription const *b) |
gboolean | font_description_better_match (PangoFontDescription *target, PangoFontDescription *old_desc, PangoFontDescription *new_desc) |
void | getBBoxPoints (Geom::OptRect const bbox, std::vector< SnapCandidatePoint > *points, bool const isTarget, bool const corners, bool const edges, bool const midpoint) |
Default version of the getBBoxPoints with default corner source types. More... | |
void | getBBoxPoints (Geom::OptRect const bbox, std::vector< SnapCandidatePoint > *points, bool const isTarget, Inkscape::SnapSourceType corners, Inkscape::SnapTargetType cornert, Inkscape::SnapSourceType edges, Inkscape::SnapTargetType edget, Inkscape::SnapSourceType midpoints, Inkscape::SnapTargetType midpointt) |
static bool | uri_needs_escaping (char const *uri) |
Return true if the given URI string contains characters that need escaping. More... | |
static std::string | build_relative_uri (char const *uri, char const *base) |
Replacement for buggy xmlBuildRelativeURI https://gitlab.gnome.org/GNOME/libxml2/merge_requests/12. More... | |
static int | uri_unescape_triplet (const char *s) |
If s starts with a "%XX" triplet, return its byte value, 0 otherwise. More... | |
static int | uri_unescape_utf8_codepoint (const char *s, char *out) |
If s starts with a percent-escaped UTF-8 sequence, unescape one code point and store it in out variable. More... | |
std::string | uri_to_iri (const char *uri) |
Unescape the UTF-8 parts of the given URI. More... | |
void | convert_text_to_curves (SPDocument *) |
Convert all text in the document to path, in-place. More... | |
void | copy_object_properties (XML::Node *dest, XML::Node const *src) |
Copy generic object properties, like: More... | |
static Inkscape::XML::Document * | loadImpl (std::string const &prefsFilename, Glib::ustring &errMsg) |
static void | migrateDetails (Inkscape::XML::Document *from, Inkscape::XML::Document *to) |
Geom::Scale | calcScaleFactors (Geom::Point const &initial_point, Geom::Point const &new_point, Geom::Point const &origin, bool const skew=false) |
char const * | refX_named_to_percent (char const *str) |
char const * | refY_named_to_percent (char const *str) |
Glib::RefPtr< Gdk::Cursor > | load_svg_cursor (Gtk::Widget &widget, std::string const &file_name, std::uint32_t const fill, std::uint32_t const stroke, double fill_opacity, double stroke_opacity) |
Loads an SVG cursor from the specified file name. More... | |
void | set_svg_cursor (Gtk::Widget &widget, std::string const &file_name, std::uint32_t const fill, std::uint32_t const stroke, double fill_opacity, double stroke_opacity) |
Loads an SVG cursor from the specified file name, and sets it as the cursor of the given widget. More... | |
static Gtk::AccelKey | get_from_event_impl (unsigned const event_keyval, unsigned const event_keycode, GdkModifierType const event_state, unsigned const event_group, bool const fix) |
template<typename T > | |
static void | append (std::vector< T > &target, std::vector< T > &&source) |
static Glib::ustring | join (std::vector< Glib::ustring > const &accels, char const separator) |
Gdk::ModifierType | parse_modifier_string (char const *const modifiers_string) |
Glib::ustring | rgba_to_css_color (double r, double g, double b) |
Glib::ustring | rgba_to_css_color (const Gdk::RGBA &color) |
Glib::ustring | rgba_to_css_color (const SPColor &color) |
Glib::ustring | double_to_css_value (double value) |
std::shared_ptr< SPDocument > | load_document (const char *svg_file_path) |
static Geom::PathVector | clean_pathvector (Geom::PathVector &&pathv) |
static void | extract_pathvectors_recursive (SPItem *root, SPItem *item, PathvectorItems &result, Geom::Affine const &transform) |
static FillRule | sp_to_livarot (SPWindRule fillrule) |
ExtendedInput | extinput_from_gdkevent (Gdk::Event const &event) |
Read the extended input data from a Gdk::Event. More... | |
template<typename E , typename... Fs> | |
void | inspect_event (E &&event, Fs... funcs) |
Perform pattern-matching on a CanvasEvent. More... | |
bool | mod_shift (unsigned modifiers) |
bool | mod_ctrl (unsigned modifiers) |
bool | mod_alt (unsigned modifiers) |
bool | mod_shift_only (unsigned modifiers) |
bool | mod_ctrl_only (unsigned modifiers) |
bool | mod_alt_only (unsigned modifiers) |
bool | mod_shift (KeyEvent const &event) |
bool | mod_ctrl (KeyEvent const &event) |
bool | mod_alt (KeyEvent const &event) |
bool | mod_shift_only (KeyEvent const &event) |
bool | mod_ctrl_only (KeyEvent const &event) |
bool | mod_alt_only (KeyEvent const &event) |
bool | state_held_shift (unsigned state) |
bool | state_held_ctrl (unsigned state) |
bool | state_held_alt (unsigned state) |
bool | state_held_only_shift (unsigned state) |
bool | state_held_only_ctrl (unsigned state) |
bool | state_held_only_alt (unsigned state) |
bool | state_held_any_modifiers (unsigned state) |
bool | state_held_no_modifiers (unsigned state) |
template<unsigned button> | |
bool | state_held_button (unsigned state) |
bool | held_shift (CanvasEvent const &event) |
bool | held_ctrl (CanvasEvent const &event) |
bool | held_alt (CanvasEvent const &event) |
bool | held_only_shift (CanvasEvent const &event) |
bool | held_only_ctrl (CanvasEvent const &event) |
bool | held_only_alt (CanvasEvent const &event) |
bool | held_any_modifiers (CanvasEvent const &event) |
bool | held_no_modifiers (CanvasEvent const &event) |
template<unsigned button> | |
bool | held_button (CanvasEvent const &event) |
void | dump_event (CanvasEvent const &event, char const *prefix, bool merge=true) |
Print an event to stdout. More... | |
constexpr EventMask | operator~ (EventType a) |
constexpr EventMask | operator& (EventType a, EventMask b) |
constexpr EventMask | operator| (EventType a, EventMask b) |
const EnumDataConverter< SPBlendMode > | SPBlendModeConverter (SPBlendModeData, SP_CSS_BLEND_COUNT) |
Cairo::RefPtr< Cairo::Surface > | draw_handles_preview (int device_scale) |
Cairo::RefPtr< Cairo::Surface > | add_background_to_image (Cairo::RefPtr< Cairo::Surface > image, uint32_t rgb, double margin, double radius, int device_scale, std::optional< uint32_t > border=std::optional< uint32_t >()) |
std::unique_ptr< SPDocument > | ink_markers_preview_doc (const Glib::ustring &group_id) |
Returns a new document containing default start, mid, and end markers. More... | |
Cairo::RefPtr< Cairo::Surface > | create_marker_image (const Glib::ustring &group_id, SPDocument *_sandbox, Gdk::RGBA marker_color, Geom::IntPoint pixel_size, const char *mname, SPDocument *source, Inkscape::Drawing &drawing, std::optional< guint32 > checkerboard, bool no_clip, double scale, int device_scale) |
Creates a copy of the marker named mname, determines its visible and renderable area in the bounding box, and then renders it. More... | |
void | draw_gradient (const Cairo::RefPtr< Cairo::Context > &cr, SPGradient *gradient, int x, int width) |
Renders a preview of a gradient into the passed context. More... | |
std::set< unsigned int > | parseIntRange (const std::string &input, unsigned int start=1, unsigned int end=0) |
Parse integer ranges out of a string using regex. More... | |
template<typename... Fs> | |
VariantVisitor (Fs...) -> VariantVisitor< Fs... > | |
bool | is_query_style_updateable (const int style) |
std::pair< char const *, char const * > | getHrefAttribute (XML::Node const &node) |
Get the 'href' or 'xlink:href' (fallback) attribute from an XML node. More... | |
void | setHrefAttribute (XML::Node &node, Util::const_char_ptr value) |
If the 'href' attribute already exists for the given node, then set a new value for it. More... | |
Variables | |
constexpr int | MIN_INDEX = 1 |
constexpr int | MAX_INDEX = 15 |
constexpr uint32_t | CANVAS_ITEM_COLORS [] = { 0x0000ff7f, 0xff00007f, 0xffff007f } |
static auto constexpr | grayscale_matrix |
char const * | revision_string |
code revision string More... | |
char const * | version_string |
full version string More... | |
char const * | version_string_without_revision |
version string excluding revision and date More... | |
unsigned short int const | build_year |
four digit year of build More... | |
unsigned int const | version_major |
unsigned int const | version_minor |
unsigned int const | version_patch |
auto const | URI_ALLOWED_NON_ALNUM = "!#$%&'()*+,-./:;=?@_~" |
static Inkscape::XML::Document * | migrateFromDoc = nullptr |
static Glib::ustring const | RAWCACHE_CODE_NULL {"N"} |
static Glib::ustring const | RAWCACHE_CODE_VALUE {"V"} |
static constexpr std::array< uint32_t, 6 > | fill_lite = {0x00000055, 0x0291ffff, 0x8eceffff, 0x0291ffff, 0xf299d6ff, 0xff0db3ff} |
static constexpr std::array< uint32_t, 6 > | fill_dark = {0xffffff55, 0x0291ffff, 0x8eceffff, 0x0291ffff, 0xf299d6ff, 0xff0db3ff} |
constexpr auto | INK_GDK_MODIFIER_MASK = GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_CONTROL_MASK |
All modifiers used by Inkscape. More... | |
constexpr bool | DEBUG_EVENTS = false |
Whether event debug printing is enabled. More... | |
const int | SP_CSS_BLEND_COUNT = SP_CSS_BLEND_ENDMODE + 5 |
const EnumData< SPBlendMode > | SPBlendModeData [SP_CSS_BLEND_COUNT] |
const Util::EnumDataConverter< SPBlendMode > | SPBlendModeConverter |
const std::string | RECENTLY_USED_FONTS = _("Recently Used Fonts") |
const std::string | DOCUMENT_FONTS = _("Document Fonts") |
const char * | RECENTFONTS_FILENAME = "recently_used_fonts.log" |
CMYK to sRGB conversion routines.
Helper methods for resolving URI References.
The reference corresponding to a satelite in a LivePathEffectObject.
This class provided buffered endpoints for input and output.
Main Inkscape namespace.
A class to represent on-screen text.
A class to represent a control textrilateral.
A class to represent a control rectangle.
A class to represent a control quadrilateral.
A class to represent a control guide line.
A CanvasItem that contains other CanvasItems.
A class to render the SVG drawing.
A class to represent a single Bezier control curve.
A class to represent a single Bezier control curve, either a line or a cubic Bezier.
A class to represent a control node.
A class to catch events after everyone else has had a go.
Buffer for rendering canvas items.
A class to represent a Bezier path.
Author: Michael Kowalski
Copyright (C) 2023 Michael Kowalski
Released under GNU GPL v2+, read the file 'COPYING' for more information.
Used to highlight selected text.
Used for rubberband selector, page outline, etc.
This namespace contains all code internal to Inkscape.
Authors: Lauris Kaplinski lauri.nosp@m.s@ka.nosp@m.plins.nosp@m.ki.c.nosp@m.om Marc Jeanmougin
Copyright (C) 2001-2002 Lauris Kaplinski Copyright (C) 2001 Ximian, Inc.
Released under GNU GPL v2+, read the file 'COPYING' for more information.
Author: Michael Kowalski
Copyright (C) 2020-2021 Michael Kowalski
Released under GNU GPL v2+, read the file 'COPYING' for more information.
using Inkscape::CacheList = typedef std::list<CacheRecord> |
Definition at line 74 of file drawing-item.h.
using Inkscape::CairoPatternUniqPtr = typedef std::unique_ptr<cairo_pattern_t, CairoPatternFreer> |
Definition at line 35 of file nr-style.h.
using Inkscape::FinishMethod = typedef Glib::RefPtr<Gio::File> (Gtk::FileDialog::*) (Glib::RefPtr<Gio::AsyncResult> const &) |
Definition at line 47 of file choose-file.cpp.
typedef std::tuple<std::string, std::string, std::string, std::uint32_t, std::uint32_t, double, double, bool, int> Inkscape::Key |
Definition at line 47 of file cursor-utils.cpp.
using Inkscape::MessageId = typedef std::uint_least32_t |
An integer ID which identifies a displayed message in a particular Inkscape::MessageStack.
typedef boost::multi_index_container< SPObject*, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::random_access< boost::multi_index::tag<random_access> >, boost::multi_index::hashed_unique< boost::multi_index::tag<hashed>, boost::multi_index::identity<SPObject*> > > > Inkscape::MultiIndexContainer |
Definition at line 123 of file object-set.h.
using Inkscape::PathvectorItems = typedef std::vector<PathvectorItem> |
Definition at line 82 of file booleans-subitems.cpp.
typedef std::unique_ptr<Preferences::PreferencesObserver> Inkscape::PrefObserver |
Definition at line 700 of file preferences.h.
Definition at line 562 of file object-set.h.
Definition at line 561 of file object-set.h.
typedef boost::any_range< SPObject*, boost::random_access_traversal_tag, SPObject* const&, std::ptrdiff_t> Inkscape::SPObjectRange |
Definition at line 129 of file object-set.h.
using Inkscape::StartMethod = typedef void (Gtk::FileDialog::*) (Gtk::Window &, Gio::SlotAsyncReady const &, Glib::RefPtr<Gio::Cancellable> const &) |
Definition at line 43 of file choose-file.cpp.
using Inkscape::VisualItem = typedef CanvasItemPtr<CanvasItemBpath> |
Definition at line 34 of file booleans-builder.h.
using Inkscape::WorkItem = typedef std::shared_ptr<SubItem> |
Definition at line 25 of file booleans-subitems.h.
using Inkscape::WorkItems = typedef std::vector<WorkItem> |
Definition at line 26 of file booleans-subitems.h.
Definition at line 563 of file object-set.h.
anonymous enum |
Enumerator | |
---|---|
RENDERING_INTENT_UNKNOWN | |
RENDERING_INTENT_AUTO | |
RENDERING_INTENT_PERCEPTUAL | |
RENDERING_INTENT_RELATIVE_COLORIMETRIC | |
RENDERING_INTENT_SATURATION | |
RENDERING_INTENT_ABSOLUTE_COLORIMETRIC |
Definition at line 29 of file color-profile.h.
|
strong |
Enumerator | |
---|---|
None | |
Fast | |
Good | |
Best |
Definition at line 46 of file drawing-item.h.
Enumerator | |
---|---|
CANVAS_ITEM_PRIMARY | |
CANVAS_ITEM_SECONDARY | |
CANVAS_ITEM_TERTIARY |
Definition at line 19 of file canvas-item-enums.h.
Definition at line 25 of file canvas-item-enums.h.
Definition at line 42 of file canvas-item-enums.h.
|
strong |
Enumerator | |
---|---|
NORMAL | |
GRAYSCALE | |
PRINT_COLORS_PREVIEW |
Definition at line 47 of file rendermode.h.
Flags for internal representation/tracking.
Enumerator | |
---|---|
CTRL_FLAG_NORMAL | |
CTRL_FLAG_ACTIVE | |
CTRL_FLAG_PRELIGHT | |
CTRL_FLAG_SELECTED |
Definition at line 38 of file control-types.h.
Definition at line 18 of file control-types.h.
|
strong |
The type of a CanvasEvent.
Enumerator | |
---|---|
ENTER | |
LEAVE | |
MOTION | |
BUTTON_PRESS | |
BUTTON_RELEASE | |
KEY_PRESS | |
KEY_RELEASE | |
SCROLL | |
NUM_EVENTS |
|
strong |
Enumerator | |
---|---|
XTINY | |
TINY | |
SMALL | |
NORMAL | |
LARGE |
Definition at line 34 of file canvas-item-ctrl.h.
Enumerator | |
---|---|
LPOS_ABOVE | |
LPOS_CHILD | |
LPOS_BELOW |
Definition at line 82 of file layer-manager.h.
Enumerator | |
---|---|
BUTT_FLAT | |
BUTT_ROUND | |
BUTT_SQUARE | |
BUTT_PEAK |
Definition at line 33 of file geom-pathstroke.h.
Enumerator | |
---|---|
JOIN_BEVEL | |
JOIN_ROUND | |
JOIN_MITER | |
JOIN_MITER_CLIP | |
JOIN_EXTRAPOLATE | |
JOIN_EXTRAPOLATE1 | |
JOIN_EXTRAPOLATE2 | |
JOIN_EXTRAPOLATE3 |
Definition at line 22 of file geom-pathstroke.h.
Enumerator | |
---|---|
FOR_FILL | |
FOR_STROKE |
Definition at line 66 of file sp-gradient.h.
|
strong |
Enumerator | |
---|---|
PDF_IMPORT_INTERNAL | |
PDF_IMPORT_CAIRO |
Definition at line 68 of file pdf-input.h.
|
strong |
Enumerator | |
---|---|
NORMAL | |
OUTLINE | |
NO_FILTERS | |
VISIBLE_HAIRLINES | |
OUTLINE_OVERLAY | |
size |
Definition at line 21 of file rendermode.h.
|
strong |
Enumerator | |
---|---|
BBox | |
Nodes | |
Alignment | |
Rest | |
_MaxEnumValue |
Definition at line 153 of file snap-enums.h.
enumerations of snap source types and snap target types.
Definition at line 18 of file snap-enums.h.
Definition at line 70 of file snap-enums.h.
|
strong |
Enumerator | |
---|---|
NONE | |
NORTH | |
EAST | |
SOUTH | |
WEST | |
HORIZONTAL | |
VERTICAL |
Definition at line 37 of file rendermode.h.
|
strong |
Enumerator | |
---|---|
NORMAL | |
SPLIT | |
XRAY | |
size |
Definition at line 30 of file rendermode.h.
|
strong |
Enumerator | |
---|---|
NONE | |
ADD | |
DELETE |
Definition at line 42 of file booleans-builder.h.
|
static |
Definition at line 109 of file choose-file.cpp.
References create, create_file_dialog(), Inkscape::Extension::open(), parent, run(), and set_filters().
Referenced by choose_file_open().
|
static |
Wrapper around g_spawn_sync which captures STDOUT and strips trailing whitespace.
If an error occurs, report it to STDERR and return an empty string.
Definition at line 61 of file inkscape-version-info.cpp.
Referenced by os_version().
|
static |
Incremental file read introduced to workaround https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/70.
Definition at line 134 of file cairo-utils.cpp.
Cairo::RefPtr< Cairo::Surface > Inkscape::add_background_to_image | ( | Cairo::RefPtr< Cairo::Surface > | image, |
uint32_t | rgb, | ||
double | margin, | ||
double | radius, | ||
int | device_scale, | ||
std::optional< uint32_t > | border = std::optional< uint32_t >() |
||
) |
Referenced by Inkscape::UI::Dialog::render_color().
std::vector< PaintTarget > const & Inkscape::allPaintTargets | ( | ) |
Convenience function to access a common vector of all enum values.
Definition at line 71 of file gradient-chemistry.cpp.
Referenced by GrDrag::addStopNearPoint().
|
static |
Definition at line 347 of file canvas-item-ctrl.cpp.
References Geom::atan2().
Referenced by Inkscape::CanvasItemCtrl::_update().
|
static |
Definition at line 515 of file shortcuts.cpp.
Referenced by Inkscape::UI::Widget::ColorScales< MODE >::_initUI(), Inkscape::UI::Widget::DialogPage::add_group_header(), Inkscape::UI::Widget::DialogPage::add_group_note(), Inkscape::UI::Widget::Licensor::add_item(), Inkscape::UI::Widget::UnitMenu::addUnit(), Inkscape::UI::Dialog::AlignAndDistribute::AlignAndDistribute(), Inkscape::UI::Widget::AlignmentSelector::AlignmentSelector(), Inkscape::UI::Widget::AnchorSelector::AnchorSelector(), Inkscape::UI::Widget::ComboBoxEntryToolItem::ComboBoxEntryToolItem(), Inkscape::UI::Widget::ComboToolItem::ComboToolItem(), Inkscape::UI::Widget::CompletionPopup::CompletionPopup(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::create_menu(), Inkscape::UI::Toolbar::Toolbars::create_toolbars(), Inkscape::UI::Widget::DashSelector::DashSelector(), Inkscape::UI::Dialog::DialogContainer::DialogContainer(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::UI::Dialog::SvgFontsDialog::EntryWidget::EntryWidget(), Inkscape::UI::Dialog::Export::Export(), Inkscape::UI::Dialog::ExtensionsGallery::ExtensionsGallery(), Inkscape::UI::Widget::FillNStroke::FillNStroke(), Inkscape::UI::Dialog::FontCollectionsManager::FontCollectionsManager(), Inkscape::UI::Widget::FontVariationAxis::FontVariationAxis(), Inkscape::Shortcuts::get_file_names(), Inkscape::UI::Widget::GradientEditor::GradientEditor(), Inkscape::UI::Widget::PrefCombo::init(), Inkscape::UI::Dialog::InkscapePreferences::InkscapePreferences(), Inkscape::UI::Dialog::LivePathEffectEditor::LivePathEffectEditor(), Inkscape::UI::Dialog::ObjectAttributes::ObjectAttributes(), Inkscape::UI::Widget::PrefRadioButtons::PrefRadioButtons(), Inkscape::UI::Widget::RenderingOptions::RenderingOptions(), Inkscape::UI::Widget::SelectedStyle::SelectedStyle(), Inkscape::UI::Widget::UnitMenu::setUnitType(), Inkscape::UI::Dialog::ExtensionList::setup(), Inkscape::UI::Widget::SimpleFilterModifier::SimpleFilterModifier(), Inkscape::UI::Widget::StrokeStyle::StrokeStyle(), Inkscape::UI::Dialog::SwatchesPanel::SwatchesPanel(), Inkscape::UI::Dialog::TextEdit::TextEdit(), Inkscape::UI::Widget::FontVariations::update(), and Inkscape::UI::Dialog::XmlTree::XmlTree().
void Inkscape::apply_antialias | ( | DrawingContext & | dc, |
Antialiasing | antialias | ||
) |
Apply antialias setting to Cairo.
Definition at line 1236 of file drawing-item.cpp.
References Best, Fast, Good, None, and Inkscape::DrawingContext::raw().
Referenced by Inkscape::Drawing::render(), Inkscape::DrawingItem::render(), and Inkscape::DrawingPattern::renderPattern().
cmsProfileClassSignature Inkscape::asICColorProfileClassSig | ( | ColorProfileClassSig const & | sig | ) |
Definition at line 69 of file color-profile.cpp.
cmsColorSpaceSignature Inkscape::asICColorSpaceSig | ( | ColorSpaceSig const & | sig | ) |
Definition at line 64 of file color-profile.cpp.
Referenced by Inkscape::ColorProfile::getChannelCount(), and colorspace::getColorSpaceInfo().
void Inkscape::bind_textdomain_codeset_console | ( | ) |
set gettext codeset to codeset of the system console
Definition at line 67 of file gettext.cpp.
void Inkscape::bind_textdomain_codeset_utf8 | ( | ) |
set gettext codeset to UTF8
Definition at line 56 of file gettext.cpp.
|
static |
Replacement for buggy xmlBuildRelativeURI https://gitlab.gnome.org/GNOME/libxml2/merge_requests/12.
Special case: Don't cross filesystem root, e.g. drive letter on Windows. This is an optimization to keep things practical, it's not required for correctness.
Definition at line 234 of file uri.cpp.
Referenced by Inkscape::URI::str().
Geom::Scale Inkscape::calcScaleFactors | ( | Geom::Point const & | initial_point, |
Geom::Point const & | new_point, | ||
Geom::Point const & | origin, | ||
bool const | skew = false |
||
) |
Definition at line 1715 of file seltrans.cpp.
References offset, origin, and scale.
Referenced by Inkscape::SelTrans::scaleRequest(), Inkscape::SelTrans::skewRequest(), and Inkscape::SelTrans::stretchRequest().
std::string Inkscape::choose_file_open | ( | Glib::ustring const & | title, |
Gtk::Window * | parent, | ||
std::vector< Glib::ustring > const & | mime_types, | ||
std::string & | current_folder | ||
) |
Synchronously run a Gtk::FileDialog to open a single file for reading data.
mime_type | MIME types to offer as file filters in the dialog. |
current_folder | Path of initial folder to show, updated to parent of selected file if any |
Definition at line 149 of file choose-file.cpp.
References _choose_file_open(), and parent.
Referenced by Inkscape::UI::Dialog::choose_palette_file().
std::string Inkscape::choose_file_open | ( | Glib::ustring const & | title, |
Gtk::Window * | parent, | ||
std::vector< std::pair< Glib::ustring, Glib::ustring > > const & | filters, | ||
std::string & | current_folder | ||
) |
Synchronously run a Gtk::FileDialog to open a single file for reading data.
filters | Vector of pairs of <name, pattern> to create file filters to offer in the dialog |
current_folder | Path of initial folder to show, updated to parent of selected file if any |
Definition at line 156 of file choose-file.cpp.
References _choose_file_open(), and parent.
std::string Inkscape::choose_file_save | ( | Glib::ustring const & | title, |
Gtk::Window * | parent, | ||
Glib::ustring const & | mime_type, | ||
Glib::ustring const & | file_name, | ||
std::string & | current_folder | ||
) |
Synchronously run a Gtk::FileDialog to select a file for saving data.
mime_type | MIME type to use as a file filter in the dialog. |
file_name | Name of the initial file to show in the dialogʼs text entry. |
current_folder | Path of initial folder to show, updated to parent of selected file if any |
Definition at line 86 of file choose-file.cpp.
References create, create_file_dialog(), parent, run(), Inkscape::Extension::save(), and set_filter().
Referenced by Inkscape::UI::Dialog::choose_file(), and extract_image().
|
static |
Definition at line 37 of file booleans-subitems.cpp.
References is_path_empty(), and result.
Referenced by Inkscape::SubItem::operator+=().
|
static |
Definition at line 1121 of file font-lister.cpp.
References Geom::abs(), and Geom::distance().
Referenced by font_description_better_match().
std::vector< std::vector< int > > Inkscape::connected_components | ( | int | size, |
std::function< bool(int, int)> const & | adj_test | ||
) |
Return the list of connected components of a graph described by an adjacency-test function.
size | The number of nodes in the graph. (Nodes are labelled from 0 to size - 1.) |
adj_test | The adjacency-test function. |
Definition at line 1161 of file geom-pathstroke.cpp.
References size.
Referenced by split_non_intersecting_paths().
void Inkscape::convert_text_to_curves | ( | SPDocument * | doc | ) |
Convert all text in the document to path, in-place.
Definition at line 501 of file path-chemistry.cpp.
References SPDocument::ensureUpToDate(), SPDocument::getRoot(), item, items, list_text_items_recursive(), sp_item_list_to_curves(), and te_update_layout_now_recursive().
Referenced by InkFileExportCmd::do_export_vector(), Inkscape::Extension::Internal::pdf_render_document_to_file(), and Inkscape::Extension::Internal::ps_print_document_to_file().
|
inline |
Definition at line 36 of file nr-style.h.
Referenced by Inkscape::UI::Tools::TextTool::_updateCursor(), Inkscape::LivePathEffect::LPEEmbroderyStitchOrdering::assert_unique(), Inkscape::Pixbuf::cropTo(), Inkscape::UI::Widget::CairoGraphics::fast_snapshot_combine(), Inkscape::UI::Widget::ImageProperties::ImageProperties(), Inkscape::UI::Widget::CairoGraphics::snapshot_combine(), Inkscape::UI::Tools::sp_spray_recursive(), and Inkscape::UI::Tools::sp_tweak_dilate_recursive().
Copy generic object properties, like:
Definition at line 800 of file path-chemistry.cpp.
References ink_copy_generic_attributes(), and ink_copy_generic_children().
Referenced by Inkscape::ObjectSet::combine(), item_to_paths(), Inkscape::ObjectSet::pathBoolOp(), sp_selected_item_to_curved_repr(), sp_selected_path_create_offset_object(), and sp_selected_path_do_offset().
Glib::RefPtr< Gtk::FileDialog > Inkscape::create_file_dialog | ( | Glib::ustring const & | title, |
Glib::ustring const & | accept_label | ||
) |
Create a Gtk::FileDialog with the given title and label for its default/accept button.
Definition at line 18 of file choose-file.cpp.
References create.
Referenced by _choose_file_open(), choose_file_save(), and Inkscape::Extension::ParamPath::on_button_clicked().
SPObject * Inkscape::create_layer | ( | SPObject * | root, |
SPObject * | layer, | ||
LayerRelativePosition | position | ||
) |
Creates a new layer.
Advances to the next layer id indicated by the string "layerNN", then creates a new group object of that id with attribute inkscape:groupmode='layer', and finally appends the new group object to root after object layer.
Definition at line 425 of file layer-manager.cpp.
References Inkscape::XML::Node::addChild(), Inkscape::XML::Document::createElement(), SPDocument::getObjectById(), SPDocument::getObjectByRepr(), SPObject::getRepr(), SPDocument::getReprDoc(), last_child_layer(), LPOS_BELOW, LPOS_CHILD, Inkscape::XML::Node::parent(), root, and Inkscape::XML::Node::setAttribute().
Referenced by Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Dialog::get_or_create_layer_for_glyph(), and layer_new_above().
Cairo::RefPtr< Cairo::Surface > Inkscape::create_marker_image | ( | const Glib::ustring & | group_id, |
SPDocument * | _sandbox, | ||
Gdk::RGBA | marker_color, | ||
Geom::IntPoint | pixel_size, | ||
const char * | mname, | ||
SPDocument * | source, | ||
Inkscape::Drawing & | drawing, | ||
std::optional< guint32 > | checkerboard, | ||
bool | no_clip, | ||
double | scale, | ||
int | device_scale | ||
) |
Creates a copy of the marker named mname, determines its visible and renderable area in the bounding box, and then renders it.
This allows us to fill in preview images of each marker in the marker combobox.
Referenced by Inkscape::UI::Widget::MarkerComboBox::create_marker_image().
std::string Inkscape::debug_info | ( | ) |
Return full debug info.
Returns full debug info including:
Definition at line 117 of file inkscape-version-info.cpp.
References inkscape_version(), and os_version().
Referenced by Inkscape::Application::crash_handler(), InkscapeApplication::on_handle_local_options(), print_debug_info(), and Inkscape::UI::Dialog::show_about().
|
static |
Definition at line 45 of file drawing.cpp.
Referenced by Inkscape::Drawing::_loadPrefs().
|
static |
Calculates the closest distance from p to the segment a1-a2.
Definition at line 195 of file drawing-image.cpp.
References Geom::distance(), Geom::BezierCurveN< degree >::nearestTime(), and Geom::BezierCurve::pointAt().
Referenced by Inkscape::DrawingImage::_pickItem().
Geom::PathVector Inkscape::do_offset | ( | Geom::PathVector const & | path_in, |
double | to_offset, | ||
double | tolerance, | ||
double | miter_limit, | ||
FillRule | fillrule, | ||
Inkscape::LineJoinType | join | ||
) |
Definition at line 1347 of file geom-pathstroke.cpp.
References do_offset(), Geom::infinity(), and join().
Geom::PathVector Inkscape::do_offset | ( | Geom::PathVector const & | path_in, |
double | to_offset, | ||
double | tolerance, | ||
double | miter_limit, | ||
FillRule | fillrule, | ||
Inkscape::LineJoinType | join, | ||
Geom::Point | point, | ||
Geom::PathVector & | helper_path, | ||
Geom::PathVector & | mix_pathv_all | ||
) |
Create a user spected offset from a pathvector.
Definition at line 1228 of file geom-pathstroke.cpp.
References Geom::abs(), Geom::are_near(), Geom::PathVector::begin(), bool_op_diff, Geom::PathVector::boundsFast(), Geom::PathVector::clear(), Geom::distance(), Geom::PathVector::empty(), Geom::PathVector::end(), fill_nonZero, fill_positive, half_outline(), Geom::infinity(), Geom::PathVector::insert(), join(), Geom::min(), Geom::Path::nearestTime(), outline(), Geom::path_direction(), pathv_to_linear_and_cubic_beziers(), Geom::Path::pointAt(), Geom::PathVector::push_back(), sp_flatten(), and sp_pathvector_boolop().
Referenced by do_offset(), and Inkscape::LivePathEffect::LPEOffset::doEffect_path().
Glib::ustring Inkscape::double_to_css_value | ( | double | value | ) |
Definition at line 57 of file svg-renderer.cpp.
Referenced by Inkscape::UI::Widget::GradientWithStops::draw_func().
void Inkscape::draw_gradient | ( | const Cairo::RefPtr< Cairo::Context > & | cr, |
SPGradient * | gradient, | ||
int | x, | ||
int | width | ||
) |
Renders a preview of a gradient into the passed context.
Referenced by Inkscape::UI::Widget::GradientWithStops::draw_func().
Cairo::RefPtr< Cairo::Surface > Inkscape::draw_handles_preview | ( | int | device_scale | ) |
Definition at line 13 of file handle-preview.cpp.
References buf, CANVAS_ITEM_CTRL_TYPE_ADJ_ROTATE, CANVAS_ITEM_CTRL_TYPE_ADJ_SKEW, CANVAS_ITEM_CTRL_TYPE_MARKER, CANVAS_ITEM_CTRL_TYPE_NODE_AUTO, CANVAS_ITEM_CTRL_TYPE_NODE_CUSP, CANVAS_ITEM_CTRL_TYPE_NODE_SMOOTH, CANVAS_ITEM_CTRL_TYPE_POINTER, create, NORMAL, Inkscape::CanvasItemBuffer::rect, root, and surface.
Referenced by Inkscape::UI::Dialog::InkscapePreferences::initPageUI().
|
static |
Definition at line 382 of file canvas-item-grid.cpp.
References buf.
Referenced by Inkscape::CanvasItemGridAxonom::_render().
|
inline |
Print an event to stdout.
Definition at line 29 of file debug.h.
References inspect_event(), Geom::merge(), Inkscape::CanvasEvent::modifiers, MOTION, Spiro::n, NUM_EVENTS, and Inkscape::CanvasEvent::type().
Referenced by Inkscape::UI::Tools::ToolBase::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), sp_desktop_root_handler(), sp_dt_guide_event(), Inkscape::UI::Tools::ToolBase::start_root_handler(), and Inkscape::UI::Tools::ToolBase::tool_root_handler().
|
inline |
Read the extended input data from a Gdk::Event.
Definition at line 42 of file canvas-event.h.
References Inkscape::ExtendedInput::pressure.
Referenced by Inkscape::UI::Widget::CanvasGrid::_rulerMotion(), Inkscape::UI::Widget::Canvas::on_button_pressed(), Inkscape::UI::Widget::Canvas::on_motion(), and Inkscape::UI::Widget::Canvas::on_scroll().
bool Inkscape::extract_image | ( | Gtk::Window * | parent, |
SPImage * | image | ||
) |
Definition at line 29 of file save-image.cpp.
References choose_file_save(), image, parent, and save_image().
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources(), and Inkscape::UI::Widget::ImageProperties::ImageProperties().
|
static |
Definition at line 84 of file booleans-subitems.cpp.
References child, SPObject::children, clip(), extract_pathvectors_recursive(), item, result, and root.
Referenced by Inkscape::SubItem::build_flatten(), Inkscape::SubItem::build_mosaic(), and extract_pathvectors_recursive().
|
static |
Try to parse href into a local filename using standard methods.
Definition at line 137 of file fix-broken-links.cpp.
Referenced by findBrokenLinks(), and locateLinks().
|
static |
Walk all links in a document and create a listing of unique broken links.
Definition at line 187 of file fix-broken-links.cpp.
References extractFilepath(), Inkscape::IO::file_test(), SPDocument::getDocumentBase(), getHrefAttribute(), SPDocument::getResourceList(), image, reconstructFilepath(), and result.
Referenced by fixBrokenLinks().
Finds the first child of a layer.
Definition at line 336 of file layer-manager.cpp.
References SPObject::children, and is_layer().
Referenced by next_layer().
bool Inkscape::fixBrokenLinks | ( | SPDocument * | doc | ) |
Definition at line 299 of file fix-broken-links.cpp.
References Inkscape::XML::Node::attribute(), Inkscape::DocumentUndo::done(), findBrokenLinks(), SPDocument::getDocumentBase(), getHrefAttribute(), SPDocument::getObjectByRepr(), SPDocument::getResourceList(), image, locateLinks(), Inkscape::XML::Node::removeAttribute(), Inkscape::XML::Node::setAttributeOrRemoveIfEmpty(), and SPObject::updateRepr().
Referenced by InkscapeApplication::document_fix().
gboolean Inkscape::font_description_better_match | ( | PangoFontDescription * | target, |
PangoFontDescription * | old_desc, | ||
PangoFontDescription * | new_desc | ||
) |
Definition at line 1151 of file font-lister.cpp.
References compute_distance().
Referenced by Inkscape::FontLister::get_best_style_match().
std::string Inkscape::get_color_profile_name | ( | cmsHPROFILE | profile | ) |
Definition at line 80 of file cms-util.cpp.
References data, and Inkscape::UI::Widget::profile().
Referenced by Inkscape::Extension::Internal::SvgBuilder::_getColorProfile(), and Inkscape::ICCProfileInfo::ICCProfileInfo().
|
static |
Definition at line 391 of file shortcuts.cpp.
References Inkscape::UI::Tools::get_latin_keyval_impl().
Referenced by Inkscape::Shortcuts::get_from(), and Inkscape::Shortcuts::get_from_event().
std::vector< SPItem * > Inkscape::get_layers_to_toggle | ( | SPObject * | layer, |
SPObject * | current_root | ||
) |
Definition at line 463 of file layer-manager.cpp.
References SPObject::children, SPObject::isAncestorOf(), and SPObject::parent.
Referenced by Inkscape::LayerManager::toggleLayerSolo(), and Inkscape::LayerManager::toggleLockOtherLayers().
|
static |
Definition at line 228 of file canvas-item-ctrl.cpp.
References Inkscape::Preferences::get(), Inkscape::Preferences::getIntLimited(), MAX_INDEX, and MIN_INDEX.
Referenced by Inkscape::CanvasItemCtrl::set_size(), and Inkscape::CanvasItemCtrl::set_size_default().
void Inkscape::getBBoxPoints | ( | Geom::OptRect const | bbox, |
std::vector< SnapCandidatePoint > * | points, | ||
bool const | isTarget, | ||
bool const | corners, | ||
bool const | edges, | ||
bool const | midpoint | ||
) |
Default version of the getBBoxPoints with default corner source types.
Definition at line 743 of file object-snapper.cpp.
References corners, edges(), getBBoxPoints(), Avoid::midpoint(), SNAPSOURCE_BBOX_CORNER, SNAPSOURCE_BBOX_EDGE_MIDPOINT, SNAPSOURCE_BBOX_MIDPOINT, SNAPSOURCE_UNDEFINED, SNAPTARGET_BBOX_CORNER, SNAPTARGET_BBOX_EDGE_MIDPOINT, SNAPTARGET_BBOX_MIDPOINT, and SNAPTARGET_UNDEFINED.
Referenced by Inkscape::AlignmentSnapper::_collectBBoxPoints(), Inkscape::ObjectSnapper::_collectNodes(), getBBoxPoints(), Inkscape::SelTrans::grab(), and Inkscape::UI::Tools::PagesTool::grabPage().
void Inkscape::getBBoxPoints | ( | Geom::OptRect const | bbox, |
std::vector< SnapCandidatePoint > * | points, | ||
bool const | isTarget, | ||
Inkscape::SnapSourceType | corners, | ||
Inkscape::SnapTargetType | cornert, | ||
Inkscape::SnapSourceType | edges, | ||
Inkscape::SnapTargetType | edget, | ||
Inkscape::SnapSourceType | midpoints, | ||
Inkscape::SnapTargetType | midpointt | ||
) |
Definition at line 759 of file object-snapper.cpp.
std::pair< char const *, char const * > Inkscape::getHrefAttribute | ( | XML::Node const & | node | ) |
Get the 'href' or 'xlink:href' (fallback) attribute from an XML node.
Definition at line 20 of file href-attribute-helper.cpp.
References Inkscape::XML::Node::attribute(), and node.
Referenced by Inkscape::UI::Dialog::add_refs(), SPImage::description(), findBrokenLinks(), fixBrokenLinks(), Inkscape::UI::Dialog::has_external_ref(), image_edit(), Inkscape::UI::Dialog::CloneTiler::is_a_clone_of(), SPObject::readAttr(), rebase_image_href(), Inkscape::ObjectSet::relink(), Inkscape::UI::Dialog::SymbolsDialog::styleFromUse(), SPImage::update(), Inkscape::UI::Widget::ImageProperties::update(), SPFilter::write(), SPTagUse::write(), SPGradient::write(), and SPUse::write().
Geom::Path Inkscape::half_outline | ( | Geom::Path const & | input, |
double | width, | ||
double | miter, | ||
LineJoinType | join = JOIN_BEVEL , |
||
double | tolerance = -1 |
||
) |
Offset the input path by width.
Joins may behave oddly if the width is negative.
[in] | input | Input path. |
[in] | width | Amount to offset. |
[in] | miter | Miter limit. Only used when join is one of JOIN_MITER, JOIN_MITER_CLIP, and JOIN_EXTRAPOLATE. |
[in] | join | Line join type used during offset. Member of LineJoinType enum. |
[in] | tolerance | Tolerance, values smaller than 0 lead to automatic tolerance depending on width. |
Definition at line 1045 of file geom-pathstroke.cpp.
References Geom::abs(), Geom::Path::append(), Geom::are_near(), Geom::Path::back(), Geom::Path::back_closed(), Geom::Path::begin(), Geom::Path::clear(), Geom::Path::close(), Geom::Path::closed(), Geom::Path::erase(), Geom::Path::erase_last(), Geom::Curve::finalPoint(), Geom::Path::front(), Geom::Path::initialPoint(), Geom::Curve::initialPoint(), join(), outline_join(), Geom::Path::setStitching(), Geom::Path::size(), Geom::Path::size_default(), Geom::Path::size_open(), Geom::Path::start(), start, and width.
Referenced by do_offset(), Inkscape::LivePathEffect::LPETaperStroke::doBeforeEffect(), and outline().
bool Inkscape::have_viable_layer | ( | SPDesktop * | desktop, |
MessageContext * | message | ||
) |
Check to see if the current layer is both unhidden and unlocked.
If not, set a message about it on the given context.
desktop | Desktop. |
message | Message context to put messages on. |
Definition at line 42 of file context-fns.cpp.
References Inkscape::LayerManager::currentLayer(), ERROR_MESSAGE, Inkscape::MessageContext::flash(), SPDesktop::itemIsHidden(), and SPDesktop::layerManager().
Referenced by Inkscape::UI::Tools::ConnectorTool::_handleButtonPress(), Inkscape::UI::Tools::PenTool::_handleButtonPress(), Inkscape::UI::Tools::PencilTool::_handleButtonPress(), Inkscape::UI::Tools::Box3dTool::drag(), Inkscape::UI::Tools::SpiralTool::drag(), Inkscape::UI::Tools::ArcTool::drag(), Inkscape::UI::Tools::RectTool::drag(), Inkscape::UI::Tools::StarTool::drag(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), and Inkscape::UI::Tools::TweakTool::root_handler().
bool Inkscape::have_viable_layer | ( | SPDesktop * | desktop, |
MessageStack * | message | ||
) |
Check to see if the current layer is both unhidden and unlocked.
If not, set a message about it on the given context.
desktop | Desktop. |
message | Message context to put messages on. |
Definition at line 71 of file context-fns.cpp.
References Inkscape::LayerManager::currentLayer(), Inkscape::MessageStack::flash(), SPDesktop::itemIsHidden(), SPDesktop::layerManager(), and WARNING_MESSAGE.
|
inline |
Definition at line 366 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_alt().
Referenced by Inkscape::UI::ControlPointSelection::_keyboardMove(), Inkscape::UI::ControlPointSelection::_keyboardRotate(), Inkscape::UI::ControlPointSelection::_keyboardScale(), Inkscape::UI::PathManipulator::_nodeClicked(), Inkscape::UI::CurveDragPoint::clicked(), Inkscape::UI::Handle::dragged(), Inkscape::UI::Node::dragged(), Inkscape::UI::MultiPathManipulator::event(), and Inkscape::UI::Tools::NodeTool::root_handler().
|
inline |
Definition at line 370 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_any_modifiers().
Referenced by Inkscape::UI::ControlPointSelection::event().
|
inline |
Definition at line 374 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 365 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_ctrl().
Referenced by Inkscape::UI::PathManipulator::_handleClicked(), Inkscape::UI::ControlPointSelection::_keyboardMove(), Inkscape::UI::PathManipulator::_nodeClicked(), Inkscape::UI::CurveDragPoint::clicked(), Inkscape::UI::CurveDragPoint::doubleclicked(), Inkscape::UI::Handle::dragged(), Inkscape::UI::Node::dragged(), Inkscape::UI::MultiPathManipulator::event(), Inkscape::UI::Tools::NodeTool::root_handler(), and Inkscape::UI::Tools::NodeTool::select_area().
|
inline |
Definition at line 371 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_no_modifiers().
Referenced by Inkscape::UI::ControlPointSelection::_pointClicked().
|
inline |
Definition at line 369 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_only_alt().
Referenced by Inkscape::UI::ControlPointSelection::_pointDragged(), and Inkscape::UI::MultiPathManipulator::event().
|
inline |
Definition at line 368 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_only_ctrl().
Referenced by Inkscape::UI::Tools::NodeTool::root_handler().
|
inline |
Definition at line 367 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_only_shift().
Referenced by Inkscape::UI::Handle::_eventHandler(), and Inkscape::UI::MultiPathManipulator::event().
|
inline |
Definition at line 364 of file canvas-event.h.
References Inkscape::CanvasEvent::modifiers, and state_held_shift().
Referenced by Inkscape::UI::ControlPointSelection::_keyboardMove(), Inkscape::UI::CurveDragPoint::clicked(), Inkscape::UI::SelectableControlPoint::clicked(), Inkscape::UI::CurveDragPoint::dragged(), Inkscape::UI::Handle::dragged(), Inkscape::UI::Node::dragged(), Inkscape::UI::ControlPointSelection::event(), Inkscape::UI::MultiPathManipulator::event(), Inkscape::UI::Node::grabbed(), Inkscape::UI::Tools::NodeTool::select_area(), and Inkscape::UI::Tools::NodeTool::select_point().
void Inkscape::initialize_gettext | ( | ) |
does all required gettext initialization and takes care of the respective locale directory paths
Definition at line 30 of file gettext.cpp.
References Inkscape::IO::file_test(), and get_inkscape_datadir().
Referenced by InkscapeApplication::InkscapeApplication(), and InkviewApplication::InkviewApplication().
std::unique_ptr< SPDocument > Inkscape::ink_markers_preview_doc | ( | const Glib::ustring & | group_id | ) |
Returns a new document containing default start, mid, and end markers.
Note 1: group IDs are matched against "group_id" to render correct preview object. Note 2: paths/lines are kept outside of groups, so they don't inflate visible bounds Note 3: invisible rects inside groups keep visual bounds from getting too small, so we can see relative marker sizes
Referenced by Inkscape::UI::Widget::MarkerComboBox::MarkerComboBox().
unsigned short int Inkscape::inkscape_build_year | ( | ) |
Return build year as 4 digit.
Definition at line 151 of file inkscape-version-info.cpp.
References build_year.
Referenced by Inkscape::UI::Dialog::show_about().
std::string Inkscape::inkscape_revision | ( | ) |
Return Inkscape repository revision string.
Definition at line 51 of file inkscape-version-info.cpp.
References revision_string.
Referenced by add_actions_base(), and InkscapeApplication::InkscapeApplication().
std::string Inkscape::inkscape_version | ( | ) |
Return Inkscape version string.
Returns the Inkscape version string including program name.
Definition at line 42 of file inkscape-version-info.cpp.
References version_string.
Referenced by debug_info(), InkscapeApplication::on_handle_local_options(), print_inkscape_version(), Inkscape::UI::Dialog::show_about(), and Inkscape::UI::Dialog::StartScreen::StartScreen().
void Inkscape::inspect_event | ( | E && | event, |
Fs... | funcs | ||
) |
Perform pattern-matching on a CanvasEvent.
This function takes an event and a list of function objects, and passes the event to the function object whose argument type best matches the dynamic type of the event.
Definition at line 290 of file canvas-event.h.
References BUTTON_PRESS, BUTTON_RELEASE, ENTER, KEY_PRESS, KEY_RELEASE, LEAVE, MOTION, and SCROLL.
Referenced by Inkscape::UI::ControlPoint::_eventHandler(), Inkscape::UI::Handle::_eventHandler(), Inkscape::UI::Node::_eventHandler(), Inkscape::UI::Tools::ToolBase::_filterEventForSnapping(), Inkscape::UI::Tools::cc_generic_knot_handler(), dump_event(), Inkscape::UI::Tools::endpt_handler(), Inkscape::UI::ModifierTracker::event(), Inkscape::UI::View::SVGViewWidget::event(), Inkscape::UI::MultiPathManipulator::event(), Inkscape::UI::PathManipulator::event(), SPKnot::eventHandler(), Inkscape::CanvasItemDrawing::handle_event(), Inkscape::UI::Tools::ArcTool::item_handler(), Inkscape::UI::Tools::ConnectorTool::item_handler(), Inkscape::UI::Tools::FloodTool::item_handler(), Inkscape::UI::Tools::LpeTool::item_handler(), Inkscape::UI::Tools::NodeTool::item_handler(), Inkscape::UI::Tools::PenTool::item_handler(), Inkscape::UI::Tools::RectTool::item_handler(), Inkscape::UI::Tools::SelectTool::item_handler(), Inkscape::UI::Tools::TextTool::item_handler(), Inkscape::UI::Tools::ToolBase::menu_popup(), Inkscape::UI::Tools::PagesTool::menu_popup(), Inkscape::UI::Tools::ToolBase::root_handler(), Inkscape::UI::Tools::EraserTool::root_handler(), Inkscape::UI::Tools::ArcTool::root_handler(), Inkscape::UI::Tools::InteractiveBooleansTool::root_handler(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::CalligraphicTool::root_handler(), Inkscape::UI::Tools::ConnectorTool::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Tools::FloodTool::root_handler(), Inkscape::UI::Tools::FreehandBase::root_handler(), Inkscape::UI::Tools::GradientTool::root_handler(), Inkscape::UI::Tools::LpeTool::root_handler(), Inkscape::UI::Tools::MarkerTool::root_handler(), Inkscape::UI::Tools::MeasureTool::root_handler(), Inkscape::UI::Tools::MeshTool::root_handler(), Inkscape::UI::Tools::NodeTool::root_handler(), Inkscape::UI::Tools::PagesTool::root_handler(), Inkscape::UI::Tools::PenTool::root_handler(), Inkscape::UI::Tools::PencilTool::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SelectTool::root_handler(), Inkscape::UI::Tools::SpiralTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::StarTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), Inkscape::UI::Tools::ZoomTool::root_handler(), Inkscape::UI::Tools::ObjectPickerTool::root_handler(), Inkscape::UI::Tools::ToolBase::set_on_buttons(), sp_dt_guide_event(), and sp_sel_trans_handle_event().
|
static |
Definition at line 78 of file canvas-item-grid.cpp.
References Geom::GenericRect< C >::corner(), Geom::intersection(), Geom::Line::pointAt(), and Geom::BezierCurve::pointAt().
Referenced by Inkscape::CanvasItemGridXY::_render().
bool Inkscape::is_icc_file | ( | std::string const & | filepath | ) |
Definition at line 35 of file cms-util.cpp.
References is_icc_file(), len, and Inkscape::UI::Widget::profile().
Referenced by is_icc_file(), and Inkscape::CMSSystem::load_profiles().
|
static |
Definition at line 296 of file layer-manager.cpp.
References SPGroup::LAYER.
Referenced by find_items_in_area(), first_descendant_layer(), last_child_layer(), next_sibling_layer(), and previous_sibling_layer().
bool Inkscape::is_path_empty | ( | Geom::Path const & | path | ) |
Check for an empty path.
Return true if the given path has close to zero area.
Definition at line 1190 of file geom-pathstroke.cpp.
References Geom::abs(), Geom::area(), Geom::centroid(), and Geom::Path::toPwSb().
Referenced by Inkscape::SubItem::build_mosaic(), clean_pathvector(), and split_non_intersecting_paths().
|
inline |
Definition at line 19 of file style-utils.h.
References QUERY_STYLE_MULTIPLE_DIFFERENT, and QUERY_STYLE_NOTHING.
Referenced by Inkscape::UI::Toolbar::TextToolbar::script_changed(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
|
static |
Definition at line 656 of file shortcuts.cpp.
References result.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), Inkscape::Shortcuts::_write(), do_offset(), Inkscape::LivePathEffect::LPEOffset::doEffect_path(), Inkscape::LivePathEffect::LPEDynastroke::doEffect_pwd2(), half_outline(), Path::InsideOutline(), item_find_paths(), Inkscape::UI::MultiPathManipulator::joinNodes(), Inkscape::UI::MultiPathManipulator::joinSegments(), Shape::MakeOffset(), Shape::MakeTweak(), Inkscape::Extension::ParamPath::on_button_clicked(), Inkscape::Extension::ParamPath::on_file_dialog_response(), outline(), Path::Outline(), outline_join(), Path::OutsideOutline(), set_themes_env(), Inkscape::DrawingContext::setLineJoin(), and Path::Stroke().
Finds the last (topmost) child of a layer.
Definition at line 352 of file layer-manager.cpp.
References SPObject::children, and is_layer().
Referenced by create_layer(), and previous_layer().
Definition at line 358 of file layer-manager.cpp.
References SPObject::parent, previous_sibling_layer(), result, and root.
Referenced by previous_layer().
std::shared_ptr< SPDocument > Inkscape::load_document | ( | const char * | svg_file_path | ) |
Definition at line 64 of file svg-renderer.cpp.
References ink_file_open().
Glib::RefPtr< Gdk::Cursor > Inkscape::load_svg_cursor | ( | Gtk::Widget & | widget, |
std::string const & | file_name, | ||
std::uint32_t const | fill, | ||
std::uint32_t const | stroke, | ||
double | fill_opacity, | ||
double | stroke_opacity | ||
) |
Loads an SVG cursor from the specified file name.
Returns pointer to cursor (or null cursor if we could not load a cursor).
Definition at line 59 of file cursor-utils.cpp.
References Geom::area(), Inkscape::Filters::clamp(), create, css, Inkscape::UI::Dialog::file_exists(), floor(), Inkscape::Preferences::get(), Inkscape::Preferences::getBool(), Inkscape::Preferences::getString(), ink_file_open(), root, scale, sp_generate_internal_bitmap(), sp_repr_css_attr(), sp_repr_css_attr_unref(), sp_repr_css_set_property(), sp_repr_css_set_property_double(), and w.
Referenced by Inkscape::UI::Tools::ToolBase::get_cursor(), and set_svg_cursor().
|
static |
Definition at line 184 of file preferences.cpp.
References len, msg, Inkscape::XML::Node::name(), Inkscape::GC::release(), Inkscape::XML::Node::root(), and sp_repr_read_mem().
Referenced by Inkscape::Preferences::_load().
|
static |
Resolve broken links as a whole and return a map for those that can be found.
Note: this will allow for future enhancements including relinking to new locations with the most broken files found, etc.
Definition at line 225 of file fix-broken-links.cpp.
References extractFilepath(), Inkscape::IO::file_test(), optimizePath(), reconstructFilepath(), result, and searchUpwards().
Referenced by fixBrokenLinks().
|
static |
Definition at line 229 of file preferences.cpp.
References Inkscape::XML::Node::mergeFrom(), and Inkscape::XML::Node::root().
Referenced by Inkscape::Preferences::_load().
|
inline |
Definition at line 342 of file canvas-event.h.
References mod_alt(), and Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 335 of file canvas-event.h.
Referenced by Inkscape::UI::Tools::PenTool::_handleKeyPress(), Inkscape::UI::Tools::ToolBase::_keyboardMove(), GrDrag::key_press_handler(), mod_alt(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), and Inkscape::UI::Tools::sp_event_show_modifier_tip().
|
inline |
Definition at line 345 of file canvas-event.h.
References mod_alt_only(), and Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 338 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by mod_alt_only(), Inkscape::UI::Tools::ArcTool::root_handler(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SpiralTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::StarTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), and Inkscape::UI::Tools::TweakTool::root_handler().
|
inline |
Definition at line 341 of file canvas-event.h.
References mod_ctrl(), and Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 334 of file canvas-event.h.
Referenced by Inkscape::UI::Tools::PenTool::_handleKeyPress(), Inkscape::UI::Tools::ToolBase::_keyboardMove(), GrDrag::key_press_handler(), mod_ctrl(), Inkscape::UI::Tools::TextTool::root_handler(), and Inkscape::UI::Tools::sp_event_show_modifier_tip().
|
inline |
Definition at line 344 of file canvas-event.h.
References mod_ctrl_only(), and Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 337 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by mod_ctrl_only(), Inkscape::UI::Tools::ArcTool::root_handler(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Tools::FreehandBase::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SpiralTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::StarTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), and Inkscape::UI::Tools::ZoomTool::root_handler().
|
inline |
Definition at line 340 of file canvas-event.h.
References mod_shift(), and Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 333 of file canvas-event.h.
Referenced by Inkscape::UI::Tools::PenTool::_handleKeyPress(), Inkscape::UI::Tools::ToolBase::_keyboardMove(), GrDrag::key_press_handler(), mod_shift(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), and Inkscape::UI::Tools::sp_event_show_modifier_tip().
|
inline |
Definition at line 343 of file canvas-event.h.
References mod_shift_only(), and Inkscape::CanvasEvent::modifiers.
|
inline |
Definition at line 336 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by Inkscape::UI::Tools::PenTool::_handleKeyPress(), mod_shift_only(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::RectTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), and Inkscape::UI::Tools::TweakTool::root_handler().
Finds the next layer under root, relative to layer in depth-first order.
Definition at line 378 of file layer-manager.cpp.
References first_descendant_layer(), next_sibling_layer(), SPObject::parent, result, and root.
Referenced by layer_delete(), layer_previous(), and Inkscape::ObjectSet::toNextLayer().
Finds the next sibling layer for a layer.
Definition at line 312 of file layer-manager.cpp.
References SPObject::children, is_layer(), and SPObject::parent.
Referenced by next_layer().
std::string Inkscape::optimizePath | ( | std::string const & | path, |
std::string const & | base, | ||
unsigned int | parents | ||
) |
Convert an absolute path into a relative one if possible to do in the given number of parent steps.
Definition at line 65 of file fix-broken-links.cpp.
References result, and splitPath().
Referenced by locateLinks(), Inkscape::UI::Dialog::BatchExport::setBatchPath(), and SPObject::setExportFilename().
std::string Inkscape::os_version | ( | ) |
Return OS version string.
Returns the OS version string including OS name.
Relies on glib's 'g_get_os_info'. Might be undefined on some OSs. "(unknown)" is returned in this case.
Definition at line 84 of file inkscape-version-info.cpp.
References _run().
Referenced by debug_info().
Geom::PathVector Inkscape::outline | ( | Geom::Path const & | input, |
double | width, | ||
double | miter, | ||
LineJoinType | join = JOIN_BEVEL , |
||
LineCapType | cap = BUTT_FLAT , |
||
double | tolerance = -1 |
||
) |
Strokes the path given by input.
Joins may behave oddly if the width is negative.
[in] | input | Input path. |
[in] | width | Stroke width. |
[in] | miter | Miter limit. Only used when join is one of JOIN_MITER, JOIN_MITER_CLIP, and JOIN_EXTRAPOLATE. |
[in] | join | Line join type used during offset. Member of LineJoinType enum. |
[in] | cap | Line cap type used during stroking. Member of LineCapType enum. |
[in] | tolerance | Tolerance, values smaller than 0 lead to automatic tolerance depending on width. |
Definition at line 995 of file geom-pathstroke.cpp.
References Geom::PathIteratorSink< OutputIterator >::append(), BUTT_PEAK, BUTT_ROUND, BUTT_SQUARE, Geom::Path::closed(), Geom::PathIteratorSink< OutputIterator >::closePath(), Geom::PathIteratorSink< OutputIterator >::flush(), half_outline(), Geom::Path::initialPoint(), join(), Geom::PathIteratorSink< OutputIterator >::moveTo(), Geom::PathBuilder::peek(), Geom::Path::reversed(), Geom::Path::size(), and width.
Referenced by Inkscape::DrawingItem::_markForRendering(), Inkscape::DrawingImage::_pickItem(), Inkscape::DrawingShape::_pickItem(), Inkscape::DrawingGlyphs::_pickItem(), Inkscape::DrawingImage::_renderItem(), Inkscape::DrawingShape::_renderItem(), Inkscape::DrawingText::_renderItem(), Inkscape::DrawingGroup::_updateItem(), Inkscape::UI::Widget::Graphics::calc_splitview_cliprects(), do_offset(), Inkscape::LivePathEffect::LPEJoinType::doEffect_path(), find_group_at_point(), find_items_at_point(), SPText::getInclusionShape(), SPDocument::getItemFromListAtPointBottom(), SPMeshNodeArray::outline_path(), Inkscape::DrawingItem::pick(), Inkscape::DrawingItem::render(), Inkscape::DrawingItem::update(), and Inkscape::CanvasPage::update().
void Inkscape::outline_join | ( | Geom::Path & | res, |
Geom::Path const & | outgoing, | ||
Geom::Point | in_tang, | ||
Geom::Point | out_tang, | ||
double | width, | ||
double | miter, | ||
LineJoinType | join | ||
) |
Builds a join on the provided path.
Joins may behave oddly if the width is negative.
[in,out] | res | The path to build the join on. The outgoing path (or a portion thereof) will be appended after the join is created. Previous segments may be modified as an optimization, beware! |
[in] | outgoing | The segment to append on the outgoing portion of the join. |
[in] | in_tang | The end tangent to consider on the input path. |
[in] | out_tang | The begin tangent to consider on the output path. |
[in] | width | |
[in] | miter | |
[in] | join |
Definition at line 1116 of file geom-pathstroke.cpp.
References Geom::Path::append(), Geom::are_near(), Geom::cross(), Geom::Path::finalPoint(), Geom::Path::front(), Geom::Path::initialPoint(), Geom::Curve::initialPoint(), join(), JOIN_BEVEL, JOIN_EXTRAPOLATE, JOIN_EXTRAPOLATE1, JOIN_EXTRAPOLATE2, JOIN_EXTRAPOLATE3, JOIN_MITER_CLIP, JOIN_ROUND, Geom::Path::setFinal(), Geom::Path::size(), and width.
Referenced by half_outline().
Gdk::ModifierType Inkscape::parse_modifier_string | ( | char const *const | modifiers_string | ) |
Definition at line 670 of file shortcuts.cpp.
References Geom::mod().
Referenced by Inkscape::Shortcuts::_read().
|
inline |
Parse integer ranges out of a string using regex.
input | - A string containing number ranges that can either be comma separated or dash separated for non and continuous ranges. |
start | - Optional first number in the acceptable range. |
end | - The last number in the acceptable range. |
Definition at line 28 of file parse-int-range.h.
References Inkscape::UI::Controller::Detail::add(), end, Geom::max(), Geom::min(), parseIntRange(), and start.
Referenced by Inkscape::Extension::Internal::PdfImportDialog::_onPageNumberChanged(), InkFileExportCmd::do_export_png(), InkFileExportCmd::do_export_vector(), Inkscape::PageManager::getPages(), Inkscape::Extension::Internal::PdfInput::open(), and parseIntRange().
Finds the previous layer under root, relative to layer in depth-first order.
Definition at line 398 of file layer-manager.cpp.
References child, last_child_layer(), last_elder_layer(), SPObject::parent, previous_sibling_layer(), result, and root.
Referenced by Inkscape::LayerManager::getAllLayers(), layer_delete(), layer_next(), Inkscape::LayerManager::toggleHideAllLayers(), Inkscape::LayerManager::toggleLockAllLayers(), and Inkscape::ObjectSet::toPrevLayer().
Finds the previous sibling layer for a layer.
Definition at line 325 of file layer-manager.cpp.
References SPObject::children, is_layer(), SPObject::parent, and start.
Referenced by last_elder_layer(), and previous_layer().
void Inkscape::propagate_antialias | ( | SPShapeRendering | shape_rendering, |
DrawingItem & | item | ||
) |
Propagate element's shape rendering attribute into internal anti-aliasing setting of DrawingItem.
Definition at line 1256 of file drawing-item.cpp.
References Best, Fast, Good, item, None, SP_CSS_SHAPE_RENDERING_AUTO, SP_CSS_SHAPE_RENDERING_CRISPEDGES, SP_CSS_SHAPE_RENDERING_GEOMETRICPRECISION, and SP_CSS_SHAPE_RENDERING_OPTIMIZESPEED.
Referenced by SPShape::show().
|
static |
Try to parse href into a local filename using some non-standard methods.
This means the href is likely invalid and should be rewritten.
Definition at line 167 of file fix-broken-links.cpp.
Referenced by findBrokenLinks(), and locateLinks().
char const * Inkscape::refX_named_to_percent | ( | char const * | str | ) |
Definition at line 641 of file svg-length.cpp.
Referenced by SPSymbol::set().
char const * Inkscape::refY_named_to_percent | ( | char const * | str | ) |
Definition at line 655 of file svg-length.cpp.
Referenced by SPSymbol::set().
|
static |
Definition at line 35 of file drawing.cpp.
References mode, NO_FILTERS, OUTLINE, Inkscape::DrawingItem::RENDER_NO_FILTERS, Inkscape::DrawingItem::RENDER_OUTLINE, Inkscape::DrawingItem::RENDER_VISIBLE_HAIRLINES, and VISIBLE_HAIRLINES.
Referenced by Inkscape::Drawing::render().
Glib::ustring Inkscape::rgba_to_css_color | ( | const Gdk::RGBA & | color | ) |
Definition at line 47 of file svg-renderer.cpp.
References rgba_to_css_color().
Glib::ustring Inkscape::rgba_to_css_color | ( | const SPColor & | color | ) |
Definition at line 51 of file svg-renderer.cpp.
References SPColor::get_rgb_floatv(), rgb, and rgba_to_css_color().
Glib::ustring Inkscape::rgba_to_css_color | ( | double | r, |
double | g, | ||
double | b | ||
) |
Definition at line 37 of file svg-renderer.cpp.
Referenced by Inkscape::UI::Widget::GradientWithStops::draw_func(), and rgba_to_css_color().
|
static |
Definition at line 50 of file choose-file.cpp.
References parent, result, and start.
Referenced by _choose_file_open(), FloatLigne::Affiche(), choose_file_save(), FontInstance::FontSlope(), and Avoid::shorten_line().
bool Inkscape::save_image | ( | const std::string & | fname, |
const Inkscape::Pixbuf * | pixbuf | ||
) |
|
static |
Definition at line 361 of file fix-broken-links.cpp.
References current, Inkscape::IO::file_test(), and splitPath().
Referenced by locateLinks().
void Inkscape::set_filter | ( | Gtk::FileDialog & | file_dialog, |
Glib::RefPtr< Gtk::FileFilter > const & | filter | ||
) |
Set the available filters & the default filter, to the single filter passed.
Definition at line 36 of file choose-file.cpp.
References create, and set_filters().
Referenced by choose_file_save(), and Inkscape::UI::Dialog::FileSaveDialogImplGtk::setExtension().
void Inkscape::set_filters | ( | Gtk::FileDialog & | file_dialog, |
Glib::RefPtr< Gio::ListStore< Gtk::FileFilter > > const & | filters | ||
) |
Set available filters to a given list, & default to its 1st filter (if any).
Definition at line 27 of file choose-file.cpp.
Referenced by _choose_file_open(), Inkscape::Extension::ParamPath::on_button_clicked(), and set_filter().
void Inkscape::set_svg_cursor | ( | Gtk::Widget & | widget, |
std::string const & | file_name, | ||
std::uint32_t const | fill, | ||
std::uint32_t const | stroke, | ||
double | fill_opacity, | ||
double | stroke_opacity | ||
) |
Loads an SVG cursor from the specified file name, and sets it as the cursor of the given widget.
Definition at line 240 of file cursor-utils.cpp.
References load_svg_cursor().
Referenced by Inkscape::UI::Widget::RotateableSwatch::do_motion(), and Inkscape::UI::Tools::DropperTool::root_handler().
void Inkscape::setHrefAttribute | ( | XML::Node & | node, |
Util::const_char_ptr | value | ||
) |
If the 'href' attribute already exists for the given node, then set a new value for it.
Otherwise set the value for 'xlink:href'.
Definition at line 37 of file href-attribute-helper.cpp.
References Inkscape::XML::Node::attribute(), node, and Inkscape::XML::Node::setAttribute().
Referenced by SPPattern::_chain(), SPHatch::clone_if_necessary(), Inkscape::Extension::Internal::Bitmap::ImageMagick::effect(), sp_embed_image(), sp_embed_svg(), sp_gradient_repr_set_link(), SPTRef::write(), Inkscape::ColorProfile::write(), SPTextPath::write(), SPAnchor::write(), and SPImage::write().
|
static |
Definition at line 71 of file canvas-item-grid.cpp.
References Geom::cross(), Geom::Line::initialPoint(), and Geom::Line::versor().
Referenced by Inkscape::CanvasItemGridXY::_render().
std::array< uint8_t, 3 > Inkscape::simple_cmyk_to_rgb | ( | float | c, |
float | m, | ||
float | y, | ||
float | k | ||
) |
Definition at line 43 of file cmyk-conv.cpp.
References c, Inkscape::Filters::clamp(), and Hsluv::m.
Referenced by Inkscape::CmykConverter::cmyk_to_rgb().
Geom::Rect Inkscape::snap_rectangular_box | ( | SPDesktop const * | desktop, |
SPItem * | item, | ||
Geom::Point const & | pt, | ||
Geom::Point const & | center, | ||
int | state | ||
) |
Definition at line 91 of file context-fns.cpp.
References SPDesktop::dt2doc(), floor(), SPDesktop::getNamedView(), Inkscape::SnappedPoint::getPoint(), Inkscape::SnappedPoint::getSnapDistance(), SPDesktop::getSnapIndicator(), Inkscape::SnappedPoint::getSnapped(), goldenratio, item, Hsluv::m, MAX, midpt_1_goldenratio, midpt_goldenratio_2, MIN, Inkscape::Display::SnapIndicator::remove_snaptarget(), Inkscape::Display::SnapIndicator::set_new_snaptarget(), sign(), SPNamedView::snap_manager, SNAPSOURCE_NODE_HANDLE, Geom::X, and Geom::Y.
Referenced by Inkscape::UI::Tools::ArcTool::drag(), and Inkscape::UI::Tools::RectTool::drag().
|
static |
Definition at line 116 of file booleans-subitems.cpp.
References fill_nonZero, fill_oddEven, and SP_WIND_RULE_NONZERO.
Referenced by Inkscape::SubItem::build_flatten().
const EnumDataConverter< SPBlendMode > Inkscape::SPBlendModeConverter | ( | SPBlendModeData | , |
SP_CSS_BLEND_COUNT | |||
) |
std::vector< Geom::PathVector > Inkscape::split_non_intersecting_paths | ( | Geom::PathVector && | paths, |
bool | remove_empty = false |
||
) |
Split a collection of paths into connected components.
Two paths are viewed as connected if they overlap.
Definition at line 1198 of file geom-pathstroke.cpp.
References connected_components(), is_path_empty(), paths, Geom::PathVector::push_back(), and result.
Referenced by SPCurve::split_non_overlapping().
|
static |
Definition at line 36 of file fix-broken-links.cpp.
References Geom::reverse().
Referenced by optimizePath(), and searchUpwards().
|
inline |
Definition at line 354 of file canvas-event.h.
Referenced by Inkscape::UI::CurveDragPoint::_getTip(), Inkscape::UI::Handle::_getTip(), Inkscape::UI::Node::_getTip(), and held_alt().
|
inline |
Definition at line 358 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by held_any_modifiers(), and state_held_no_modifiers().
|
inline |
Definition at line 362 of file canvas-event.h.
|
inline |
Definition at line 353 of file canvas-event.h.
Referenced by Inkscape::UI::CurveDragPoint::_getTip(), Inkscape::UI::Handle::_getTip(), Inkscape::UI::Node::_getTip(), and held_ctrl().
|
inline |
Definition at line 359 of file canvas-event.h.
References state_held_any_modifiers().
Referenced by held_no_modifiers().
|
inline |
Definition at line 357 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by held_only_alt().
|
inline |
Definition at line 356 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by Inkscape::UI::Tools::PencilTool::_handleKeyPress(), and held_only_ctrl().
|
inline |
Definition at line 355 of file canvas-event.h.
References INK_GDK_MODIFIER_MASK.
Referenced by Inkscape::UI::Tools::PencilTool::_handleKeyPress(), and held_only_shift().
|
inline |
Definition at line 352 of file canvas-event.h.
Referenced by Inkscape::UI::CurveDragPoint::_getTip(), Inkscape::UI::Handle::_getTip(), Inkscape::UI::Node::_getTip(), held_shift(), and Inkscape::UI::Tools::NodeTool::update_tip().
|
static |
Return true if the given URI string contains characters that need escaping.
Note: It does not check if valid characters appear in invalid context (e.g. '' not followed by two hex digits).
Definition at line 35 of file uri.cpp.
References URI_ALLOWED_NON_ALNUM.
std::string Inkscape::uri_to_iri | ( | const char * | uri | ) |
Unescape the UTF-8 parts of the given URI.
Does not decode non-UTF-8 escape sequences (e.g. reserved ASCII characters). Does not do any IDN (internationalized domain name) decoding.
uri
Definition at line 427 of file uri.cpp.
References Spiro::n, and uri_unescape_utf8_codepoint().
Referenced by rebase_image_href().
|
static |
If s
starts with a "%XX" triplet, return its byte value, 0 otherwise.
Definition at line 371 of file uri.cpp.
Referenced by uri_unescape_utf8_codepoint().
|
static |
If s
starts with a percent-escaped UTF-8 sequence, unescape one code point and store it in out
variable.
Do nothing and return 0 if s
doesn't start with UTF-8.
[in] | s | percent-escaped string |
[out] | out | out-buffer, must have at least size 5 |
s
Definition at line 393 of file uri.cpp.
References Spiro::n, and uri_unescape_triplet().
Referenced by uri_to_iri().
Inkscape::VariantVisitor | ( | Fs... | ) | -> VariantVisitor< Fs... > |
|
static |
Definition at line 391 of file canvas-item-grid.cpp.
References buf.
Referenced by Inkscape::CanvasItemGridAxonom::_render().
|
extern |
four digit year of build
Referenced by inkscape_build_year().
|
inlineconstexpr |
Definition at line 45 of file canvas-item.h.
Referenced by Inkscape::CanvasItem::set_fill(), and Inkscape::CanvasItem::set_stroke().
|
inlineconstexpr |
Whether event debug printing is enabled.
Definition at line 20 of file debug.h.
Referenced by Inkscape::UI::Tools::ToolBase::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), sp_desktop_root_handler(), sp_dt_guide_event(), Inkscape::UI::Tools::ToolBase::start_root_handler(), and Inkscape::UI::Tools::ToolBase::tool_root_handler().
|
inline |
Definition at line 36 of file font-collections.h.
Referenced by Inkscape::FontCollections::add_system_collections(), and Inkscape::FontLister::apply_collections().
|
staticconstexpr |
Definition at line 38 of file booleans-builder.cpp.
Referenced by Inkscape::BooleanBuilder::redraw_item().
|
staticconstexpr |
Definition at line 37 of file booleans-builder.cpp.
Referenced by Inkscape::BooleanBuilder::redraw_item().
|
staticconstexpr |
Definition at line 28 of file drawing.cpp.
|
inlineconstexpr |
All modifiers used by Inkscape.
Definition at line 331 of file canvas-event.h.
Referenced by mod_alt_only(), mod_ctrl_only(), mod_shift_only(), state_held_any_modifiers(), state_held_only_alt(), state_held_only_ctrl(), and state_held_only_shift().
|
constexpr |
Definition at line 226 of file canvas-item-ctrl.cpp.
Referenced by get_size_default(), and Inkscape::CanvasItemCtrl::set_size_via_index().
|
static |
Definition at line 40 of file preferences.cpp.
Referenced by Inkscape::Preferences::_load().
|
constexpr |
Definition at line 225 of file canvas-item-ctrl.cpp.
Referenced by get_size_default(), and Inkscape::CanvasItemCtrl::set_size_via_index().
|
static |
Definition at line 43 of file preferences.cpp.
Referenced by Inkscape::Preferences::_getRawValue().
|
static |
Definition at line 44 of file preferences.cpp.
Referenced by Inkscape::Preferences::_getRawValue(), and Inkscape::Preferences::_setRawValue().
|
inline |
Definition at line 27 of file recently-used-fonts.h.
Referenced by Inkscape::RecentlyUsedFonts::_write_recently_used_fonts(), and Inkscape::RecentlyUsedFonts::init().
|
inline |
Definition at line 35 of file font-collections.h.
Referenced by Inkscape::FontCollections::add_system_collections(), and Inkscape::FontLister::apply_collections().
|
extern |
code revision string
Referenced by inkscape_revision().
const int Inkscape::SP_CSS_BLEND_COUNT = SP_CSS_BLEND_ENDMODE + 5 |
Definition at line 24 of file filter-effect-chooser.cpp.
|
extern |
const EnumData<SPBlendMode> Inkscape::SPBlendModeData[SP_CSS_BLEND_COUNT] |
Definition at line 25 of file filter-effect-chooser.cpp.
auto const Inkscape::URI_ALLOWED_NON_ALNUM = "!#$%&'()*+,-./:;=?@_~" |
Definition at line 27 of file uri.cpp.
Referenced by uri_needs_escaping().
|
extern |
Referenced by add_actions_help_url().
|
extern |
Referenced by add_actions_help_url().
|
extern |
|
extern |
full version string
Referenced by Inkscape::Extension::Internal::PrintEmf::begin(), Inkscape::Extension::Internal::PrintLatex::begin(), Inkscape::Extension::Internal::PovOutput::doHeader(), file_save(), GetInkscapeVersion(), inkscape_version(), Inkscape::Extension::Loader::load_implementation(), InkviewApplication::on_handle_local_options(), Inkscape::Extension::Internal::LaTeXTextRenderer::setTargetFile(), and Inkscape::Extension::Internal::OdfOutput::writeMeta().
|
extern |
version string excluding revision and date
Referenced by add_actions_help_url(), Inkscape::Extension::Internal::CairoRenderContext::setMetadata(), and Inkscape::UI::Dialog::StartScreen::StartScreen().