Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Use ofGraphics shape as image mask

$
0
0

@Apleton wrote:

Hello

What is the simplest way to use ofCircle, ofRectangle etc as mask for underlying ofImage.

I can see how to do with an ofMesh, but I would like to benefit from the simplicity of 2D drawing with ofGraphics (there is no simple "draw circle" function in ofMesh).

Thanks!

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles