Searched refs:method (Results 1 - 18 of 18) sorted by relevance

/inkscape/src/extension/
H A Dsystem.h56 * Determine the desired default file extension depending on the given file save method.
59 * @param method the file save method of the dialog
62 Glib::ustring get_file_save_extension (FileSaveMethod method);
68 * @param method the file save method of the dialog
72 Glib::ustring get_file_save_path (SPDocument *doc, FileSaveMethod method);
78 * @param method the file save mathod of the dialog
80 void store_file_extension_in_prefs (Glib::ustring extension, FileSaveMethod method);
86 * @param method th
[all...]
H A Dsystem.cpp584 get_file_save_extension (Inkscape::Extension::FileSaveMethod method) { argument
587 switch (method) {
611 get_file_save_path (SPDocument *doc, FileSaveMethod method) { argument
615 switch (method) {
663 store_file_extension_in_prefs (Glib::ustring extension, FileSaveMethod method) { argument
665 switch (method) {
681 store_save_path_in_prefs (Glib::ustring path, FileSaveMethod method) { argument
683 switch (method) {
/inkscape/src/ui/tool/
H A Dmulti-path-manipulator.h84 void invokeForAll(R (PathManipulator::*method)()) {
86 ((i->second.get())->*method)();
90 void invokeForAll(R (PathManipulator::*method)(A), A a) {
92 ((i->second.get())->*method)(a);
96 void invokeForAll(R (PathManipulator::*method)(A const &), A const &a) {
98 ((i->second.get())->*method)(a);
102 void invokeForAll(R (PathManipulator::*method)(A,B), A a, B b) {
104 ((i->second.get())->*method)(a, b);
H A Dmanipulator.h119 /** Invoke a method on all managed manipulators.
124 void invokeForAll(R (T::*method)()) {
126 ((i->second.get())->*method)();
130 void invokeForAll(R (T::*method)(A), A a) {
132 ((i->second.get())->*method)(a);
136 void invokeForAll(R (T::*method)(A const &), A const &a) {
138 ((i->second.get())->*method)(a);
142 void invokeForAll(R (T::*method)(A,B), A a, B b) {
144 ((i->second.get())->*method)(a, b);
/inkscape/src/live_effects/
H A Dlpe-dynastroke.h48 EnumParam<DynastrokeMethod> method; member in class:Inkscape::LivePathEffect::LPEDynastroke
H A Dlpe-fillet-chamfer.h69 EnumParam<FilletMethod> method; member in class:Inkscape::LivePathEffect::LPEFilletChamfer
H A Dlpe-roughen.h56 EnumParam<DivisionMethod> method; member in class:Inkscape::LivePathEffect::LPERoughen
H A Dlpe-fillet-chamfer.cpp59 method(_("Method:"), _("Fillets methods"), "method", FMConverter, &wr, this, FM_AUTO),
66 registerParameter(&method);
602 if((is_straight_curve(*curve_it1) && is_straight_curve(*curve_it2Fixed) && method != FM_BEZIER )|| method == FM_ARC){
617 if((is_straight_curve(*curve_it1) && is_straight_curve(*curve_it2Fixed) && method != FM_BEZIER )|| method == FM_ARC){
630 if((is_straight_curve(*curve_it1) && is_straight_curve(*curve_it2Fixed) && method != FM_BEZIER )|| method == FM_ARC){
637 if((is_straight_curve(*curve_it1) && is_straight_curve(*curve_it2Fixed) && method !
[all...]
H A Dlpe-dynastroke.cpp49 method(_("Method:"), _("Choose pen type"), "method", DSMethodConverter, &wr, this, DSM_THICKTHIN_FAST),
62 registerParameter( dynamic_cast<Parameter *>(& method) );
132 DynastrokeMethod stroke_method = method.get_value();
H A Dlpe-roughen.cpp49 method(_("Method"), _("Division method"), "method", DMConverter, &wr,
70 registerParameter(&method);
119 if (param->param_key == "method") {
234 if (method == DM_SEGMENTS) {
/inkscape/src/io/
H A Dinkjar.cpp194 bool JarFile::check_compression_method(guint16 method, guint16 flags) argument
196 return !(method != 8 && flags & 0x0008);
216 guint16 method = UNPACK_UB2(bytes, LOC_COMP); local
233 std::printf("Compression method is %#hx\n", method);
257 if (!check_compression_method(method, flags)) {
262 if (method == 8 || flags & 0x0008) {
272 } else if (method == 0) {
H A Dinkjar.h40 #define LOC_COMP 8 /* compression method */
49 #define CEN_COMP 10 /* compression method */
112 bool check_compression_method(guint16 method, guint16 flags);
/inkscape/src/ui/tools/
H A Dflood-tool.cpp205 * @param method The fill method to use as defined in PaintBucketChannels.
207 static bool compare_pixels(guint32 check, guint32 orig, guint32 merged_orig_pixel, guint32 dtc, int threshold, PaintBucketChannels method) argument
224 if ((method == FLOOD_CHANNELS_H) ||
225 (method == FLOOD_CHANNELS_S) ||
226 (method == FLOOD_CHANNELS_L)) {
233 switch (method) {
302 PaintBucketChannels method; member in struct:Inkscape::UI::Tools::bitmap_coords_info
325 if (compare_pixels(pixel, orig_color, bci.merged_orig_pixel, bci.dtc, bci.threshold, bci.method)) {
816 PaintBucketChannels method local
[all...]
/inkscape/share/extensions/
H A Daddnodes.py76 self.OptionParser.add_option("--method",
78 dest="method", default='',
98 if self.options.method == 'bynum':
H A Dtext_extract.py156 inkex.errormsg(inkex.etree.tostring(node, method='text').strip())
H A Dpolyhedron_3d.py280 def get_z_sort_param(pts, face, method): #returns the z-sorting parameter specified by 'method' ('max', 'min', 'cent')
282 if method == 'max':
284 elif method == 'min':
H A Dinterp.py94 self.OptionParser.add_option("-m", "--method",
96 dest="method", default=2,
97 help="method of interpolation")
190 if self.options.method == 2:
/inkscape/share/extensions/ink2canvas/
H A Dsvg.py79 """Translates style properties names into method calls"""
83 method = "set" + "".join(tmp_list)
84 if hasattr(self.ctx, method) and style[key] != "none":
85 getattr(self.ctx, method)(style[key])
134 # unpacks "data" in parameters to given method
294 """Gets the node type and calls the given method"""

Completed in 61 milliseconds