OpenVG is a native API on the Pi so you don't need another Library. You just include the header and link the library and you are good to go (well you need to link EGL too). I'm working on a framework for doing graphics demos on the Pi and I plan to do some OpenVG demos. As yet I've not really looked in detail at OpenVG API.adrian.oconnor wrote:Thanks for your input, @theHetman. OpenVG looks great -- I think it'll be useful for many things I want to do, and I'm glad I have it in my toolkit. I've been playing with MonkVG, using it with the iOS SDK. I think it will do all I need. Would you recommend that library for RaspberryPi too, or is there some other OpenVG implementation that might work even better? Do I even need a third party library with RPi?
You know that OpenVG renders outline fonts? As I've said I've not looked at the API in depth yet so I'm not sure what type of fonts it uses but it will certainly be an open format and I'm sure there are many free fonts to choose from.In my spare time, I'm going to start prototyping this app on iOS using stuff that I'm already familiar with (ASIHttp, JSONKit and so on). The only problem with this approach is that if Apple announce that AppleTV is going to soon support apps (at WWDC in a couple of weeks), it'll probably spell the end of my interest in using the RPi for this purpose (especially if RS still haven't shipped my RaspberryPi... at least I can get my hands on an AppleTV).
I do have one more question -- how do you create fonts for OpenVG? I have a 512x512 image with Arial bold that I found in the MonkVG project, and it looks like it was auto generated by a tool -- do you know what tools do that?
On the Debian distro, gcc -v says:adrian.oconnor wrote:Out of interest, and totally unrelated, but does the GCC that comes with the ARM distribution of Linux support Objective C?
Code: Select all
Using built-in specs. Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Thread model: posix gcc version 4.4.5 (Debian 4.4.5-8)