Searched refs:Unit (Results 1 - 25 of 50) sorted by relevance

12

/inkscape/src/util/
H A Dunits.h39 class Unit class in namespace:Inkscape::Util
40 : boost::equality_comparable<Unit>
43 Unit();
44 Unit(UnitType type,
62 bool compatibleWith(Unit const *u) const;
74 bool operator==(Unit const &other) const;
80 double convert(double from_dist, Unit const *to) const;
89 Unit const *unit;
93 Quantity(double q, Unit const *u);
98 bool compatibleWith(Unit cons
[all...]
H A Dexpression-evaluator.h82 class Unit;
131 * @param unit Unit output should be in
136 ExpressionEvaluator(const char *string, Unit const *unit = NULL);
142 Unit const *unit;
163 static bool resolveUnit(const char *identifier, EvaluatorQuantity *result, Unit const *unit);
H A Dunits.cpp87 typedef INK_UNORDERED_MAP<unsigned, SVGLength::Unit> UnitCodeLookup;
93 umap[svg_length_lookup[i]] = static_cast<SVGLength::Unit>(i);
143 Unit unit;
155 Unit::Unit() : function in class:Inkscape::Util::Unit
165 Unit::Unit(UnitType type, function in class:Inkscape::Util::Unit
181 void Unit::clear()
183 *this = Unit();
186 int Unit
[all...]
/inkscape/src/svg/
H A Dsvg-length.h22 enum Unit { enum in class:SVGLength
40 Unit unit;
56 void readOrUnset(char const *str, Unit u = NONE, float v = 0, float c = 0);
60 void set(Unit u, float v); // Sets computed value based on u and v.
61 void set(Unit u, float v, float c); // Sets all three values.
62 void unset(Unit u = NONE, float v = 0, float c = 0);
H A Dsvg-angle.h25 enum Unit { enum in class:SVGAngle
38 Unit unit;
54 void unset(Unit u = NONE, float v = 0, float c = 0);
55 void readOrUnset(gchar const *str, Unit u = NONE, float v = 0, float c = 0);
H A Dsvg-angle.cpp30 static bool sp_svg_angle_read_lff(gchar const *str, SVGAngle::Unit &unit, float &val, float &computed);
48 SVGAngle::Unit u;
63 void SVGAngle::unset(SVGAngle::Unit u, float v, float c) {
70 void SVGAngle::readOrUnset(gchar const *str, Unit u, float v, float c) {
76 static bool sp_svg_angle_read_lff(gchar const *str, SVGAngle::Unit &unit, float &val, float &computed)
H A Dsvg-length.cpp23 static unsigned sp_svg_length_read_lff(gchar const *str, SVGLength::Unit *unit, float *val, float *computed, char **next);
187 SVGLength::Unit u;
202 static bool svg_length_absolute_unit(SVGLength::Unit u)
213 SVGLength::Unit u;
239 SVGLength::Unit unit;
261 SVGLength::Unit unit;
291 static unsigned sp_svg_length_read_lff(gchar const *str, SVGLength::Unit *unit, float *val, float *computed, char **next)
442 unsigned int sp_svg_length_read_ldd(gchar const *str, SVGLength::Unit *unit, double *value, double *computed)
463 void SVGLength::set(SVGLength::Unit u, float v)
497 void SVGLength::set(SVGLength::Unit
[all...]
H A Dsvg.h52 unsigned int sp_svg_length_read_ldd( const char *str, SVGLength::Unit *unit, double *value, double *computed );
H A Dsvg-length-test.h8 gchar const *sp_svg_length_get_css_units(SVGLength::Unit unit);
14 char const* str; SVGLength::Unit unit; float value; float computed;
103 SVGLength::Unit target = static_cast<SVGLength::Unit>(i);
118 SVGLength::Unit target = static_cast<SVGLength::Unit>(i);
131 SVGLength::Unit target = static_cast<SVGLength::Unit>(i);
/inkscape/src/live_effects/parameter/
H A Dunit.h17 class Unit;
35 void param_set_value(Inkscape::Util::Unit const &val);
40 operator Inkscape::Util::Unit const *() const { return unit; }
43 Inkscape::Util::Unit const *unit;
44 Inkscape::Util::Unit const *defunit;
H A Dunit.cpp58 UnitParam::param_set_value(Inkscape::Util::Unit const &val)
60 unit = new Inkscape::Util::Unit(val);
/inkscape/src/ui/widget/
H A Dunit-tracker.h21 using Inkscape::Util::Unit;
40 void setActiveUnit(Inkscape::Util::Unit const *unit);
42 Inkscape::Util::Unit const * getActiveUnit() const;
44 void addUnit(Inkscape::Util::Unit const *u);
46 void prependUnit(Inkscape::Util::Unit const *u);
59 void _fixupAdjustments(Inkscape::Util::Unit const *oldUnit, Inkscape::Util::Unit const *newUnit);
65 Inkscape::Util::Unit const *_activeUnit;
H A Dunit-menu.h56 void addUnit(Unit const& u);
66 * Returns the Unit object corresponding to the current selection
69 Unit const * getUnit() const;
H A Dunit-menu.cpp53 void UnitMenu::addUnit(Unit const& u)
59 Unit const * UnitMenu::getUnit() const
117 Unit const * new_unit = unit_table.getUnit(new_unit_abbr);
H A Dunit-tracker.cpp79 Inkscape::Util::Unit const * UnitTracker::getActiveUnit() const
84 void UnitTracker::setActiveUnit(Inkscape::Util::Unit const *unit)
106 Inkscape::Util::Unit const *u = unit_table.getUnit(abbr);
118 void UnitTracker::addUnit(Inkscape::Util::Unit const *u)
125 void UnitTracker::prependUnit(Inkscape::Util::Unit const *u)
211 Inkscape::Util::Unit const *unit = unit_table.getUnit(abbr);
217 Inkscape::Util::Unit const *newUnit = unit_table.getUnit(newAbbr);
244 void UnitTracker::_fixupAdjustments(Inkscape::Util::Unit const *oldUnit, Inkscape::Util::Unit const *newUnit)
H A Dstyle-swatch.h42 class Unit;
95 Inkscape::Util::Unit *_sw_unit;
H A Dscalar-unit.h42 * @param unit_type Unit type (defaults to UNIT_TYPE_LINEAR).
85 Unit const * getUnit() const;
H A Dspinbutton.cpp38 Unit const *unit = NULL;
H A Dscalar-unit.cpp105 Unit const * ScalarUnit::getUnit() const
231 Inkscape::Util::Unit const *new_unit = unit_table.getUnit(abbr);
232 Inkscape::Util::Unit const *old_unit = unit_table.getUnit(lastUnits);
H A Dselected-style.h46 class Unit;
283 void on_popup_units(Inkscape::Util::Unit const *u);
287 Inkscape::Util::Unit const *_sw_unit; /// points to object in UnitTable, do not delete
/inkscape/src/
H A Dsp-namedview.h29 class Unit;
67 Inkscape::Util::Unit const *svg_units; // Units used for the values in SVG
68 Inkscape::Util::Unit const *display_units; // Units used for the UI (*not* the same as units of SVG coordinates)
69 Inkscape::Util::Unit const *page_size_units; // Only used in "Custom size" part of Document Properties dialog
92 Inkscape::Util::Unit const * getDisplayUnit() const;
93 Inkscape::Util::Unit const & getSVGUnit() const;
105 double getMarginLength(gchar const * const key,Inkscape::Util::Unit const * const margin_units,Inkscape::Util::Unit const * const return_units,double const width,double const height,bool const use_width);
H A Ddocument.h52 class Unit;
245 Inkscape::Util::Unit const* getDisplayUnit() const;
246 Inkscape::Util::Unit const& getSVGUnit() const;
/inkscape/src/widgets/
H A Druler.h22 class Unit;
59 const Inkscape::Util::Unit *unit);
60 Inkscape::Util::Unit const * sp_ruler_get_unit (SPRuler *ruler);
H A Dstroke-style.h81 class Unit;
227 Inkscape::Util::Unit const *_old_unit;
/inkscape/src/display/
H A Dcanvas-grid.h32 class Unit;
95 Inkscape::Util::Unit const* gridunit; /**< points to Unit object in UnitTable (so don't delete it) */

Completed in 1583 milliseconds

12