1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Changes to Image::BitmapData constructors, replacing the bool with a more explicit enum for the read/write mode. Some win32 dLL declarator changes. Android work. Small Quicktime fix.

This commit is contained in:
Julian Storer 2011-02-09 10:50:19 +00:00
parent 1d215fa865
commit 3dfbb0d713
37 changed files with 1216 additions and 431 deletions

View file

@ -127,8 +127,14 @@ public:
bool getOutlineForGlyph (int glyphNumber, Path& destPath)
{
// TODO
return false;
LocalRef<jstring> s ((jstring) android.activity.callObjectMethod (android.createPathForGlyph, paint.get(), (jchar) glyphNumber));
if (s == 0)
return false;
const String ourString (juceString (s));
destPath.restoreFromString (ourString);
return ourString.isNotEmpty();
}
GlobalRef typeface, paint;