07-26-2014 12:22 PM - edited 07-26-2014 12:23 PM
There may be a better way of doing it but I achieved a mask effect with some code in C++. I used the QPainter class to create a polygon (in your case you can use it to draw a circle). I then set up a QPainterPath based on my shape and use it to set a "clip region" on the QPainter object. I then load the image I want to be masked, and use the drawImage method of QPainter to draw the image inside of that clip region. Then, you will need to convert your QImage to a bb::cascades::Image. There are already threads here on how to do that. Once you have your bb::cascades::Image, you can pop it in an ImageView.
I hope that makes sense and is what you're looking for
07-28-2014 04:03 AM
I used an additional mask image and modified the pixels in C++