Chromium Code Reviews| Index: src/device/xps/SkXPSDevice.cpp |
| =================================================================== |
| --- src/device/xps/SkXPSDevice.cpp (revision 9773) |
| +++ src/device/xps/SkXPSDevice.cpp (working copy) |
| @@ -1542,21 +1542,6 @@ |
| SkMatrix* matrix, |
| SkVector* ppuScale, |
| const SkIRect& clip, SkIRect* clipIRect) { |
| - //TODO: currently ignoring the ppm if blur ignoring transform. |
|
bsalomon
2013/06/28 18:32:42
better check with bungeman
|
| - if (filter) { |
| - SkMaskFilter::BlurInfo blurInfo; |
| - SkMaskFilter::BlurType blurType = filter->asABlur(&blurInfo); |
| - |
| - if (SkMaskFilter::kNone_BlurType != blurType |
| - && blurInfo.fIgnoreTransform) { |
| - |
| - ppuScale->fX = SK_Scalar1; |
| - ppuScale->fY = SK_Scalar1; |
| - *clipIRect = clip; |
| - return; |
| - } |
| - } |
| - |
| //This action is in unit space, but the ppm is specified in physical space. |
| ppuScale->fX = SkScalarDiv(this->fCurrentPixelsPerMeter.fX, |
| this->fCurrentUnitsPerMeter.fX); |