skia2/experimental/PdfViewer
commit-bot@chromium.org 0a2bf90dcc Factory methods for heap-allocated SkPathEffect and SkXfermode objects.
This is part of an effort to ensure that all SkPaint effects can only be
allocated on the heap.

This patch makes the constructors of SkPathEffect, SkXfermode and
their subclasses non-public and instead provides factory methods for
creating these objects on the heap. We temporarily keep the constructors
of the following classes public to not break Chrome/Blink:

SkXfermode
SkCornerPathEffect
SkDashPathEffect

BUG=skia:2187
R=scroggo@google.com, reed@google.com, mtklein@google.com, bungeman@google.com

Author: dominikg@chromium.org

Review URL: https://codereview.chromium.org/166583002

git-svn-id: http://skia.googlecode.com/svn/trunk@13519 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-20 20:40:19 +00:00
..
inc Simplify SkPdfTokenLooper behavior. 2013-12-02 22:34:45 +00:00
pdfparser Remove SkPdfNativeDoc::tokenizerOfStream. 2013-12-03 16:15:31 +00:00
scripts Add a script for running pdfviewer and comparing to existing results. 2013-11-12 14:52:47 +00:00
src Remove SkPdfNativeDoc::tokenizerOfStream. 2013-12-03 16:15:31 +00:00
chop_transparency_main.cpp Hide unused gFormats. 2013-11-20 18:02:00 +00:00
pdf_viewer_main.cpp Separate and update PDF_DIFF_TRACE_IN_PNG 2013-12-02 20:22:31 +00:00
SkNulCanvas.cpp pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to match skia project 2013-08-21 16:31:37 +00:00
SkNulCanvas.h Revert "If the path is a rect, call drawRect to raster the geometry in SkCanvas::drawPath to get better performance." 2013-10-22 16:54:15 +00:00
SkPdfConfig.h mode code cleanup (100c / l, comments) 2013-10-10 20:58:22 +00:00
SkPdfFont.cpp Small tweaks to be able to build everything target: 2014-01-08 21:16:14 +00:00
SkPdfFont.h Small tweaks to be able to build everything target: 2014-01-08 21:16:14 +00:00
SkPdfGraphicsState.cpp Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkPdfGraphicsState.h Move SkPdfContext into its own files. 2013-11-20 22:33:39 +00:00
SkPdfReporter.cpp Changes to SkTDStackNester. 2013-11-20 21:40:57 +00:00
SkPdfReporter.h Changes to SkTDStackNester. 2013-11-20 21:40:57 +00:00
SkPdfUtils.cpp pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to match skia project 2013-08-21 16:31:37 +00:00
SkPdfUtils.h pdfviewer: more code comments + concat the pdf matrix with the existing matrix in canvas, instead of reseting it. 2013-10-11 18:26:45 +00:00
SkTrackDevice.cpp pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to match skia project 2013-08-21 16:31:37 +00:00
SkTrackDevice.h Change device factories to take SkImageInfo instead of SkBitmap::Config 2014-02-16 00:59:25 +00:00
SkTracker.cpp pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to match skia project 2013-08-21 16:31:37 +00:00
SkTracker.h pdfviewr: include what you use (stdio) 2013-11-07 22:07:34 +00:00