DescriptionFactory methods for heap-allocated SkAnnotation 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 SkAnnotation non-public and instead
provides factory methods for creating these objects on the heap.
BUG=skia:2187
Committed: http://code.google.com/p/skia/source/detail?r=13605
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|