diff options
author | 2009-03-04 17:37:51 +0000 | |
---|---|---|
committer | 2009-03-04 17:37:51 +0000 | |
commit | b1d9d2ef2803bd55fdc886d13033b48f8450dd14 (patch) | |
tree | 809ea85c71e5434cb012fbea4c165f9c6156e25f /samplecode/SamplePathClip.cpp | |
parent | 069b827f8e4f8ca212548719db64983a69b8dc25 (diff) |
Significant cleanup in api, and more importantly in sementics, of SkFontHost
- FindTypeface is now CreateTypeface, and what it returns is always considered
a new instance, even if it is from a cache (in which case it will have been
ref()'d. The caller must always balance its ownership by calling unref() on
the result when they are done.
- CloseStream is gone, since the caller can/must call stream->unref() when they
are done using it.
- ResolveTypeface is now ValidFontID, and just returns a bool.
git-svn-id: http://skia.googlecode.com/svn/trunk@109 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SamplePathClip.cpp')
0 files changed, 0 insertions, 0 deletions