Re: [svgwg] Ability to cut transparent holes of any shape into embedded raster graphics; Native SVG equivalent for CSS border radius (More versatility with embedded raster graphics) (#788)

> On which elements?

Embedded raster graphics. InkScape can't do it so far, therefore I presume it is not included in the SVG standard.

InkScape **does** offer corner rounding for rectangles. For circles, InkScape allows setting how much of the circle is filled conically.

> There is <mask> and <clipPath>. Do they not do what you want?

I have observed the following on InkScape. I am not sure whether these behaviours are because of the SVG standard or InkScape's own implementation:

* Drawing a shape on top of another shape and then using “Create difference of selected paths” (i.e. for punching a hole into a raster graphic) does not work. It works on path-only shapes (and non-path shapes get converted into paths when doing it, as expected). But it would be good if it also worked for embedded raster graphics.
* I can not put multiple masks on top of each other. I have to right click + *“Release Clip”* first before I can crop an image further by drawing a rectangle on top of it, righ-clicking and selecting *“Set Clip”*.

I am not sure whether this is related to the SVG standard or whether InkScape has not fully implemented it yet.

-- 
GitHub Notification of comment by HT-7
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/788#issuecomment-611291594 using your GitHub account

Received on Thursday, 9 April 2020 02:24:14 UTC