Lines Matching refs:unit
274 * @param pageWidth, float that is the unit value of the page width
275 * @param pageHeight, float that is the unit value of the page height
520 MarginView::_SetMarginUnit(MarginUnit unit)
523 if (unit == fMarginUnit) {
528 fUnitValue = kUnitFormat[unit];
545 // check for target unit is cm
546 if (unit == kUnitCM) {
559 // check for target unit is inches
560 if (unit == kUnitInch) {
568 // check for target unit is cm
569 if (unit == kUnitCM) {
575 // check for target unit is inches
576 if (unit == kUnitInch) {
584 fMarginUnit = unit;