| Index: src/pdf/SkPDFDevice.cpp
|
| diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
|
| index 77aa7a353ce74ff5b0562238842751f94f2a22ce..de71253d92c9102b4573f12c2b310e9a8903f9a4 100644
|
| --- a/src/pdf/SkPDFDevice.cpp
|
| +++ b/src/pdf/SkPDFDevice.cpp
|
| @@ -27,6 +27,7 @@
|
| #include "SkPDFTypes.h"
|
| #include "SkPDFUtils.h"
|
| #include "SkRect.h"
|
| +#include "SkRRect.h"
|
| #include "SkString.h"
|
| #include "SkTextFormatParams.h"
|
| #include "SkTemplates.h"
|
| @@ -967,6 +968,13 @@ void SkPDFDevice::drawRect(const SkDraw& d, const SkRect& rect,
|
| &content.entry()->fContent);
|
| }
|
|
|
| +void SkPDFDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect,
|
| + const SkPaint& paint) {
|
| + SkPath path;
|
| + path.addRRect(rrect);
|
| + this->drawPath(draw, path, paint, NULL, true);
|
| +}
|
| +
|
| void SkPDFDevice::drawPath(const SkDraw& d, const SkPath& origPath,
|
| const SkPaint& paint, const SkMatrix* prePathMatrix,
|
| bool pathIsMutable) {
|
|
|