Index: experimental/PdfViewer/SkPdfGraphicsState.h |
diff --git a/experimental/PdfViewer/SkPdfGraphicsState.h b/experimental/PdfViewer/SkPdfGraphicsState.h |
index 00bfeef109161376e788edc0c5c38e8e14ff8543..029633d6e1f9172ce568c617fb919f367aac63bf 100644 |
--- a/experimental/PdfViewer/SkPdfGraphicsState.h |
+++ b/experimental/PdfViewer/SkPdfGraphicsState.h |
@@ -12,12 +12,8 @@ |
#include "SkPaint.h" |
#include "SkPdfConfig.h" |
#include "SkPdfUtils.h" |
-#include "SkTDStackNester.h" |
-class SkPdfAllocator; |
class SkPdfFont; |
-class SkPdfDoc; |
-class SkPdfNativeDoc; |
class SkPdfNativeObject; |
class SkPdfResourceDictionary; |
class SkPdfSoftMaskDictionary; |
@@ -80,7 +76,7 @@ public: |
} |
}; |
-/** \class SkTDStackNester |
+/** |
* Operates on stroking or non-stroking properties. |
*/ |
struct SkPdfGraphicsState { |
@@ -355,20 +351,4 @@ smoothness number (PDF 1.3) The precision with which col |
void applyGraphicsState(SkPaint* paint, bool stroking); |
}; |
-/** \class SkPdfContext |
- * The context of the drawing. The document we draw from, the current stack of objects, ... |
- */ |
-class SkPdfContext { |
-public: |
- SkTDStackNester<SkPdfNativeObject*> fObjectStack; |
- SkTDStackNester<SkPdfGraphicsState> fStateStack; |
- SkPdfGraphicsState fGraphicsState; |
- SkPdfNativeDoc* fPdfDoc; |
- SkPdfAllocator* fTmpPageAllocator; |
- SkMatrix fOriginalMatrix; |
- |
- SkPdfContext(SkPdfNativeDoc* doc); |
- ~SkPdfContext(); |
-}; |
- |
#endif // SkPdfGraphicsState_DEFINED |