DescriptionFactory methods for heap-allocated SkTypeface 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 SkTypeface and its subclasses 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=14080
Patch Set 1 #
Total comments: 1
Patch Set 2 : comment #
Messages
Total messages: 7 (0 generated)
|