Inkscape
Vector Graphics Editor
|
Namespaces | |
namespace | details |
Classes | |
class | AlignAndDistribute |
class | ArrangeDialog |
class | ArrangeTab |
This interface should be implemented by each arrange mode. More... | |
class | AttrDialog |
The AttrDialog class This dialog allows to add, delete and modify XML attributes created in the xml editor. More... | |
class | BatchExport |
class | BatchItem |
class | CalligraphicProfileRename |
class | CellRendererInt |
class | CloneTiler |
class | ColorItem |
The color item you see on-screen as a clickable box. More... | |
class | CommandPalette |
class | CPHistoryXML |
class | Debug |
class | DialogBase |
DialogBase is the base class for the dialog system. More... | |
class | DialogContainer |
A widget that manages DialogNotebook's and other widgets inside a horizontal DialogMultipaned containing vertical DialogMultipaned's or other widgets. More... | |
class | DialogManager |
class | DialogMultipaned |
class | DialogNotebook |
A widget that wraps a Gtk::Notebook with dialogs as pages. More... | |
class | DialogWindow |
DialogWindow holds DialogContainer instances for undocked dialogs. More... | |
class | DocumentProperties |
class | DocumentResources |
class | Export |
class | ExportList |
class | ExportPreview |
class | ExtensionList |
class | ExtensionsGallery |
class | FillAndStroke |
class | FilletChamferPropertiesDialog |
class | FilterEffectsDialog |
class | Find |
The Find class defines the Find and replace dialog. More... | |
class | FontCollectionsManager |
The font collections manager dialog allows the user to: More... | |
class | GlobalPalettes |
Singleton class that manages the static list of global palettes. More... | |
class | GlyphMenuButton |
class | GlyphsPanel |
A panel that displays character glyphs. More... | |
class | GridArrangeTab |
Dialog for tiling an object. More... | |
class | GuidelinePropertiesDialog |
Dialog for modifying guidelines. More... | |
struct | History |
class | IconPreviewPanel |
A panel that displays an icon preview. More... | |
class | InkscapePreferences |
class | KnotPropertiesDialog |
class | LayerPropertiesDialog |
class | LivePathEffectEditor |
class | Magnifier |
A widget that draws a pixelated magnified view of an image. More... | |
class | MeasureToolSettingsDialog |
class | ObjectAttributes |
A dialog widget to show object attributes (currently for images and links). More... | |
class | ObjectProperties |
A subdialog widget to show object properties. More... | |
class | ObjectsPanel |
A panel that displays objects. More... | |
struct | PaintDescription |
class | PaintServersColumns |
class | PaintServersDialog |
This dialog serves as a preview for different types of paint servers, currently only predefined. More... | |
struct | PaletteFileData |
The data loaded from a palette file. More... | |
struct | PaletteResult |
class | PolarArrangeTab |
PolarArrangeTab is a Tab displayed in the Arrange dialog and contains enables the user to arrange objects on a circular or elliptical shape. More... | |
class | PowerstrokePropertiesDialog |
class | PreviewDrawing |
class | |
class | Prototype |
A panel that does almost nothing! More... | |
class | SaveTemplate |
class | SelectorsDialog |
The SelectorsDialog class A list of CSS selectors will show up in this dialog. More... | |
class | SingleExport |
class | SpellCheck |
A dialog widget to checking spelling of text elements in the document Uses gspell and one of the languages set in the users preference file. More... | |
class | StartScreen |
class | StyleDialog |
The StyleDialog class A list of CSS selectors will show up in this dialog. More... | |
class | SvgFontsDialog |
class | SvgGlyphRenderer |
class | SwatchesPanel |
A dialog that displays paint swatches. More... | |
class | SymbolsDialog |
A dialog that displays selectable symbols and allows users to drag or paste those symbols from the dialog into the document. More... | |
class | TextEdit |
The TextEdit class defines the Text and font dialog. More... | |
class | TraceDialog |
class | Transformation |
Transformation dialog. More... | |
class | UndoHistory |
Dialog for presenting document change history. More... | |
struct | window_position_t |
class | XmlTree |
A dialog widget to view and edit the document xml. More... | |
Typedefs | |
typedef std::map< std::string, std::unique_ptr< BatchItem > > | BatchItems |
typedef std::pair< gunichar, gunichar > | Range |
typedef std::pair< Range, Glib::ustring > | NamedRange |
using | SelectionState = int |
Enumerations | |
enum | { TILE_P1 , TILE_P2 , TILE_PM , TILE_PG , TILE_CM , TILE_PMM , TILE_PMG , TILE_PGG , TILE_CMM , TILE_P4 , TILE_P4M , TILE_P4G , TILE_P3 , TILE_P31M , TILE_P3M1 , TILE_P6 , TILE_P6M } |
enum class | TypeOfVariant { NONE , UNKNOWN , BOOL , INT , DOUBLE , STRING , TUPLE_DD } |
enum class | CPMode { SEARCH , INPUT , SHELL , HISTORY } |
enum class | HistoryType { LPE , ACTION , OPEN_FILE , IMPORT_FILE } |
enum | Resources : int { Stats , Colors , Fonts , Styles , Patterns , Symbols , Markers , Gradients , Swatches , Images , Filters , External , Metadata } |
enum | notebook_page { SINGLE_IMAGE = 0 , BATCH_EXPORT } |
enum class | EffectCategory { Effect , Compose , Colors , Generation } |
enum class | LayerPropertiesDialogType { NONE , CREATE , MOVE , RENAME } |
enum | { COL_LABEL , COL_VISIBLE , COL_LOCKED } |
enum | SelectionStates : SelectionState { SELECTED_NOT = 0 , SELECTED_OBJECT = 1 , LAYER_FOCUSED = 2 , LAYER_FOCUS_CHILD = 4 , GROUP_SELECT_CHILD = 8 } |
Functions | |
template<class Random > | |
static auto | get_shuffled_lines (std::string const &filename, Random &&random) |
void | show_about () |
static Glib::ustring | prepare_rendervalue (const char *value) |
Prepare value string suitable for display in a Gtk::CellRendererText. | |
void | set_mono_class (Gtk::Widget *widget, bool mono) |
void | get_start_directory (std::string &start_path, Glib::ustring const &prefs_path, bool try_document_dir=false) |
Find the start directory for a file dialog. | |
Glib::RefPtr< Gio::ListStore< Gtk::FileFilter > > | create_open_filters () |
Create a Gtk::FileFilter for all image file types. | |
Glib::RefPtr< Gio::ListStore< Gtk::FileFilter > > | create_export_filters (bool for_save=false) |
Create a Gtk::FileFilter for all export file types. | |
static void | set_hint_texts (Gtk::SearchEntry2 &entry, Glib::ustring const &text) |
Glib::ustring | make_bold (const Glib::ustring &search) |
Color addition. | |
static void | set_sensitive (Gtk::SearchEntry2 &entry, bool const sensitive) |
static void | remove_first (Glib::ustring &name, Glib::ustring const &pattern) |
DialogMultipaned * | get_dialog_parent (DialogBase *dialog) |
static auto | get_key (std::size_t const notebook_idx) |
void | save_wnd_position (Glib::KeyFile *keyfile, const Glib::ustring &group_name, const window_position_t *position) |
static auto | get_notebook_dialogs (DialogNotebook &dialog_notebook) |
std::optional< window_position_t > | dm_get_window_position (Gtk::Window &window) |
void | dm_restore_window_position (Gtk::Window &window, const window_position_t &position) |
bool | file_exists (const std::string &filepath) |
int | get_handle_size () |
void | rounded_rectangle (const Cairo::RefPtr< Cairo::Context > &cr, double x, double y, double w, double h, double r) |
static int | _get_size (auto const sizes, Gtk::Orientation const orientation) |
bool | can_collapse (Gtk::Widget *widget, Gtk::Widget *handle) |
int | get_min_width (Gtk::Widget *widget) |
double | reveal_curve (double val, double size) |
double | collapse_curve (double val, double size) |
static std::optional< std::pair< Gtk::Widget *, DialogNotebook * > > | unpack_page (const Glib::ValueBase &value) |
static const Glib::Quark | dialog_notebook_id ("dialog-notebook-id") |
DialogNotebook * | find_dialog_notebook (Widget::TabStrip *tabs) |
Gtk::Widget * | find_dialog_page (Widget::TabStrip *tabs, int position) |
static auto | get_max_margin (Gtk::Widget const &widget) |
static void | docprops_style_button (Gtk::Button &btn, char const *iconName) |
static bool | do_remove_popup_menu (PopupMenuOptionalClick const click, Gtk::TreeView &tree_view, UI::Widget::PopoverBin &pb, sigc::slot< void()> const &slot) |
static void | connect_remove_popup_menu (Gtk::TreeView &tree_view, UI::Widget::PopoverBin &pb, sigc::slot< void()> slot) |
void | attach_all (Gtk::Grid &table, Gtk::Widget *const arr[], unsigned const n) |
Helper function that sets widgets in a 2 by n table. | |
void | set_namedview_bool (SPDesktop *desktop, const Glib::ustring &operation, SPAttr key, bool on) |
void | set_color (SPDesktop *desktop, Glib::ustring operation, SPAttr color_key, SPAttr opacity_key, Colors::Color const &color) |
void | set_document_dimensions (SPDesktop *desktop, double width, double height, const Inkscape::Util::Unit *unit) |
void | set_document_scale_helper (SPDocument &document, double scale) |
std::optional< Geom::Scale > | get_document_scale_helper (SPDocument &doc) |
void | sanitizeName (std::string &str) |
Cleans up name to remove disallowed characters. | |
std::size_t | get_resource_count (details::Statistics const &stats, Resources const rsrc) |
Resources | id_to_resource (const std::string &id) |
std::size_t | get_resource_count (std::string const &id, details::Statistics const &stats) |
bool | is_resource_present (std::string const &id, details::Statistics const &stats) |
Glib::RefPtr< Gio::File > | choose_file (Glib::ustring title, Gtk::Window *parent, Glib::ustring mime_type, Glib::ustring file_name) |
void | save_gimp_palette (std::string fname, const std::vector< int > &colors, const char *name) |
void | extract_colors (Gtk::Window *parent, const std::vector< int > &colors, const char *name) |
static void | delete_object (SPObject *object, Inkscape::Selection *selection) |
Cairo::RefPtr< Cairo::Surface > | render_color (uint32_t rgb, double size, double radius, int device_scale) |
void | collect_object_colors (SPObject &obj, Colors::ColorSet &colors) |
template<typename V > | |
void | apply_visitor (SPObject &object, V &&visitor) |
void | collect_colors (SPObject *object, Colors::ColorSet &colors) |
void | collect_used_fonts (SPObject &object, std::set< std::string > &fonts) |
std::set< std::string > | collect_fontspecs (SPObject *object) |
template<typename T > | |
bool | filter_element (T &object) |
template<> | |
bool | filter_element< SPPattern > (SPPattern &object) |
template<> | |
bool | filter_element< SPGradient > (SPGradient &object) |
template<typename T > | |
std::vector< T * > | collect_items (SPObject *object, bool(*filter)(T &)=filter_element< T >) |
std::unordered_map< std::string, size_t > | collect_styles (SPObject *root) |
bool | has_external_ref (SPObject &obj) |
details::Statistics | collect_statistics (SPObject *root) |
void | add_colors (Glib::RefPtr< Gio::ListStoreBase > &item_store, Colors::ColorSet const &colors, int device_scale) |
void | _add_items_with_images (Glib::RefPtr< Gio::ListStoreBase > &item_store, const std::vector< SPObject * > &items, double width, double height, int device_scale, bool use_title, object_renderer::options opt) |
template<typename T > | |
void | add_items_with_images (Glib::RefPtr< Gio::ListStoreBase > item_store, const std::vector< T * > &items, double width, double height, int device_scale, bool use_title=false, object_renderer::options opt={}) |
void | add_fonts (Glib::RefPtr< Gio::ListStoreBase > store, const std::set< std::string > &fontspecs) |
void | add_stats (Glib::RefPtr< Gio::ListStoreBase > info_store, SPDocument *document, const details::Statistics &stats) |
void | add_metadata (Glib::RefPtr< Gio::ListStoreBase > info_store, SPDocument *document, const boost::ptr_vector< Inkscape::UI::Widget::EntityEntry > &rdf_list) |
void | add_filters (Glib::RefPtr< Gio::ListStoreBase > info_store, const std::vector< SPFilter * > &filters) |
void | add_styles (Glib::RefPtr< Gio::ListStoreBase > info_store, const std::unordered_map< std::string, size_t > &map) |
void | add_refs (Glib::RefPtr< Gio::ListStoreBase > info_store, const std::vector< SPObject * > &objects) |
void | set_export_bg_color (SPObject *object, Inkscape::Colors::Color const &color) |
Inkscape::Colors::Color | get_export_bg_color (SPObject *object, Inkscape::Colors::Color const &default_color) |
Cairo::RefPtr< Cairo::Surface > | add_shadow (Geom::Point image_size, Cairo::RefPtr< Cairo::Surface > image, int device_scale) |
const std::vector< Inkscape::Extension::Effect * > | prepare_effects (const std::vector< Inkscape::Extension::Effect * > &effects, bool get_effects) |
Glib::ustring | get_category (const std::list< Glib::ustring > &menu) |
Cairo::RefPtr< Cairo::Surface > | render_icon (Extension::Effect *effect, std::string icon, Geom::Point icon_size, int device_scale) |
void | add_effects (Gio::ListStore< EffectItem > &item_store, const std::vector< Inkscape::Extension::Effect * > &effects, bool root) |
std::set< std::string > | add_categories (Glib::RefPtr< Gtk::ListStore > &store, const std::vector< Inkscape::Extension::Effect * > &effects, bool effect) |
Geom::Point | get_thumbnail_size (int index, ExtensionsGallery::Type type) |
static int | input_count (const SPFilterPrimitive *prim) |
static std::unique_ptr< UI::Widget::PopoverMenu > | create_popup_menu (Gtk::Widget &parent, sigc::slot< void()> dup, sigc::slot< void()> rem) |
static Glib::ustring | get_filter_name (SPFilter *filter) |
void | draw_connection_node (const Cairo::RefPtr< Cairo::Context > &cr, std::vector< Geom::Point > const &points, Gdk::RGBA const &fill, Gdk::RGBA const &stroke) |
static std::pair< int, int > | widget_to_bin_window (Gtk::TreeView const &tree_view, int const wx, int const wy) |
static void | check_single_connection (SPFilterPrimitive *prim, const int result) |
static void | autoscroll (Glib::RefPtr< Gtk::Adjustment > const &a, double const delta) |
const Glib::ustring & | get_category_name (EffectCategory category) |
static const std::map< Inkscape::Filters::FilterPrimitiveType, EffectMetadata > & | get_effects () |
bool | number_or_empy (const Glib::ustring &text) |
void | checkFontSubstitutions (SPDocument *doc) |
PaletteResult | load_palette (std::string const &path) |
Glib::RefPtr< Gio::File > | choose_palette_file (Gtk::Window *window) |
static auto const & | getScriptToName () |
static auto const & | getRanges () |
static Glib::ustring | getTimestr () |
static void | overlayPixels (unsigned char *px, int width, int height, int stride, unsigned r, unsigned g, unsigned b) |
static Cairo::RefPtr< Cairo::ImageSurface > | sp_icon_doc_icon (SPDocument *doc, Drawing &drawing, char const *name, unsigned psize) |
static auto | reset_icon () |
static bool | fuzzy_search (Glib::ustring const &pattern, Glib::ustring const &string, float &score) |
Case-insensitive and unicode normalized search of pattern in string . | |
static bool | fuzzy_search (Glib::ustring const &pattern, Glib::ustring const &string) |
Case-insensitive and unicode normalized search of pattern in string . | |
static auto | get_children_or_mnemonic_labels (Gtk::Widget &widget) |
static int | get_num_matches (Glib::ustring const &key, Gtk::Widget *widget) |
Get number of child Labels that match a key in a widget. | |
static ModelColumns & | onKBGetCols () |
static void | StyleFromSelectionToTool (Glib::ustring const &prefs_path, StyleSwatch *swatch) |
Glib::ustring | get_tool_action_name (Glib::ustring toolname) |
static Cairo::RefPtr< Cairo::Surface > | draw_color_preview (unsigned int rgb, unsigned int frame_rgb, int device_scale) |
static void | profileComboChanged (Gtk::ComboBoxText *combo) |
static void | proofComboChanged (Gtk::ComboBoxText *combo) |
static void | gamutColorChanged (Gtk::ColorButton *btn) |
static auto | getShortcutsFileLabelsAndValues () |
static bool | is_leaf_visible (const Gtk::TreeModel::const_iterator &iter, const Glib::ustring &search) |
template<typename string_type > | |
static void | appendList (Glib::ustring &tmp, const std::vector< string_type > &listing) |
static bool | sp_has_fav (Glib::ustring const &effect) |
static void | sp_add_fav (Glib::ustring const &effect) |
static void | sp_remove_fav (Glib::ustring effect) |
bool | sp_set_experimental (bool &_experimental) |
void | align (Gtk::Widget *top, int const spinbutton_width_chars) |
static void | set_visible_icon (Gtk::Button &button, bool const visible) |
const Glib::ustring & | get_category_name (Inkscape::LivePathEffect::LPECategory category) |
static void | update_before_after_classes (Gtk::Widget &widget, bool const before) |
template<typename Method , typename ... Args> | |
static void | add_action (Glib::RefPtr< Gio::SimpleActionGroup > const &group, Glib::ustring const &name, bool const enable, LivePathEffectEditor &self, Method const method, Args ...args) |
std::tuple< bool, double, double > | round_values (double x, double y) |
std::tuple< bool, double, double > | round_values (Gtk::SpinButton &x, Gtk::SpinButton &y) |
const LivePathEffectObject * | find_lpeffect (SPLPEItem *item, LivePathEffect::EffectType etype) |
void | remove_lpeffect (SPLPEItem *item, LivePathEffect::EffectType type) |
std::optional< double > | get_number (SPItem *item, const char *attribute) |
void | align_star_shape (SPStar *path) |
std::string | get_key (SPObject *object) |
static auto | get_cell_area (Gtk::TreeView const &tree_view, Gtk::TreeModel::Path const &path, Gtk::TreeViewColumn &column) |
static auto | get_cell_center (Gtk::TreeView const &tree_view, Gtk::TreeModel::Path const &path, Gtk::TreeViewColumn &column) |
static void | rotateAround (SPItem *item, Geom::Point center, Geom::Rotate const &rotation) |
This function rotates an item around a given point by a given amount. | |
static float | calcAngle (float arcBegin, float arcEnd, int count, int n) |
Calculates the angle at which to put an object given the total amount of objects, the index of the objects as well as the arc start and end points. | |
static Geom::Point | calcPoint (float cx, float cy, float rx, float ry, float angle) |
Calculates the point at which an object needs to be, given the center of the ellipse, it's radius (x and y), as well as the angle. | |
static Geom::Point | getAnchorPoint (int anchor, SPItem *item) |
Returns the selected anchor point in desktop coordinates. | |
static void | moveToPoint (int anchor, SPItem *item, Geom::Point p) |
Moves an SPItem to a given location, the location is based on the given anchor point. | |
Glib::RefPtr< Gtk::PrintSettings > & | get_printer_settings () |
template<typename T , typename U > | |
bool | vector_contains (std::vector< T > const &haystack, U const &needle) |
XML::Node * | get_first_style_text_node (XML::Node *root, bool create_if_missing) |
Get the first <style> element's first text node. | |
static bool | is_url (char const *p) |
gboolean | sp_styledialog_store_move_to_next (gpointer data) |
Glib::ustring | create_unicode_name (const Glib::ustring &unicode, int max_chars) |
Glib::ustring | get_glyph_synthetic_name (const SPGlyph &glyph) |
Glib::ustring | get_glyph_full_name (const SPGlyph &glyph) |
SPItem * | find_layer (SPDesktop *desktop, SPObject *root_layer, const Glib::ustring &name) |
std::vector< SPGroup * > | get_direct_sublayers (SPObject *layer) |
void | rename_glyph_layer (SPDesktop *desktop, SPItem *layer, const Glib::ustring &font, const Glib::ustring &name) |
SPItem * | get_layer_for_glyph (SPDesktop *desktop, const Glib::ustring &font, const Glib::ustring &name) |
SPItem * | get_or_create_layer_for_glyph (SPDesktop *desktop, const Glib::ustring &font, const Glib::ustring &name) |
Glib::ustring | get_font_label (SPFont *font) |
SPGuide * | get_guide (SPDocument &doc, const Glib::ustring &id) |
SPGuide * | create_guide (SPDocument &doc, double x0, double y0, double x1, double y1) |
void | set_up_typography_canvas (SPDocument *document, double em, double asc, double cap, double xheight, double des) |
double | get_font_units_per_em (const SPFont *font) |
Geom::PathVector | flip_coordinate_system (Geom::PathVector pathv, const SPFont *font, double units_per_em) |
void | change_glyph_attribute (SPDesktop *desktop, SPGlyph &glyph, std::function< void()> change) |
Inkscape::XML::Node * | create_path_from_glyph (const SPGlyph &glyph) |
SPFont * | new_font (SPDocument *document) |
void | set_font_family (SPFont *font, char *str) |
static auto | to_palette_t (PaletteFileData const &p) |
static auto | make_selector_item (UI::Widget::palette_t const &palette) |
Gtk::Box & | create_tab_label (const char *label_text, const char *icon_name) |
static bool | isRealLayer (SPObject const *object) |
Like SPDesktop::isLayer(), but ignores SPGroup::effectiveLayerMode(). | |
Variables | |
constexpr int | MAX_POPOVER_HEIGHT = 450 |
constexpr int | MAX_POPOVER_WIDTH = 520 |
constexpr int | TEXT_MARGIN = 3 |
static constexpr int | SB_MARGIN = 1 |
static constexpr int | VB_MARGIN = 4 |
static Glib::ustring const | prefs_path = "/dialogs/clonetiler/" |
static std::unique_ptr< Inkscape::Drawing > | trace_drawing |
static unsigned | trace_visionkey |
static gdouble | trace_zoom |
static SPDocument * | trace_doc = nullptr |
const char | dialogs_state [] = "dialogs-state-ex.ini" |
const char | save_dialog_position [] = "/options/savedialogposition/value" |
const char | transient_group [] = "transient" |
static constexpr int | SPACE_SIZE_X = 15 |
static constexpr int | SPACE_SIZE_Y = 10 |
const std::unordered_map< std::string, Resources > | g_id_to_resource |
std::map< std::type_index, std::function< Glib::ustring(const SPObject &)> > | g_get_label |
std::map< std::type_index, std::function< void(SPObject &, const Glib::ustring &)> > | g_set_label |
constexpr int | COL_NAME = 0 |
constexpr int | COL_ID = 1 |
constexpr int | COL_ICON = 2 |
constexpr int | COL_COUNT = 3 |
auto | get_id = [](const SPObject* object) { auto id = object->getId(); return id ? id : ""; } |
auto | label_fmt = [](const char* label, const Glib::ustring& id) { return label && *label ? label : '#' + id; } |
Inkscape::UI::Dialog::CategoriesColumns | g_categories_columns |
constexpr int | max_convolution_kernel_size = 10 |
static Glib::ustring const | prefs_path = "/dialogs/filters" |
ModelColumns | _kb_columns |
static constexpr auto | favs_path = "/dialogs/livepatheffect/favs" |
static constexpr auto | item_action_group_name = "lpe-item" |
static const auto | item_action_group_quark = Glib::Quark{item_action_group_name} |
static const SPAttrDesc | anchor_desc [] |
const auto | dlg_pref_path = Glib::ustring("/dialogs/object-properties/") |
Gdk::RGBA | selection_color |
const int | MARGIN_SPACE = 4 |
static constexpr auto | auto_id = "Auto" |
constexpr auto | EXPORT_COORD_PRECISION = 3 |
constexpr auto | SP_EXPORT_MIN_SIZE = 1.0 |
Dialog code.
Arranges Objects into a Circle/Ellipse.
From the code of Liam P.White from his Power Stroke Knot dialog.
This namespace contains all code related to dialogs.
Released under GNU GPL v2+, read the file 'COPYING' for more information.
typedef std::map<std::string, std::unique_ptr<BatchItem> > Inkscape::UI::Dialog::BatchItems |
Definition at line 65 of file export-batch.h.
typedef std::pair<Range, Glib::ustring> Inkscape::UI::Dialog::NamedRange |
Definition at line 206 of file glyphs.cpp.
typedef std::pair<gunichar, gunichar> Inkscape::UI::Dialog::Range |
Definition at line 205 of file glyphs.cpp.
using Inkscape::UI::Dialog::SelectionState = typedef int |
anonymous enum |
Enumerator | |
---|---|
TILE_P1 | |
TILE_P2 | |
TILE_PM | |
TILE_PG | |
TILE_CM | |
TILE_PMM | |
TILE_PMG | |
TILE_PGG | |
TILE_CMM | |
TILE_P4 | |
TILE_P4M | |
TILE_P4G | |
TILE_P3 | |
TILE_P31M | |
TILE_P3M1 | |
TILE_P6 | |
TILE_P6M |
Definition at line 187 of file clonetiler.h.
|
strong |
Enumerator | |
---|---|
SEARCH | |
INPUT | Input arguments. |
SHELL | |
HISTORY |
Definition at line 60 of file command-palette.h.
|
strong |
Enumerator | |
---|---|
Effect | |
Compose | |
Colors | |
Generation |
Definition at line 2563 of file filter-effects-dialog.cpp.
|
strong |
Enumerator | |
---|---|
LPE | |
ACTION | |
OPEN_FILE | |
IMPORT_FILE |
Definition at line 68 of file command-palette.h.
|
strong |
Enumerator | |
---|---|
NONE | |
CREATE | |
MOVE | |
RENAME |
Definition at line 44 of file layer-properties.h.
enum Inkscape::UI::Dialog::Resources : int |
Enumerator | |
---|---|
Stats | |
Colors | |
Fonts | |
Styles | |
Patterns | |
Symbols | |
Markers | |
Gradients | |
Swatches | |
Images | |
Filters | |
External | |
Metadata |
Definition at line 117 of file document-resources.cpp.
|
strong |
Enumerator | |
---|---|
NONE | |
UNKNOWN | |
BOOL | |
INT | |
DOUBLE | |
STRING | |
TUPLE_DD |
Definition at line 49 of file command-palette.h.
void Inkscape::UI::Dialog::_add_items_with_images | ( | Glib::RefPtr< Gio::ListStoreBase > & | item_store, |
const std::vector< SPObject * > & | items, | ||
double | width, | ||
double | height, | ||
int | device_scale, | ||
bool | use_title, | ||
object_renderer::options | opt | ||
) |
Definition at line 945 of file document-resources.cpp.
References _add_items_with_images(), get_id, SPObject::getAttribute(), height, image, item, items, label, label_fmt, Inkscape::object_renderer::render(), SPObject::title(), to_texture(), and width.
Referenced by _add_items_with_images().
|
static |
Definition at line 744 of file dialog-multipaned.cpp.
Referenced by Inkscape::UI::Dialog::DialogMultipaned::size_allocate_vfunc().
|
static |
Definition at line 1049 of file livepatheffect-editor.cpp.
References add_action(), and name.
Referenced by add_action(), and Inkscape::UI::Dialog::LivePathEffectEditor::add_item_actions().
std::set< std::string > Inkscape::UI::Dialog::add_categories | ( | Glib::RefPtr< Gtk::ListStore > & | store, |
const std::vector< Inkscape::Extension::Effect * > & | effects, | ||
bool | effect | ||
) |
Definition at line 275 of file extensions-gallery.cpp.
References g_categories_columns, get_category(), and store.
Referenced by Inkscape::UI::Dialog::ExtensionsGallery::ExtensionsGallery().
void Inkscape::UI::Dialog::add_colors | ( | Glib::RefPtr< Gio::ListStoreBase > & | item_store, |
Colors::ColorSet const & | colors, | ||
int | device_scale | ||
) |
Definition at line 929 of file document-resources.cpp.
References add_colors(), image, name, render_color(), Inkscape::size, and to_texture().
Referenced by add_colors(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::add_effects | ( | Gio::ListStore< EffectItem > & | item_store, |
const std::vector< Inkscape::Extension::Effect * > & | effects, | ||
bool | root | ||
) |
Definition at line 214 of file extensions-gallery.cpp.
References Inkscape::IO::Resource::EXTENSIONS, Inkscape::Extension::Effect::find_icon_file(), get_category(), Inkscape::Extension::Effect::get_menu_list(), Inkscape::Extension::Effect::get_menu_tip(), Inkscape::Extension::Extension::get_name(), Inkscape::IO::Resource::get_path(), Inkscape::IO::Resource::get_path_string(), Inkscape::Extension::Effect::get_sanitized_id(), name, order, root, Inkscape::IO::Resource::SYSTEM, and Inkscape::IO::Resource::UIS.
Referenced by Inkscape::UI::Dialog::ExtensionsGallery::ExtensionsGallery().
void Inkscape::UI::Dialog::add_filters | ( | Glib::RefPtr< Gio::ListStoreBase > | info_store, |
const std::vector< SPFilter * > & | filters | ||
) |
Definition at line 1034 of file document-resources.cpp.
References add_filters(), label, and name.
Referenced by add_filters(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::add_fonts | ( | Glib::RefPtr< Gio::ListStoreBase > | store, |
const std::set< std::string > & | fontspecs | ||
) |
Definition at line 974 of file document-resources.cpp.
References add_fonts(), item, name, and store.
Referenced by add_fonts(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::add_items_with_images | ( | Glib::RefPtr< Gio::ListStoreBase > | item_store, |
const std::vector< T * > & | items, | ||
double | width, | ||
double | height, | ||
int | device_scale, | ||
bool | use_title = false , |
||
object_renderer::options | opt = {} |
||
) |
Definition at line 969 of file document-resources.cpp.
References add_items_with_images().
Referenced by add_items_with_images(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::add_metadata | ( | Glib::RefPtr< Gio::ListStoreBase > | info_store, |
SPDocument * | document, | ||
const boost::ptr_vector< Inkscape::UI::Widget::EntityEntry > & | rdf_list | ||
) |
Definition at line 1024 of file document-resources.cpp.
References add_metadata(), label, and Inkscape::Util::trim().
Referenced by add_metadata(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::add_refs | ( | Glib::RefPtr< Gio::ListStoreBase > | info_store, |
const std::vector< SPObject * > & | objects | ||
) |
Definition at line 1070 of file document-resources.cpp.
References add_refs(), get_id, Inkscape::getHrefAttribute(), and label_fmt.
Referenced by add_refs(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
Cairo::RefPtr< Cairo::Surface > Inkscape::UI::Dialog::add_shadow | ( | Geom::Point | image_size, |
Cairo::RefPtr< Cairo::Surface > | image, | ||
int | device_scale | ||
) |
Definition at line 119 of file extensions-gallery.cpp.
References floor(), Geom::GenericRect< Coord >::from_xywh(), Inkscape::UI::Widget::height, image, ink_cairo_draw_drop_shadow(), margin, surface, w, width, Geom::Point::x(), and Geom::Point::y().
Referenced by render_icon().
void Inkscape::UI::Dialog::add_stats | ( | Glib::RefPtr< Gio::ListStoreBase > | info_store, |
SPDocument * | document, | ||
const details::Statistics & | stats | ||
) |
Definition at line 987 of file document-resources.cpp.
References add_stats(), Inkscape::UI::Dialog::details::Statistics::colorprofiles, Inkscape::UI::Dialog::details::Statistics::colors, Inkscape::UI::Dialog::details::Statistics::external_uris, Inkscape::UI::Dialog::details::Statistics::filters, Inkscape::UI::Dialog::details::Statistics::fonts, SPDocument::getDocumentFilename(), Inkscape::UI::Dialog::details::Statistics::gradients, Inkscape::UI::Dialog::details::Statistics::groups, Inkscape::UI::Dialog::details::Statistics::images, Inkscape::UI::Dialog::details::Statistics::layers, Inkscape::UI::Dialog::details::Statistics::markers, Inkscape::UI::Dialog::details::Statistics::meshgradients, Inkscape::UI::Dialog::details::Statistics::metadata, Inkscape::UI::Dialog::details::Statistics::nodes, Inkscape::UI::Dialog::details::Statistics::paths, Inkscape::UI::Dialog::details::Statistics::patterns, rdf_get_license(), Inkscape::UI::Dialog::details::Statistics::svg_fonts, Inkscape::UI::Dialog::details::Statistics::swatches, and Inkscape::UI::Dialog::details::Statistics::symbols.
Referenced by add_stats(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::add_styles | ( | Glib::RefPtr< Gio::ListStoreBase > | info_store, |
const std::unordered_map< std::string, size_t > & | map | ||
) |
Definition at line 1055 of file document-resources.cpp.
References add_styles().
Referenced by add_styles(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::align | ( | Gtk::Widget * | top, |
int const | spinbutton_width_chars | ||
) |
Definition at line 209 of file livepatheffect-editor.cpp.
References child, Inkscape::UI::get_children(), and label.
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::showParams().
void Inkscape::UI::Dialog::align_star_shape | ( | SPStar * | path | ) |
Definition at line 260 of file object-attributes.cpp.
References SPStar::arg, delta, SPObject::setAttributeDouble(), SPStar::sides, and SPObject::updateRepr().
|
static |
Definition at line 3775 of file inkscape-preferences.cpp.
References appendList().
Referenced by appendList(), and Inkscape::UI::Dialog::InkscapePreferences::initPageSystem().
void Inkscape::UI::Dialog::apply_visitor | ( | SPObject & | object, |
V && | visitor | ||
) |
Definition at line 657 of file document-resources.cpp.
References apply_visitor(), and child.
Referenced by apply_visitor(), collect_colors(), collect_fontspecs(), collect_items(), collect_statistics(), and collect_styles().
|
private |
Helper function that sets widgets in a 2 by n table.
arr has two entries per table row. Each row is in the following form: widget, widget -> function adds a widget in each column. nullptr, widget -> function adds a widget that occupies the row. label, nullptr -> function adds label that occupies the row. nullptr, nullptr -> function adds an empty box that occupies the row. This used to be a helper function for a 3 by n table
Definition at line 261 of file document-properties.cpp.
References label, SPACE_SIZE_X, and SPACE_SIZE_Y.
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_guides().
|
static |
Definition at line 2515 of file filter-effects-dialog.cpp.
References delta.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_scroll_timeout().
|
static |
Calculates the angle at which to put an object given the total amount of objects, the index of the objects as well as the arc start and end points.
arcBegin | angle at which the arc begins |
arcEnd | angle at which the arc ends |
count | number of objects in the selection |
n | index of the object in the selection |
Definition at line 177 of file polar-arrange-tab.cpp.
References delta.
Referenced by Inkscape::UI::Dialog::PolarArrangeTab::arrange().
|
static |
Calculates the point at which an object needs to be, given the center of the ellipse, it's radius (x and y), as well as the angle.
Definition at line 195 of file polar-arrange-tab.cpp.
Referenced by Inkscape::UI::Dialog::PolarArrangeTab::arrange().
bool Inkscape::UI::Dialog::can_collapse | ( | Gtk::Widget * | widget, |
Gtk::Widget * | handle | ||
) |
Definition at line 1072 of file dialog-multipaned.cpp.
References child, Inkscape::UI::get_children(), and parent.
Referenced by Inkscape::UI::Dialog::DialogMultipaned::on_drag_update().
void Inkscape::UI::Dialog::change_glyph_attribute | ( | SPDesktop * | desktop, |
SPGlyph & | glyph, | ||
std::function< void()> | change | ||
) |
Definition at line 1162 of file svg-fonts-dialog.cpp.
References change_glyph_attribute(), desktop, get_glyph_full_name(), get_layer_for_glyph(), SPObject::label(), name, SPObject::parent, and rename_glyph_layer().
Referenced by change_glyph_attribute(), Inkscape::UI::Dialog::SvgFontsDialog::glyph_name_edit(), and Inkscape::UI::Dialog::SvgFontsDialog::glyph_unicode_edit().
|
static |
Definition at line 2444 of file filter-effects-dialog.cpp.
References SPFilterPrimitive::get_in(), SPObject::removeAttribute(), and result.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::sanitize_connections().
void Inkscape::UI::Dialog::checkFontSubstitutions | ( | SPDocument * | doc | ) |
Definition at line 212 of file font-substitution.cpp.
References Inkscape::Preferences::get(), Inkscape::Preferences::getBool(), and msg.
Referenced by InkscapeApplication::document_fix().
Glib::RefPtr< Gio::File > Inkscape::UI::Dialog::choose_file | ( | Glib::ustring | title, |
Gtk::Window * | parent, | ||
Glib::ustring | mime_type, | ||
Glib::ustring | file_name | ||
) |
Definition at line 183 of file document-resources.cpp.
References Inkscape::choose_file_save(), and parent.
Referenced by extract_colors().
Glib::RefPtr< Gio::File > Inkscape::UI::Dialog::choose_palette_file | ( | Gtk::Window * | window | ) |
Definition at line 419 of file global-palettes.cpp.
References Inkscape::choose_file_open().
Referenced by Inkscape::UI::Dialog::SwatchesPanel::load_swatches().
double Inkscape::UI::Dialog::collapse_curve | ( | double | val, |
double | size | ||
) |
Definition at line 1146 of file dialog-multipaned.cpp.
References Inkscape::size.
Referenced by Inkscape::UI::Dialog::DialogMultipaned::on_drag_update().
void Inkscape::UI::Dialog::collect_colors | ( | SPObject * | object, |
Colors::ColorSet & | colors | ||
) |
Definition at line 668 of file document-resources.cpp.
References apply_visitor(), and collect_object_colors().
Referenced by Inkscape::UI::Dialog::DocumentResources::refresh_page().
std::set< std::string > Inkscape::UI::Dialog::collect_fontspecs | ( | SPObject * | object | ) |
Definition at line 693 of file document-resources.cpp.
References apply_visitor(), and collect_used_fonts().
Referenced by Inkscape::UI::Dialog::DocumentResources::refresh_page().
std::vector< T * > Inkscape::UI::Dialog::collect_items | ( | SPObject * | object, |
bool(*)(T &) | filter = filter_element<T> |
||
) |
Definition at line 711 of file document-resources.cpp.
References apply_visitor(), and items.
void Inkscape::UI::Dialog::collect_object_colors | ( | SPObject & | obj, |
Colors::ColorSet & | colors | ||
) |
Definition at line 634 of file document-resources.cpp.
References c, Inkscape::Colors::ColorSet::set(), and SPObject::style.
Referenced by collect_colors(), and collect_statistics().
details::Statistics Inkscape::UI::Dialog::collect_statistics | ( | SPObject * | root | ) |
Definition at line 751 of file document-resources.cpp.
References apply_visitor(), collect_object_colors(), collect_used_fonts(), Inkscape::UI::Dialog::details::Statistics::colorprofiles, Inkscape::UI::Dialog::details::Statistics::external_uris, filter_element(), Inkscape::UI::Dialog::details::Statistics::filters, SPObject::getAttribute(), has_external_ref(), Inkscape::UI::Dialog::details::Statistics::images, Inkscape::UI::Dialog::details::Statistics::markers, Inkscape::UI::Dialog::details::Statistics::meshgradients, Inkscape::UI::Dialog::details::Statistics::nodes, Inkscape::UI::Dialog::details::Statistics::paths, Inkscape::UI::Dialog::details::Statistics::patterns, root, Inkscape::UI::Dialog::details::Statistics::svg_fonts, and Inkscape::UI::Dialog::details::Statistics::symbols.
Referenced by Inkscape::UI::Dialog::DocumentResources::collect_statistics(), and Inkscape::UI::Dialog::DocumentResources::rebuild_stats().
std::unordered_map< std::string, size_t > Inkscape::UI::Dialog::collect_styles | ( | SPObject * | root | ) |
Definition at line 723 of file document-resources.cpp.
References apply_visitor(), SPObject::getAttribute(), and root.
Referenced by Inkscape::UI::Dialog::DocumentResources::refresh_page().
void Inkscape::UI::Dialog::collect_used_fonts | ( | SPObject & | object, |
std::set< std::string > & | fonts | ||
) |
Definition at line 674 of file document-resources.cpp.
Referenced by collect_fontspecs(), and collect_statistics().
|
staticprivate |
Definition at line 188 of file document-properties.cpp.
References do_remove_popup_menu(), and Inkscape::UI::on_popup_menu().
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_cms(), and Inkscape::UI::Dialog::DocumentProperties::build_scripting().
Glib::RefPtr< Gio::ListStore< Gtk::FileFilter > > Inkscape::UI::Dialog::create_export_filters | ( | bool | for_save | ) |
Create a Gtk::FileFilter for all export file types.
Definition at line 129 of file choose-file-utils.cpp.
References Inkscape::Extension::db, Inkscape::Extension::DB::get_output_list(), and name.
Referenced by Inkscape::UI::Dialog::SingleExport::onBrowse(), and sp_file_save_dialog().
SPGuide * Inkscape::UI::Dialog::create_guide | ( | SPDocument & | doc, |
double | x0, | ||
double | y0, | ||
double | x1, | ||
double | y1 | ||
) |
Definition at line 756 of file svg-fonts-dialog.cpp.
References create_guide(), and SPGuide::createSPGuide().
Referenced by create_guide(), and set_up_typography_canvas().
Glib::RefPtr< Gio::ListStore< Gtk::FileFilter > > Inkscape::UI::Dialog::create_open_filters | ( | ) |
Create a Gtk::FileFilter for all image file types.
Definition at line 49 of file choose-file-utils.cpp.
References Inkscape::Extension::db, and Inkscape::Extension::DB::get_input_list().
Referenced by Inkscape::choose_file_open_images(), and Inkscape::UI::Dialog::StartScreen::load_document().
Inkscape::XML::Node * Inkscape::UI::Dialog::create_path_from_glyph | ( | const SPGlyph & | glyph | ) |
Definition at line 1263 of file svg-fonts-dialog.cpp.
References create_path_from_glyph(), Inkscape::XML::Document::createElement(), SPObject::document, flip_coordinate_system(), get_font_units_per_em(), SPObject::getAttribute(), SPDocument::getReprDoc(), SPObject::parent, sp_svg_read_pathv(), and sp_svg_write_path().
Referenced by create_path_from_glyph(), and Inkscape::UI::Dialog::SvgFontsDialog::edit_glyph().
|
static |
Definition at line 1225 of file filter-effects-dialog.cpp.
References mi.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::set_menu().
Gtk::Box & Inkscape::UI::Dialog::create_tab_label | ( | const char * | label_text, |
const char * | icon_name | ||
) |
Definition at line 35 of file tile.cpp.
References image, label, and Inkscape::UI::pack_start().
Referenced by Inkscape::UI::Dialog::ArrangeDialog::ArrangeDialog().
Glib::ustring Inkscape::UI::Dialog::create_unicode_name | ( | const Glib::ustring & | unicode, |
int | max_chars | ||
) |
Definition at line 354 of file svg-fonts-dialog.cpp.
Referenced by get_glyph_synthetic_name(), and Inkscape::UI::Dialog::SvgFontsDialog::set_glyph_row().
|
static |
Definition at line 223 of file document-resources.cpp.
References Inkscape::ObjectSet::deleteItems(), Inkscape::DocumentUndo::done(), and Inkscape::Selection::set().
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources().
|
static |
Referenced by Inkscape::UI::Dialog::DialogNotebook::DialogNotebook(), and find_dialog_notebook().
std::optional< window_position_t > Inkscape::UI::Dialog::dm_get_window_position | ( | Gtk::Window & | window | ) |
Definition at line 32 of file dialog-manager.cpp.
References Inkscape::UI::Widget::height, and width.
Referenced by Inkscape::UI::Dialog::DialogContainer::save_container_state(), and Inkscape::UI::Dialog::DialogManager::store_state().
void Inkscape::UI::Dialog::dm_restore_window_position | ( | Gtk::Window & | window, |
const window_position_t & | position | ||
) |
Definition at line 46 of file dialog-manager.cpp.
References Inkscape::UI::Dialog::window_position_t::height, and Inkscape::UI::Dialog::window_position_t::width.
Referenced by Inkscape::UI::Dialog::DialogContainer::load_container_state(), and Inkscape::UI::Dialog::DialogContainer::recreate_dialogs_from_state().
|
staticprivate |
Definition at line 158 of file document-properties.cpp.
References mi, and Inkscape::UI::Widget::PopoverBin::setPopover().
Referenced by connect_remove_popup_menu().
|
staticprivate |
Definition at line 150 of file document-properties.cpp.
References child, and sp_get_icon_image().
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_cms(), and Inkscape::UI::Dialog::DocumentProperties::build_scripting().
|
static |
Definition at line 1547 of file inkscape-preferences.cpp.
References draw_color_preview(), Inkscape::UI::Widget::IconComboBox::get_image_size(), rgb, Inkscape::size, and surface.
Referenced by draw_color_preview(), and Inkscape::UI::Dialog::InkscapePreferences::initPageUI().
void Inkscape::UI::Dialog::draw_connection_node | ( | const Cairo::RefPtr< Cairo::Context > & | cr, |
std::vector< Geom::Point > const & | points, | ||
Gdk::RGBA const & | fill, | ||
Gdk::RGBA const & | stroke | ||
) |
Definition at line 2122 of file filter-effects-dialog.cpp.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::snapshot_vfunc().
void Inkscape::UI::Dialog::extract_colors | ( | Gtk::Window * | parent, |
const std::vector< int > & | colors, | ||
const char * | name | ||
) |
Definition at line 213 of file document-resources.cpp.
References choose_file(), name, parent, and save_gimp_palette().
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources().
bool Inkscape::UI::Dialog::file_exists | ( | const std::string & | filepath | ) |
Definition at line 225 of file dialog-manager.cpp.
Referenced by Inkscape::UI::Dialog::DialogManager::dialog_defaults(), and Inkscape::UI::Dialog::DialogManager::restore_dialogs_state().
bool Inkscape::UI::Dialog::filter_element | ( | T & | object | ) |
Definition at line 702 of file document-resources.cpp.
Referenced by collect_statistics(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
bool Inkscape::UI::Dialog::filter_element< SPGradient > | ( | SPGradient & | object | ) |
Definition at line 708 of file document-resources.cpp.
bool Inkscape::UI::Dialog::filter_element< SPPattern > | ( | SPPattern & | object | ) |
Definition at line 705 of file document-resources.cpp.
DialogNotebook * Inkscape::UI::Dialog::find_dialog_notebook | ( | Widget::TabStrip * | tabs | ) |
Definition at line 51 of file dialog-notebook.cpp.
References dialog_notebook_id().
Referenced by find_dialog_page(), and unpack_page().
Gtk::Widget * Inkscape::UI::Dialog::find_dialog_page | ( | Widget::TabStrip * | tabs, |
int | position | ||
) |
Definition at line 55 of file dialog-notebook.cpp.
References find_dialog_notebook(), and Inkscape::UI::Dialog::DialogNotebook::get_page().
Referenced by Inkscape::UI::Dialog::DialogContainer::prepare_drop(), and unpack_page().
SPItem * Inkscape::UI::Dialog::find_layer | ( | SPDesktop * | desktop, |
SPObject * | root_layer, | ||
const Glib::ustring & | name | ||
) |
Definition at line 395 of file svg-fonts-dialog.cpp.
References desktop, SPDesktop::layerManager(), and root.
Referenced by get_layer_for_glyph(), get_or_create_layer_for_glyph(), and rename_glyph_layer().
const LivePathEffectObject * Inkscape::UI::Dialog::find_lpeffect | ( | SPLPEItem * | item, |
LivePathEffect::EffectType | etype | ||
) |
Definition at line 234 of file object-attributes.cpp.
References Inkscape::LivePathEffect::FILLET_CHAMFER, and item.
Referenced by remove_lpeffect().
Geom::PathVector Inkscape::UI::Dialog::flip_coordinate_system | ( | Geom::PathVector | pathv, |
const SPFont * | font, | ||
double | units_per_em | ||
) |
Definition at line 1061 of file svg-fonts-dialog.cpp.
References flip_coordinate_system(), and SPFont::horiz_origin_y.
Referenced by create_path_from_glyph(), flip_coordinate_system(), Inkscape::UI::Dialog::SvgFontsDialog::missing_glyph_description_from_selected_path(), and Inkscape::UI::Dialog::SvgFontsDialog::set_glyph_description_from_selected_path().
|
static |
Case-insensitive and unicode normalized search of pattern
in string
.
pattern
is a substring of string
. Definition at line 155 of file inkscape-preferences.cpp.
References fuzzy_search().
|
static |
Case-insensitive and unicode normalized search of pattern
in string
.
pattern | Text to find | |
string | Text to search in | |
[out] | score | Match score between 0.0 (not found) and 1.0 (pattern == string) |
pattern
is a substring of string
. Definition at line 139 of file inkscape-preferences.cpp.
References Inkscape::size.
Referenced by fuzzy_search(), Inkscape::UI::Dialog::InkscapePreferences::get_next_result(), get_num_matches(), Inkscape::UI::Dialog::InkscapePreferences::get_prev_result(), Inkscape::UI::Dialog::InkscapePreferences::get_widgets_in_grid(), Inkscape::UI::Dialog::InkscapePreferences::goto_first_result(), Inkscape::UI::Dialog::InkscapePreferences::InkscapePreferences(), Inkscape::UI::Dialog::InkscapePreferences::num_widgets_in_grid(), and Inkscape::UI::Dialog::InkscapePreferences::recursive_filter().
|
static |
Definition at line 2334 of file inkscape-preferences.cpp.
References gamutColorChanged(), Inkscape::Preferences::get(), and Inkscape::Preferences::setString().
Referenced by gamutColorChanged(), and Inkscape::UI::Dialog::InkscapePreferences::initPageIO().
Glib::ustring Inkscape::UI::Dialog::get_category | ( | const std::list< Glib::ustring > & | menu | ) |
Definition at line 170 of file extensions-gallery.cpp.
Referenced by add_categories(), and add_effects().
const Glib::ustring & Inkscape::UI::Dialog::get_category_name | ( | EffectCategory | category | ) |
Definition at line 2565 of file filter-effects-dialog.cpp.
References Colors, Compose, Effect, and Generation.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::add_effects(), and Inkscape::UI::Dialog::LivePathEffectEditor::add_lpes().
const Glib::ustring & Inkscape::UI::Dialog::get_category_name | ( | Inkscape::LivePathEffect::LPECategory | category | ) |
|
static |
Definition at line 1602 of file objects.cpp.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::do_connection_node(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::draw_connection(), get_cell_center(), Inkscape::UI::Dialog::ObjectsPanel::on_click(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_click_released(), and Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::snapshot_vfunc().
|
static |
Definition at line 1610 of file objects.cpp.
References get_cell_area().
Referenced by Inkscape::UI::Dialog::ObjectsPanel::on_click().
|
static |
Definition at line 161 of file inkscape-preferences.cpp.
References Inkscape::UI::get_children().
Referenced by get_num_matches(), Inkscape::UI::Dialog::InkscapePreferences::get_widgets_in_grid(), and Inkscape::UI::Dialog::InkscapePreferences::num_widgets_in_grid().
DialogMultipaned * Inkscape::UI::Dialog::get_dialog_parent | ( | DialogBase * | dialog | ) |
Definition at line 162 of file dialog-container.cpp.
Referenced by Inkscape::UI::Dialog::DialogContainer::new_dialog().
Definition at line 413 of file svg-fonts-dialog.cpp.
References Inkscape::LayerManager::asLayer(), SPObject::children, and item.
Referenced by get_or_create_layer_for_glyph(), and rename_glyph_layer().
|
private |
Definition at line 424 of file document-properties.cpp.
References SPDocument::getRoot(), SVGLength::PERCENT, root, SPViewBox::viewBox, w, and Geom::GenericRect< C >::width().
Referenced by Inkscape::UI::Dialog::DocumentProperties::update_scale_ui().
|
static |
Definition at line 2581 of file filter-effects-dialog.cpp.
References Colors, Compose, Effect, Generation, Inkscape::Filters::NR_FILTER_BLEND, Inkscape::Filters::NR_FILTER_COLORMATRIX, Inkscape::Filters::NR_FILTER_COMPONENTTRANSFER, Inkscape::Filters::NR_FILTER_COMPOSITE, Inkscape::Filters::NR_FILTER_CONVOLVEMATRIX, Inkscape::Filters::NR_FILTER_DIFFUSELIGHTING, Inkscape::Filters::NR_FILTER_DISPLACEMENTMAP, Inkscape::Filters::NR_FILTER_FLOOD, Inkscape::Filters::NR_FILTER_GAUSSIANBLUR, Inkscape::Filters::NR_FILTER_IMAGE, Inkscape::Filters::NR_FILTER_MERGE, Inkscape::Filters::NR_FILTER_MORPHOLOGY, Inkscape::Filters::NR_FILTER_OFFSET, Inkscape::Filters::NR_FILTER_SPECULARLIGHTING, Inkscape::Filters::NR_FILTER_TILE, and Inkscape::Filters::NR_FILTER_TURBULENCE.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::add_effects().
Inkscape::Colors::Color Inkscape::UI::Dialog::get_export_bg_color | ( | SPObject * | object, |
Inkscape::Colors::Color const & | default_color | ||
) |
Definition at line 550 of file export.cpp.
References c, default_color(), and SPObject::getAttribute().
Referenced by Inkscape::UI::Dialog::BatchExport::setDocument(), and Inkscape::UI::Dialog::SingleExport::setDocument().
|
static |
Definition at line 1437 of file filter-effects-dialog.cpp.
References SPObject::getId(), SPObject::label(), and label.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::update_filters().
XML::Node * Inkscape::UI::Dialog::get_first_style_text_node | ( | XML::Node * | root, |
bool | create_if_missing | ||
) |
Get the first <style> element's first text node.
If no such node exists and create_if_missing
is false, then return NULL.
Only finds <style> elements in root or in root-level <defs>.
Definition at line 86 of file styledialog.cpp.
References Inkscape::XML::Node::addChild(), Inkscape::XML::Node::appendChild(), Inkscape::XML::Node::code(), Inkscape::XML::Document::createElement(), Inkscape::XML::Document::createTextNode(), Inkscape::XML::Node::document(), Inkscape::XML::Node::firstChild(), get_first_style_text_node(), Inkscape::XML::Node::next(), node, Inkscape::GC::release(), root, Inkscape::XML::TEXT_NODE, and Inkscape::XML::Node::type().
Referenced by Inkscape::UI::Dialog::SelectorsDialog::_getStyleTextNode(), Inkscape::UI::Dialog::StyleDialog::_getStyleTextNode(), and get_first_style_text_node().
Glib::ustring Inkscape::UI::Dialog::get_font_label | ( | SPFont * | font | ) |
Definition at line 528 of file svg-fonts-dialog.cpp.
References SPObject::getId(), SPObject::label(), and label.
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::edit_glyph(), and Inkscape::UI::Dialog::SvgFontsDialog::update_fonts().
double Inkscape::UI::Dialog::get_font_units_per_em | ( | const SPFont * | font | ) |
Definition at line 1047 of file svg-fonts-dialog.cpp.
References SPObject::children, and get_font_units_per_em().
Referenced by create_path_from_glyph(), get_font_units_per_em(), Inkscape::UI::Dialog::SvgFontsDialog::missing_glyph_description_from_selected_path(), and Inkscape::UI::Dialog::SvgFontsDialog::set_glyph_description_from_selected_path().
Glib::ustring Inkscape::UI::Dialog::get_glyph_full_name | ( | const SPGlyph & | glyph | ) |
Definition at line 383 of file svg-fonts-dialog.cpp.
References get_glyph_synthetic_name(), SPGlyph::glyph_name, and name.
Referenced by change_glyph_attribute(), and Inkscape::UI::Dialog::SvgFontsDialog::edit_glyph().
Glib::ustring Inkscape::UI::Dialog::get_glyph_synthetic_name | ( | const SPGlyph & | glyph | ) |
Definition at line 376 of file svg-fonts-dialog.cpp.
References create_unicode_name(), and SPGlyph::unicode.
Referenced by get_glyph_full_name(), and Inkscape::UI::Dialog::SvgFontsDialog::set_glyph_row().
SPGuide * Inkscape::UI::Dialog::get_guide | ( | SPDocument & | doc, |
const Glib::ustring & | id | ||
) |
Definition at line 742 of file svg-fonts-dialog.cpp.
References SPObject::deleteObject(), get_guide(), and SPDocument::getObjectById().
Referenced by get_guide(), and set_up_typography_canvas().
int Inkscape::UI::Dialog::get_handle_size | ( | ) |
Definition at line 61 of file dialog-multipaned.cpp.
References HANDLE_SIZE.
std::string Inkscape::UI::Dialog::get_key | ( | SPObject * | object | ) |
Definition at line 942 of file object-attributes.cpp.
|
static |
Definition at line 278 of file dialog-container.cpp.
Referenced by Inkscape::UI::Dialog::DialogContainer::get_container_state(), Inkscape::UI::Dialog::ObjectAttributes::get_panel(), Inkscape::UI::Dialog::DialogContainer::load_container_state(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Dialog::DialogContainer::recreate_dialogs_from_state(), and Inkscape::UI::Dialog::DialogContainer::save_container_state().
SPItem * Inkscape::UI::Dialog::get_layer_for_glyph | ( | SPDesktop * | desktop, |
const Glib::ustring & | font, | ||
const Glib::ustring & | name | ||
) |
Definition at line 455 of file svg-fonts-dialog.cpp.
References Inkscape::LayerManager::currentRoot(), desktop, find_layer(), SPDesktop::layerManager(), and name.
Referenced by change_glyph_attribute().
|
static |
Definition at line 50 of file dialog-window.cpp.
Referenced by Inkscape::UI::Dialog::DialogWindow::DialogWindow(), and Inkscape::UI::Dialog::DialogWindow::update_window_size_to_fit_children().
int Inkscape::UI::Dialog::get_min_width | ( | Gtk::Widget * | widget | ) |
Definition at line 1112 of file dialog-multipaned.cpp.
Referenced by Inkscape::UI::Dialog::DialogMultipaned::on_drag_update().
|
static |
Definition at line 756 of file dialog-container.cpp.
References Inkscape::UI::_continue, Inkscape::UI::for_each_page(), Inkscape::UI::Dialog::DialogNotebook::get_notebook(), and page.
Referenced by Inkscape::UI::Dialog::DialogContainer::get_container_state(), and Inkscape::UI::Dialog::DialogContainer::save_container_state().
|
static |
Get number of child Labels that match a key in a widget.
key | Text to find |
widget | Gtk::Widget to search in |
Definition at line 181 of file inkscape-preferences.cpp.
References child, fuzzy_search(), get_children_or_mnemonic_labels(), get_num_matches(), key, and label.
Referenced by Inkscape::UI::Dialog::InkscapePreferences::get_next_result(), get_num_matches(), Inkscape::UI::Dialog::InkscapePreferences::get_prev_result(), Inkscape::UI::Dialog::InkscapePreferences::goto_first_result(), and Inkscape::UI::Dialog::InkscapePreferences::recursive_filter().
std::optional< double > Inkscape::UI::Dialog::get_number | ( | SPItem * | item, |
const char * | attribute | ||
) |
Definition at line 251 of file object-attributes.cpp.
References SPObject::getAttribute(), Inkscape::XML::Node::getAttributeDouble(), SPObject::getRepr(), and item.
SPItem * Inkscape::UI::Dialog::get_or_create_layer_for_glyph | ( | SPDesktop * | desktop, |
const Glib::ustring & | font, | ||
const Glib::ustring & | name | ||
) |
Definition at line 464 of file svg-fonts-dialog.cpp.
References Inkscape::create_layer(), desktop, Inkscape::DocumentUndo::done(), find_layer(), get_direct_sublayers(), SPDesktop::getDocument(), SPDesktop::layerManager(), Inkscape::LPOS_ABOVE, Inkscape::LPOS_BELOW, Inkscape::LPOS_CHILD, and name.
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::edit_glyph().
Glib::RefPtr< Gtk::PrintSettings > & Inkscape::UI::Dialog::get_printer_settings | ( | ) |
Definition at line 42 of file print.cpp.
Referenced by Inkscape::UI::Dialog::Print::run().
std::size_t Inkscape::UI::Dialog::get_resource_count | ( | details::Statistics const & | stats, |
Resources const | rsrc | ||
) |
Definition at line 139 of file document-resources.cpp.
References Colors, Inkscape::UI::Dialog::details::Statistics::colors, External, Inkscape::UI::Dialog::details::Statistics::external_uris, Filters, Inkscape::UI::Dialog::details::Statistics::filters, Fonts, Inkscape::UI::Dialog::details::Statistics::fonts, Gradients, Inkscape::UI::Dialog::details::Statistics::gradients, Images, Inkscape::UI::Dialog::details::Statistics::images, Markers, Inkscape::UI::Dialog::details::Statistics::markers, Metadata, Inkscape::UI::Dialog::details::Statistics::metadata, Patterns, Inkscape::UI::Dialog::details::Statistics::patterns, Stats, Styles, Inkscape::UI::Dialog::details::Statistics::styles, Swatches, Inkscape::UI::Dialog::details::Statistics::swatches, Symbols, and Inkscape::UI::Dialog::details::Statistics::symbols.
Referenced by get_resource_count(), is_resource_present(), and Inkscape::UI::Dialog::DocumentResources::rebuild_stats().
std::size_t Inkscape::UI::Dialog::get_resource_count | ( | std::string const & | id, |
details::Statistics const & | stats | ||
) |
Definition at line 170 of file document-resources.cpp.
References Inkscape::UI::end, g_id_to_resource, and get_resource_count().
|
static |
Definition at line 199 of file about.cpp.
References Inkscape::IO::Resource::DOCS, and Inkscape::IO::Resource::get_filename().
Referenced by show_about().
void Inkscape::UI::Dialog::get_start_directory | ( | std::string & | start_path, |
Glib::ustring const & | prefs_path, | ||
bool | try_document_dir | ||
) |
Find the start directory for a file dialog.
Definition at line 22 of file choose-file-utils.cpp.
References Inkscape::Preferences::get(), Inkscape::Preferences::getString(), and prefs_path.
Referenced by Inkscape::UI::Dialog::DocumentProperties::browseExternalScript(), Inkscape::choose_file_open_images(), Inkscape::UI::Dialog::StartScreen::load_document(), Inkscape::UI::Widget::PrefEditFolder::onChangeButtonClickedCallback(), and Inkscape::UI::Widget::PrefEntryFileButtonHBox::onRelatedButtonClickedCallback().
Geom::Point Inkscape::UI::Dialog::get_thumbnail_size | ( | int | index, |
ExtensionsGallery::Type | type | ||
) |
Definition at line 554 of file extensions-gallery.cpp.
References Inkscape::UI::Dialog::ExtensionsGallery::Effects, Inkscape::UI::Widget::height, index, and Inkscape::size.
Referenced by Inkscape::UI::Dialog::ExtensionsGallery::get_image().
Glib::ustring Inkscape::UI::Dialog::get_tool_action_name | ( | Glib::ustring | toolname | ) |
Definition at line 899 of file inkscape-preferences.cpp.
References get_tool_action_name(), and InkscapeApplication::instance().
Referenced by get_tool_action_name(), and Inkscape::UI::Dialog::InkscapePreferences::initPageTools().
|
static |
Returns the selected anchor point in desktop coordinates.
If anchor is 0 to 8, then a bounding box point has been chosen. If it is 9 however the rotational center is chosen.
Definition at line 205 of file polar-arrange-tab.cpp.
References SPDocument::doc2dt(), SPObject::document, SPItem::documentVisualBounds(), SPItem::getCenter(), item, Geom::X, and Geom::Y.
Referenced by moveToPoint().
|
static |
Definition at line 208 of file glyphs.cpp.
Referenced by Inkscape::UI::Dialog::GlyphsPanel::GlyphsPanel(), and Inkscape::UI::Dialog::GlyphsPanel::rebuild().
|
static |
Definition at line 41 of file glyphs.cpp.
References mappings.
Referenced by Inkscape::UI::Dialog::GlyphsPanel::glyphSelectionChanged(), Inkscape::UI::Dialog::GlyphsPanel::GlyphsPanel(), and Inkscape::UI::Dialog::GlyphsPanel::rebuild().
|
static |
Definition at line 3210 of file inkscape-preferences.cpp.
References Inkscape::Shortcuts::get_file_names(), and getShortcutsFileLabelsAndValues().
Referenced by getShortcutsFileLabelsAndValues(), and Inkscape::UI::Dialog::InkscapePreferences::initKeyboardShortcuts().
|
static |
bool Inkscape::UI::Dialog::has_external_ref | ( | SPObject & | obj | ) |
Definition at line 736 of file document-resources.cpp.
References Inkscape::getHrefAttribute(), and SPObject::getRepr().
Referenced by collect_statistics(), and Inkscape::UI::Dialog::DocumentResources::refresh_page().
Resources Inkscape::UI::Dialog::id_to_resource | ( | const std::string & | id | ) |
Definition at line 163 of file document-resources.cpp.
References Inkscape::UI::end, g_id_to_resource, and Stats.
Referenced by Inkscape::UI::Dialog::DocumentResources::refresh_page().
|
static |
Definition at line 114 of file filter-effects-dialog.cpp.
References SPObject::children.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::do_connection_node(), Inkscape::UI::Dialog::FilterEffectsDialog::CellRendererConnection::get_preferred_height_vfunc(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_click_pressed(), and Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::snapshot_vfunc().
|
static |
Definition at line 3497 of file inkscape-preferences.cpp.
References _kb_columns, child, is_leaf_visible(), and name.
Referenced by is_leaf_visible(), and Inkscape::UI::Dialog::InkscapePreferences::onKBSearchFilter().
bool Inkscape::UI::Dialog::is_resource_present | ( | std::string const & | id, |
details::Statistics const & | stats | ||
) |
Definition at line 178 of file document-resources.cpp.
References get_resource_count().
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources(), and Inkscape::UI::Dialog::DocumentResources::refresh_current_page().
|
static |
Definition at line 313 of file styledialog.cpp.
Referenced by Inkscape::UI::Dialog::StyleDialog::readStyleElement().
|
static |
Like SPDesktop::isLayer(), but ignores SPGroup::effectiveLayerMode().
Definition at line 344 of file xml-tree.cpp.
References SPGroup::LAYER.
Referenced by Inkscape::UI::Dialog::XmlTree::set_dt_select().
PaletteResult Inkscape::UI::Dialog::load_palette | ( | std::string const & | path | ) |
Definition at line 350 of file global-palettes.cpp.
References Inkscape::UI::Dialog::PaletteFileData::id.
Referenced by Inkscape::UI::Dialog::GlobalPalettes::GlobalPalettes(), and Inkscape::UI::Dialog::SwatchesPanel::load_swatches().
Glib::ustring Inkscape::UI::Dialog::make_bold | ( | const Glib::ustring & | search | ) |
Color addition.
Definition at line 596 of file command-palette.cpp.
|
static |
Definition at line 653 of file swatches.cpp.
References Inkscape::UI::Widget::palette_t::colors, Inkscape::UI::ellipsize(), item, label, make_selector_item(), and Inkscape::UI::Widget::palette_t::name.
Referenced by make_selector_item(), and Inkscape::UI::Dialog::SwatchesPanel::update_selector_menu().
|
static |
Moves an SPItem to a given location, the location is based on the given anchor point.
anchor | 0 to 8 are the various bounding box points like follows: 0 1 2 3 4 5 6 7 8 Anchor mode 9 is the rotational center of the object |
item | Item to move |
p | point at which to move the object |
Definition at line 267 of file polar-arrange-tab.cpp.
References getAnchorPoint(), item, and SPItem::move_rel().
Referenced by Inkscape::UI::Dialog::PolarArrangeTab::arrange().
SPFont * Inkscape::UI::Dialog::new_font | ( | SPDocument * | document | ) |
Definition at line 1594 of file svg-fonts-dialog.cpp.
References Inkscape::XML::Node::appendChild(), Inkscape::XML::Document::createElement(), SPDocument::getDefs(), SPDocument::getObjectByRepr(), SPObject::getRepr(), SPDocument::getReprDoc(), new_font(), Inkscape::GC::release(), and Inkscape::XML::Node::setAttribute().
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::add_font(), and new_font().
bool Inkscape::UI::Dialog::number_or_empy | ( | const Glib::ustring & | text | ) |
Definition at line 3069 of file filter-effects-dialog.cpp.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::image_x_changed(), and Inkscape::UI::Dialog::FilterEffectsDialog::image_y_changed().
|
static |
Definition at line 221 of file inkscape-preferences.cpp.
References _kb_columns.
Referenced by Inkscape::UI::Dialog::InkscapePreferences::onKBShortcutRenderer().
|
static |
Definition at line 376 of file icon-preview.cpp.
References Inkscape::UI::Widget::height, stride, and width.
Referenced by sp_icon_doc_icon().
const std::vector< Inkscape::Extension::Effect * > Inkscape::UI::Dialog::prepare_effects | ( | const std::vector< Inkscape::Extension::Effect * > & | effects, |
bool | get_effects | ||
) |
Definition at line 158 of file extensions-gallery.cpp.
Referenced by Inkscape::UI::Dialog::ExtensionsGallery::ExtensionsGallery().
|
static |
Prepare value string suitable for display in a Gtk::CellRendererText.
Value is truncated at the first new line character (if any) and a visual indicator and ellipsis is added. Overall length is limited as well to prevent performance degradation for very long values.
value | Raw attribute value as UTF-8 encoded string |
Definition at line 312 of file attrdialog.cpp.
Referenced by Inkscape::UI::Dialog::AttrDialog::notifyAttributeChanged(), and Inkscape::UI::Dialog::AttrDialog::valueEdited().
|
static |
Definition at line 2308 of file inkscape-preferences.cpp.
References Inkscape::Colors::CMS::System::get(), Inkscape::Preferences::get(), profileComboChanged(), and Inkscape::Preferences::setString().
Referenced by Inkscape::UI::Dialog::InkscapePreferences::initPageIO(), and profileComboChanged().
|
static |
Definition at line 2324 of file inkscape-preferences.cpp.
References Inkscape::Colors::CMS::System::get(), Inkscape::Preferences::get(), proofComboChanged(), and Inkscape::Preferences::setString().
Referenced by Inkscape::UI::Dialog::InkscapePreferences::initPageIO(), and proofComboChanged().
|
static |
Definition at line 40 of file dialog-base.cpp.
References name.
Referenced by Inkscape::UI::Dialog::DialogBase::DialogBase().
void Inkscape::UI::Dialog::remove_lpeffect | ( | SPLPEItem * | item, |
LivePathEffect::EffectType | type | ||
) |
Definition at line 242 of file object-attributes.cpp.
References SPObject::document, Inkscape::DocumentUndo::done(), find_lpeffect(), and item.
void Inkscape::UI::Dialog::rename_glyph_layer | ( | SPDesktop * | desktop, |
SPItem * | layer, | ||
const Glib::ustring & | font, | ||
const Glib::ustring & | name | ||
) |
Definition at line 426 of file svg-fonts-dialog.cpp.
References Inkscape::XML::Node::changeOrder(), Inkscape::LayerManager::currentRoot(), desktop, find_layer(), get_direct_sublayers(), SPObject::getRepr(), SPDesktop::layerManager(), name, and Inkscape::LayerManager::renameLayer().
Referenced by change_glyph_attribute().
Cairo::RefPtr< Cairo::Surface > Inkscape::UI::Dialog::render_color | ( | uint32_t | rgb, |
double | size, | ||
double | radius, | ||
int | device_scale | ||
) |
Definition at line 629 of file document-resources.cpp.
References Inkscape::add_background_to_image(), rgb, and Inkscape::size.
Referenced by add_colors().
Cairo::RefPtr< Cairo::Surface > Inkscape::UI::Dialog::render_icon | ( | Extension::Effect * | effect, |
std::string | icon, | ||
Geom::Point | icon_size, | ||
int | device_scale | ||
) |
Definition at line 177 of file extensions-gallery.cpp.
References add_shadow(), Inkscape::Extension::Effect::apply_filter(), Inkscape::IO::file_test(), Inkscape::svg_renderer::get_height_px(), Inkscape::Extension::Extension::get_id(), Inkscape::svg_renderer::get_width_px(), image, ink_file_open(), item, Inkscape::svg_renderer::render_surface(), scale, Inkscape::svg_renderer::set_scale(), w, Geom::Point::x(), and Geom::Point::y().
Referenced by Inkscape::UI::Dialog::ExtensionsGallery::get_image().
|
static |
Definition at line 122 of file inkscape-preferences.cpp.
References image.
Referenced by Inkscape::UI::Dialog::InkscapePreferences::initPageIO(), Inkscape::UI::Dialog::InkscapePreferences::initPageSystem(), and Inkscape::UI::Dialog::InkscapePreferences::initPageUI().
double Inkscape::UI::Dialog::reveal_curve | ( | double | val, |
double | size | ||
) |
Definition at line 1125 of file dialog-multipaned.cpp.
References Inkscape::size.
Referenced by Inkscape::UI::Dialog::DialogMultipaned::on_drag_update().
|
static |
This function rotates an item around a given point by a given amount.
item | item to rotate |
center | center of the rotation to perform |
rotation | amount to rotate the object by |
Definition at line 150 of file polar-arrange-tab.cpp.
References SPItem::doWriteTransform(), SPItem::getCenter(), SPItem::i2dt_affine(), Geom::Affine::inverse(), SPItem::isCenterSet(), item, SPItem::set_i2d_affine(), SPItem::setCenter(), SPItem::transform, and SPObject::updateRepr().
Referenced by Inkscape::UI::Dialog::PolarArrangeTab::arrange().
std::tuple< bool, double, double > Inkscape::UI::Dialog::round_values | ( | double | x, |
double | y | ||
) |
Definition at line 224 of file object-attributes.cpp.
Referenced by round_values().
std::tuple< bool, double, double > Inkscape::UI::Dialog::round_values | ( | Gtk::SpinButton & | x, |
Gtk::SpinButton & | y | ||
) |
Definition at line 230 of file object-attributes.cpp.
References round_values().
void Inkscape::UI::Dialog::rounded_rectangle | ( | const Cairo::RefPtr< Cairo::Context > & | cr, |
double | x, | ||
double | y, | ||
double | w, | ||
double | h, | ||
double | r | ||
) |
Definition at line 267 of file dialog-multipaned.cpp.
References rounded_rectangle(), and w.
Referenced by rounded_rectangle().
|
private |
Cleans up name to remove disallowed characters.
Some discussion at http://markmail.org/message/bhfvdfptt25kgtmj Allowed ASCII first characters: ':', 'A'-'Z', '_', 'a'-'z' Allowed ASCII remaining chars add: '-', '.', '0'-'9',
str | the string to clean up. |
Note: for use with ICC profiles only. This function has been restored to make ICC profiles work, as their names need to be sanitized. BUT, it is not clear to me whether we really need to strip all non-ASCII characters. We do it currently, because sp_svg_read_icc_color cannot parse Unicode.
Definition at line 679 of file document-properties.cpp.
void Inkscape::UI::Dialog::save_gimp_palette | ( | std::string | fname, |
const std::vector< int > & | colors, | ||
const char * | name | ||
) |
Definition at line 189 of file document-resources.cpp.
Referenced by extract_colors().
void Inkscape::UI::Dialog::save_wnd_position | ( | Glib::KeyFile * | keyfile, |
const Glib::ustring & | group_name, | ||
const window_position_t * | position | ||
) |
Definition at line 745 of file dialog-container.cpp.
References Inkscape::UI::Dialog::window_position_t::height, Inkscape::UI::Dialog::window_position_t::width, Inkscape::UI::Dialog::window_position_t::x, and Inkscape::UI::Dialog::window_position_t::y.
Referenced by Inkscape::UI::Dialog::DialogContainer::get_container_state(), and Inkscape::UI::Dialog::DialogContainer::save_container_state().
|
private |
Definition at line 303 of file document-properties.cpp.
References SPNamedView::change_color(), desktop, SPDesktop::getDocument(), SPDesktop::getNamedView(), Inkscape::DocumentUndo::maybeDone(), and SPDocument::setModifiedSinceSave().
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_page().
|
private |
Definition at line 311 of file document-properties.cpp.
References desktop, Inkscape::DocumentUndo::done(), SPDocument::fitToRect(), SPDesktop::getDocument(), SPDocument::getHeight(), SPDocument::getNamedView(), SPDocument::getRoot(), SPNamedView::guides, Inkscape::UI::Widget::height, SPDocument::is_yaxisdown(), SPDocument::setWidthAndHeight(), SPGroup::translateChildItems(), Inkscape::Util::Quantity::value(), and width.
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_page().
|
private |
Definition at line 370 of file document-properties.cpp.
References Geom::GenericRect< Coord >::from_xywh(), SPDocument::getRoot(), SPDocument::getViewBox(), root, scale, SPDocument::setViewBox(), Geom::X, and Geom::Y.
Referenced by Inkscape::UI::Dialog::DocumentProperties::set_document_scale().
void Inkscape::UI::Dialog::set_export_bg_color | ( | SPObject * | object, |
Inkscape::Colors::Color const & | color | ||
) |
Definition at line 544 of file export.cpp.
References Inkscape::Colors::Color::toString().
Referenced by Inkscape::UI::Dialog::BatchExport::setup(), and Inkscape::UI::Dialog::SingleExport::setup().
void Inkscape::UI::Dialog::set_font_family | ( | SPFont * | font, |
char * | str | ||
) |
Definition at line 1636 of file svg-fonts-dialog.cpp.
References SPObject::children, SPObject::document, Inkscape::DocumentUndo::done(), and set_font_family().
Referenced by set_font_family().
|
static |
Definition at line 496 of file command-palette.cpp.
Referenced by Inkscape::UI::Dialog::CommandPalette::ask_action_parameter(), and Inkscape::UI::Dialog::CommandPalette::set_mode().
void Inkscape::UI::Dialog::set_mono_class | ( | Gtk::Widget * | widget, |
bool | mono | ||
) |
Definition at line 334 of file attrdialog.cpp.
Referenced by Inkscape::UI::Dialog::AttrDialog::set_mono_font().
|
private |
Definition at line 294 of file document-properties.cpp.
References SPNamedView::change_bool_setting(), desktop, Inkscape::DocumentUndo::done(), SPDesktop::getDocument(), SPDesktop::getNamedView(), key, and SPDocument::setModifiedSinceSave().
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_page().
|
static |
Definition at line 1058 of file command-palette.cpp.
Referenced by Inkscape::UI::Dialog::CommandPalette::set_mode(), Inkscape::UI::Dialog::DialogBase::setDesktop(), Inkscape::UI::Dialog::SingleExport::setExporting(), Inkscape::UI::Dialog::BatchExport::setExporting(), and Inkscape::UI::Dialog::GlyphMenuButton::update().
void Inkscape::UI::Dialog::set_up_typography_canvas | ( | SPDocument * | document, |
double | em, | ||
double | asc, | ||
double | cap, | ||
double | xheight, | ||
double | des | ||
) |
Definition at line 760 of file svg-fonts-dialog.cpp.
References create_guide(), Inkscape::DocumentUndo::done(), Geom::GenericRect< Coord >::from_xywh(), get_guide(), SPDocument::is_yaxisdown(), name, set_up_typography_canvas(), SPDocument::setViewBox(), SPDocument::setWidthAndHeight(), and Inkscape::size.
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::global_settings_tab(), and set_up_typography_canvas().
|
static |
Definition at line 275 of file livepatheffect-editor.cpp.
References image, and visible.
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::effect_list_reload(), and Inkscape::UI::Dialog::LivePathEffectEditor::toggleVisible().
void Inkscape::UI::Dialog::show_about | ( | ) |
Definition at line 212 of file about.cpp.
References Inkscape::append(), builder, Inkscape::UI::create_builder(), Inkscape::debug_info(), Inkscape::IO::Resource::DOCS, Inkscape::IO::Resource::get_filename(), get_shuffled_lines(), Inkscape::inkscape_build_year(), Inkscape::inkscape_version(), label, and rd.
Referenced by help_about().
|
static |
Definition at line 86 of file livepatheffect-editor.cpp.
References favs_path, Inkscape::Preferences::get(), Inkscape::Preferences::getString(), Inkscape::Preferences::setString(), and sp_has_fav().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::do_item_action_favorite().
|
static |
Definition at line 79 of file livepatheffect-editor.cpp.
References favs_path, Inkscape::Preferences::get(), and Inkscape::Preferences::getString().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::add_item_actions(), Inkscape::UI::Dialog::LivePathEffectEditor::setMenu(), sp_add_fav(), and sp_remove_fav().
|
static |
Definition at line 433 of file icon-preview.cpp.
References Geom::GenericRect< C >::bottom(), SPItem::documentVisualBounds(), Inkscape::UI::Widget::dx, Geom::GenericRect< C >::from_xywh(), Inkscape::Preferences::get(), Inkscape::Preferences::getBool(), Inkscape::PageManager::getDefaultBackgroundColor(), SPDocument::getObjectById(), SPDocument::getPageManager(), Geom::GenericRect< C >::height(), Inkscape::UI::Widget::height, Geom::intersect(), item, Geom::GenericRect< C >::left(), Geom::GenericRect< C >::min(), name, overlayPixels(), SPObject::parent, SPDocument::preferredBounds(), Inkscape::Drawing::render(), Geom::GenericRect< C >::right(), Inkscape::Drawing::root(), Inkscape::DrawingItem::setTransform(), Geom::GenericRect< C >::top(), Inkscape::Drawing::update(), Geom::GenericRect< C >::width(), and width.
Referenced by Inkscape::UI::Dialog::IconPreviewPanel::renderPreview().
|
static |
Definition at line 96 of file livepatheffect-editor.cpp.
References favs_path, Inkscape::Preferences::get(), Inkscape::Preferences::getString(), Inkscape::Preferences::setString(), and sp_has_fav().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::do_item_action_favorite().
bool Inkscape::UI::Dialog::sp_set_experimental | ( | bool & | _experimental | ) |
Definition at line 110 of file livepatheffect-editor.cpp.
References Inkscape::Preferences::get(), and Inkscape::Preferences::getBool().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::LivePathEffectEditor(), and Inkscape::UI::Dialog::LivePathEffectEditor::setMenu().
gboolean Inkscape::UI::Dialog::sp_styledialog_store_move_to_next | ( | gpointer | data | ) |
Definition at line 1215 of file styledialog.cpp.
References Inkscape::UI::Dialog::StyleDialog::_current_css_tree, Inkscape::UI::Dialog::StyleDialog::_current_path, Inkscape::UI::Dialog::StyleDialog::_current_value_col, and data.
Referenced by Inkscape::UI::Dialog::StyleDialog::_nameEdited().
|
static |
Definition at line 808 of file inkscape-preferences.cpp.
References css, desktop, Inkscape::ERROR_MESSAGE, Inkscape::MessageStack::flash(), Inkscape::Preferences::get(), Inkscape::Preferences::getInheritedStyle(), SPDesktop::getSelection(), Inkscape::ObjectSet::isEmpty(), item, SPDesktop::messageStack(), prefs_path, Inkscape::Preferences::setStyle(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::ObjectSet::singleItem(), sp_css_attr_unset_blacklist(), sp_css_attr_unset_text(), sp_css_attr_unset_uris(), sp_repr_css_attr_unref(), StyleFromSelectionToTool(), and take_style_from_item().
Referenced by Inkscape::UI::Dialog::InkscapePreferences::AddNewObjectsStyle(), and StyleFromSelectionToTool().
|
static |
Definition at line 465 of file swatches.cpp.
References c, Inkscape::UI::Dialog::PaletteFileData::colors, Inkscape::UI::Widget::palette_t::colors, Inkscape::UI::Dialog::PaletteFileData::id, Inkscape::UI::Widget::palette_t::id, Inkscape::UI::Dialog::PaletteFileData::name, Inkscape::UI::Widget::palette_t::name, Inkscape::Colors::Space::RGB, and rgb.
Referenced by Inkscape::UI::Dialog::SwatchesPanel::update_loaded_palette_entry(), and Inkscape::UI::Dialog::SwatchesPanel::update_palettes().
|
static |
Definition at line 1287 of file dialog-multipaned.cpp.
References find_dialog_notebook(), find_dialog_page(), page, and Inkscape::UI::Widget::TabStrip::unpack_drop_source().
Referenced by Inkscape::UI::Dialog::DialogMultipaned::on_append_drag_data(), Inkscape::UI::Dialog::DialogMultipaned::on_drag_data_drop(), and Inkscape::UI::Dialog::DialogMultipaned::on_prepend_drag_data().
|
static |
Definition at line 694 of file livepatheffect-editor.cpp.
References update_before_after_classes().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::effect_list_reload(), and update_before_after_classes().
bool Inkscape::UI::Dialog::vector_contains | ( | std::vector< T > const & | haystack, |
U const & | needle | ||
) |
Definition at line 876 of file selectorsdialog.cpp.
References Inkscape::UI::end, and vector_contains().
Referenced by Inkscape::UI::Dialog::SelectorsDialog::_addSelector(), Inkscape::UI::Dialog::SelectorsDialog::_insertClass(), and vector_contains().
|
static |
Definition at line 2231 of file filter-effects-dialog.cpp.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_click_pressed(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_click_released(), and Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_motion_motion().
ModelColumns Inkscape::UI::Dialog::_kb_columns |
Definition at line 220 of file inkscape-preferences.cpp.
Referenced by Inkscape::UI::Dialog::InkscapePreferences::initKeyboardShortcuts(), is_leaf_visible(), onKBGetCols(), Inkscape::UI::Dialog::InkscapePreferences::onKBListKeyboardShortcuts(), Inkscape::UI::Dialog::InkscapePreferences::onKBTreeCleared(), and Inkscape::UI::Dialog::InkscapePreferences::onKBTreeEdited().
|
static |
Definition at line 79 of file object-attributes.cpp.
|
staticconstexpr |
Definition at line 73 of file swatches.cpp.
Referenced by Inkscape::UI::Dialog::SwatchesPanel::_update(), Inkscape::UI::Dialog::SwatchesPanel::documentReplaced(), Inkscape::UI::Dialog::SwatchesPanel::rebuild(), Inkscape::UI::Dialog::SwatchesPanel::select_palette(), Inkscape::UI::Dialog::SwatchesPanel::SwatchesPanel(), and Inkscape::UI::Dialog::SwatchesPanel::update_palettes().
|
constexpr |
Definition at line 336 of file document-resources.cpp.
Referenced by Inkscape::UI::Dialog::DocumentResources::rebuild_stats().
|
constexpr |
Definition at line 335 of file document-resources.cpp.
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources().
|
constexpr |
Definition at line 334 of file document-resources.cpp.
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources(), and Inkscape::UI::Dialog::DocumentResources::rebuild_stats().
|
constexpr |
Definition at line 333 of file document-resources.cpp.
Referenced by Inkscape::UI::Dialog::DocumentResources::DocumentResources().
const char Inkscape::UI::Dialog::dialogs_state[] = "dialogs-state-ex.ini" |
Definition at line 151 of file dialog-manager.cpp.
Referenced by Inkscape::UI::Dialog::DialogManager::restore_dialogs_state(), and Inkscape::UI::Dialog::DialogManager::save_dialogs_state().
const auto Inkscape::UI::Dialog::dlg_pref_path = Glib::ustring("/dialogs/object-properties/") |
Definition at line 97 of file object-attributes.cpp.
|
inlineconstexpr |
Definition at line 47 of file export-lists.h.
Referenced by Inkscape::UI::Dialog::SingleExport::setupSpinButtons().
|
staticconstexpr |
Definition at line 77 of file livepatheffect-editor.cpp.
Referenced by sp_add_fav(), sp_has_fav(), and sp_remove_fav().
Inkscape::UI::Dialog::CategoriesColumns Inkscape::UI::Dialog::g_categories_columns |
Referenced by add_categories(), and Inkscape::UI::Dialog::ExtensionsGallery::ExtensionsGallery().
std::map<std::type_index, std::function<Glib::ustring (const SPObject&)> > Inkscape::UI::Dialog::g_get_label |
Definition at line 299 of file document-resources.cpp.
Referenced by Inkscape::UI::Dialog::DocumentResources::end_editing().
const std::unordered_map<std::string, Resources> Inkscape::UI::Dialog::g_id_to_resource |
Definition at line 121 of file document-resources.cpp.
Referenced by get_resource_count(), and id_to_resource().
std::map<std::type_index, std::function<void (SPObject&, const Glib::ustring&)> > Inkscape::UI::Dialog::g_set_label |
Definition at line 312 of file document-resources.cpp.
Referenced by Inkscape::UI::Dialog::DocumentResources::end_editing().
auto Inkscape::UI::Dialog::get_id = [](const SPObject* object) { auto id = object->getId(); return id ? id : ""; } |
Definition at line 926 of file document-resources.cpp.
Referenced by _add_items_with_images(), and add_refs().
|
staticconstexpr |
Definition at line 1045 of file livepatheffect-editor.cpp.
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::add_item_actions().
|
static |
Definition at line 1046 of file livepatheffect-editor.cpp.
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::add_item_actions(), and Inkscape::UI::Dialog::LivePathEffectEditor::enable_item_action().
auto Inkscape::UI::Dialog::label_fmt = [](const char* label, const Glib::ustring& id) { return label && *label ? label : '#' + id; } |
Definition at line 927 of file document-resources.cpp.
Referenced by _add_items_with_images(), and add_refs().
const int Inkscape::UI::Dialog::MARGIN_SPACE = 4 |
|
constexpr |
Definition at line 109 of file filter-effects-dialog.cpp.
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::init_settings_widgets().
|
constexpr |
Definition at line 87 of file attrdialog.cpp.
Referenced by Inkscape::UI::Dialog::AttrDialog::adjust_popup_edit_size(), and Inkscape::UI::Dialog::AttrDialog::AttrDialog().
|
constexpr |
Definition at line 88 of file attrdialog.cpp.
Referenced by Inkscape::UI::Dialog::AttrDialog::startValueEdit().
|
static |
Definition at line 89 of file clonetiler.cpp.
Referenced by Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::CloneTiler::checkbox(), Inkscape::UI::Dialog::CloneTiler::checkbox_toggled(), Inkscape::UI::Dialog::CloneTiler::CloneTiler(), Inkscape::UI::Dialog::CloneTiler::do_pick_toggled(), Inkscape::UI::Dialog::CloneTiler::fill_height_changed(), Inkscape::UI::Dialog::CloneTiler::fill_width_changed(), get_start_directory(), Inkscape::UI::Dialog::CloneTiler::keep_bbox_toggled(), Inkscape::UI::Dialog::CloneTiler::on_picker_color_changed(), Inkscape::UI::Dialog::CloneTiler::pick_switched(), Inkscape::UI::Dialog::CloneTiler::pick_to(), Inkscape::UI::Dialog::CloneTiler::spinbox(), Inkscape::UI::Dialog::CloneTiler::switch_to_create(), Inkscape::UI::Dialog::CloneTiler::switch_to_fill(), Inkscape::UI::Dialog::CloneTiler::symgroup_changed(), Inkscape::UI::Dialog::CloneTiler::unit_changed(), Inkscape::UI::Dialog::CloneTiler::value_changed(), and Inkscape::UI::Dialog::CloneTiler::xy_changed().
|
static |
Definition at line 111 of file filter-effects-dialog.cpp.
const char Inkscape::UI::Dialog::save_dialog_position[] = "/options/savedialogposition/value" |
Definition at line 152 of file dialog-manager.cpp.
Referenced by Inkscape::UI::Dialog::DialogManager::restore_dialogs_state(), and Inkscape::UI::Dialog::DialogManager::save_dialogs_state().
|
staticconstexpr |
Definition at line 86 of file clonetiler.cpp.
Referenced by Inkscape::UI::Dialog::CloneTiler::CloneTiler(), and Inkscape::UI::Dialog::CloneTiler::spinbox().
Gdk::RGBA Inkscape::UI::Dialog::selection_color |
Definition at line 413 of file objects.cpp.
Referenced by Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel().
|
inlineconstexpr |
Definition at line 48 of file export-lists.h.
Referenced by Inkscape::UI::Dialog::SingleExport::areaXChange(), Inkscape::UI::Dialog::SingleExport::areaYChange(), and Inkscape::UI::Dialog::SingleExport::dpiChange().
|
staticconstexprprivate |
Definition at line 147 of file document-properties.cpp.
Referenced by attach_all(), Inkscape::UI::Dialog::DocumentProperties::build_cms(), and Inkscape::UI::Dialog::DocumentProperties::build_scripting().
|
staticconstexprprivate |
Definition at line 148 of file document-properties.cpp.
Referenced by attach_all(), Inkscape::UI::Dialog::DocumentProperties::build_cms(), and Inkscape::UI::Dialog::DocumentProperties::build_scripting().
|
constexpr |
Definition at line 89 of file attrdialog.cpp.
Referenced by Inkscape::UI::Dialog::AttrDialog::adjust_popup_edit_size(), and Inkscape::UI::Dialog::AttrDialog::init_text_view().
|
static |
Definition at line 94 of file clonetiler.cpp.
Referenced by Inkscape::UI::Dialog::CloneTiler::trace_finish(), and Inkscape::UI::Dialog::CloneTiler::trace_setup().
|
static |
|
static |
Definition at line 92 of file clonetiler.cpp.
Referenced by Inkscape::UI::Dialog::CloneTiler::trace_finish(), Inkscape::UI::Dialog::CloneTiler::trace_hide_tiled_clones_recursively(), and Inkscape::UI::Dialog::CloneTiler::trace_setup().
|
static |
Definition at line 93 of file clonetiler.cpp.
Referenced by Inkscape::UI::Dialog::CloneTiler::trace_pick(), and Inkscape::UI::Dialog::CloneTiler::trace_setup().
const char Inkscape::UI::Dialog::transient_group[] = "transient" |
Definition at line 153 of file dialog-manager.cpp.
Referenced by Inkscape::UI::Dialog::DialogManager::load_transient_state(), and Inkscape::UI::Dialog::DialogManager::save_dialogs_state().
|
staticconstexpr |
Definition at line 87 of file clonetiler.cpp.
Referenced by Inkscape::UI::Dialog::CloneTiler::checkbox(), Inkscape::UI::Dialog::CloneTiler::CloneTiler(), Inkscape::UI::Dialog::CloneTiler::new_tab(), and Inkscape::UI::Dialog::CloneTiler::table_x_y_rand().