Hi, I created a ClutterActor subclass to create round rectangles. If you run
the attached files, it should make a perfectly good rounded rectangle with a
thin black border.
But let's say you want to FILL the rectangle with black instead. Open
up RoundedRectangle.c and comment out the "cogl_path_stroke ();" and
uncomment "//cogl_path_fill ();".

On Mac OS X, the result is that it fills in the entire square, not just the
area within the rounded rectangle. Is this a bug, or am I missing something?

Attachment: RoundRectangle.h
Description: Binary data

Attachment: RoundRectangle.c
Description: Binary data

Attachment: main.c
Description: Binary data

Reply via email to