Lines Matching defs:unit

235         unit = SP_CSS_UNIT_NONE;
250 unit = SP_CSS_UNIT_NONE;
254 unit = SP_CSS_UNIT_PX;
258 unit = SP_CSS_UNIT_PT;
261 unit = SP_CSS_UNIT_PC;
264 unit = SP_CSS_UNIT_MM;
267 unit = SP_CSS_UNIT_CM;
270 unit = SP_CSS_UNIT_IN;
274 unit = SP_CSS_UNIT_EM;
282 unit = SP_CSS_UNIT_EX;
290 unit = SP_CSS_UNIT_PERCENT;
323 switch (this->unit) {
368 unit = p->unit;
374 if (unit == SP_CSS_UNIT_EM) {
376 } else if (unit == SP_CSS_UNIT_EX) {
379 } else if (unit == SP_CSS_UNIT_PERCENT && name.compare( "line-height" ) == 0 ) {
396 unit = p->unit;
401 switch (p->unit) {
412 unit = SP_CSS_UNIT_NONE;
430 if( unit != r->unit ) return false;
433 if (unit == SP_CSS_UNIT_EM) return false;
434 if (unit == SP_CSS_UNIT_EX) return false;
435 if (unit == SP_CSS_UNIT_PERCENT) return false;
436 if (r->unit == SP_CSS_UNIT_EM) return false;
437 if (r->unit == SP_CSS_UNIT_EX) return false;
438 if (r->unit == SP_CSS_UNIT_PERCENT) return false;
458 unit = SP_CSS_UNIT_NONE;
1932 unit = length.unit;
1940 if( unit == SP_CSS_UNIT_PERCENT ) {
1971 int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT);
1973 unit = SP_CSS_UNIT_PX;
1975 css << sp_style_css_size_px_to_units(this->computed, unit) << sp_style_get_css_unit_string(unit);
2006 switch ( unit ) {
2051 switch (unit ) {
2078 unit != SP_CSS_UNIT_EM &&
2079 unit != SP_CSS_UNIT_EX ) {
2096 p->unit != SP_CSS_UNIT_EM &&
2097 p->unit != SP_CSS_UNIT_EX ) ) {
2309 unit = length.unit;
2312 if( unit == SP_CSS_UNIT_PERCENT ) {
2341 if( this->unit == SP_CSS_UNIT_EM || this->unit == SP_CSS_UNIT_EX ) {
2342 css << this->value << (this->unit == SP_CSS_UNIT_EM ? "em" : "ex");
2381 switch (unit) {