Rounded Corners for images?

Dar Scott dsc at swcp.com
Mon Oct 9 13:14:10 CDT 2006


On Oct 9, 2006, at 7:55 AM, David Bovill wrote:
> The question therefore is how to place an image inside the graphic?

With 2.7 are new inks and ink grouping.

Group the graphic and the image, with the graphic in back.  Set the  
ink of the graphic and group to blendSrcOver.  Set the image to  
blendSrcAtop.

If the image changes a lot or you will be making lots of these, you  
might want to make a custom control where the rounded rectangle is  
adjusted to fit the image.

You can now move this group like you would the original image.

And you are right, you can also edit the image in an image editor  
that understands transparency and save it as a png.

Dar



More information about the use-livecode mailing list