Chromium Code Reviews| Index: dm/DMSrcSink.h |
| diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
| index bd8c41ee186593dff1a58677b0be1e3a33e22be6..6b269ddb1254bf9b66b46ad21e1d48259dc9f854 100644 |
| --- a/dm/DMSrcSink.h |
| +++ b/dm/DMSrcSink.h |
| @@ -98,13 +98,14 @@ public: |
| kNormal_Mode, |
| kScanline_Mode, |
| kScanline_Subset_Mode, |
| + kScale_Mode, |
| }; |
| enum DstColorType { |
| kGetFromCanvas_DstColorType, |
| kIndex8_Always_DstColorType, |
| kGrayscale_Always_DstColorType, |
| }; |
| - CodecSrc(Path, Mode, DstColorType); |
| + CodecSrc(Path, Mode, DstColorType, float); |
|
scroggo
2015/06/11 15:50:02
Maybe we should introduce a separate constructor f
msarett
2015/06/11 19:29:36
Agreed, however, now all of the modes use a scale,
|
| Error draw(SkCanvas*) const override; |
| SkISize size() const override; |
| @@ -113,6 +114,7 @@ private: |
| Path fPath; |
| Mode fMode; |
| DstColorType fDstColorType; |
| + float fScale; |
| }; |