Home
last modified time | relevance | path

Searched refs:ppuScale (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp1391 SkVector* ppuScale, in convertToPpm() argument
1394 ppuScale->fX = SkScalarDiv(this->fCurrentPixelsPerMeter.fX, in convertToPpm()
1396 ppuScale->fY = SkScalarDiv(this->fCurrentPixelsPerMeter.fY, in convertToPpm()
1399 matrix->postScale(ppuScale->fX, ppuScale->fY); in convertToPpm()
1403 SkScalarMul(SkIntToScalar(irect.fLeft), ppuScale->fX), in convertToPpm()
1404 SkScalarMul(SkIntToScalar(irect.fTop), ppuScale->fY), in convertToPpm()
1405 SkScalarMul(SkIntToScalar(irect.fRight), ppuScale->fX), in convertToPpm()
1406 SkScalarMul(SkIntToScalar(irect.fBottom), ppuScale->fY)); in convertToPpm()
1412 const SkVector& ppuScale, in applyMask() argument
1428 m.postScale(SkScalarInvert(ppuScale.fX), SkScalarInvert(ppuScale.fY)); in applyMask()
[all …]
/external/skia/src/device/xps/
DSkXPSDevice.cpp1548 SkVector* ppuScale, in convertToPpm() argument
1551 ppuScale->fX = SkScalarDiv(this->fCurrentPixelsPerMeter.fX, in convertToPpm()
1553 ppuScale->fY = SkScalarDiv(this->fCurrentPixelsPerMeter.fY, in convertToPpm()
1556 matrix->postScale(ppuScale->fX, ppuScale->fY); in convertToPpm()
1560 SkScalarMul(SkIntToScalar(irect.fLeft), ppuScale->fX), in convertToPpm()
1561 SkScalarMul(SkIntToScalar(irect.fTop), ppuScale->fY), in convertToPpm()
1562 SkScalarMul(SkIntToScalar(irect.fRight), ppuScale->fX), in convertToPpm()
1563 SkScalarMul(SkIntToScalar(irect.fBottom), ppuScale->fY)); in convertToPpm()
1569 const SkVector& ppuScale, in applyMask() argument
1585 m.postScale(SkScalarInvert(ppuScale.fX), SkScalarInvert(ppuScale.fY)); in applyMask()
[all …]
/external/chromium_org/third_party/skia/include/device/xps/
DSkXPSDevice.h313 SkVector* ppuScale,
319 const SkVector& ppuScale,
/external/skia/include/device/xps/
DSkXPSDevice.h299 SkVector* ppuScale,
305 const SkVector& ppuScale,