Description[PDF] Add helper class to manage ContentEntry set up and completion.
This stack object helper class calls finishContentEntry when it goes out of scope, maintains the current content entry, and manages the dst form xobject when it is needed. This can be made cleaner by moving the guts of SkPDFDevice into a core object, which can expose setUp/finishContentEntry as public, but that is left as a todo.
Committed: http://code.google.com/p/skia/source/detail?r=1409
Patch Set 1 #Patch Set 2 : nits #
Total comments: 15
Patch Set 3 : Address comments #
Total comments: 3
Patch Set 4 : Address comments #MessagesTotal messages: 7
|