Timeline for What is the best way to clip a graphic to a region?
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2019 at 14:47 | answer | added | Carl Woll | timeline score: 3 | |
Apr 13, 2017 at 12:55 | history | edited | CommunityBot |
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
|
|
Aug 4, 2016 at 9:59 | history | edited | Szabolcs | CC BY-SA 3.0 |
deleted 229 characters in body
|
Aug 4, 2016 at 1:39 | history | edited | Wjx | CC BY-SA 3.0 |
poke it to the top again and make a bit alternation.
|
Apr 10, 2012 at 10:37 | comment | added | István Zachar | I can only second what @YvesKlett has said, pointing to Heike's graphics intersection solution, though I know you are aware of it. It is only helpful if you have simple polygons (i.e. no disconnected parts), and still - just as Yves said - you have to make the intersection for each polygon-pair... | |
Feb 20, 2012 at 9:00 | vote | accept | Szabolcs | ||
Feb 20, 2012 at 8:50 | comment | added | Yves Klett | For current versions of Mathematica this is not possible AFAIK. You can do it the hard way by intersecting each edge of the to-be-clipped polygons with the mask polygon edges and deleting resulting outlier elements. This is a fair bit of work though. I have some hopes (and the urgent desire) of this being adressed in future versions at least for 2D cases. | |
Feb 20, 2012 at 4:24 | comment | added | Lev Bishop |
@Szabolcs I don't think so. I used << Version5``Graphics`` and as far as I can tell, the PostScript engine can only deal with rectangular clipping regions.
|
|
Feb 19, 2012 at 20:28 | answer | added | Lev Bishop | timeline score: 11 | |
Feb 19, 2012 at 20:21 | comment | added | Szabolcs | This would probably be doable in the old, version 5 graphics, which are based on PostScript. | |
Feb 19, 2012 at 20:06 | history | edited | Szabolcs | CC BY-SA 3.0 |
added 55 characters in body
|
Feb 19, 2012 at 18:01 | history | tweeted | twitter.com/#!/StackMma/status/171293264765403137 | ||
Feb 19, 2012 at 16:51 | history | edited | Szabolcs | CC BY-SA 3.0 |
added 295 characters in body
|
Feb 19, 2012 at 16:48 | comment | added | Mr.Wizard | Absolutely. This question is what I initially thought that one was, and IMHO should have been. Unfortunately I still don't have an answer. I think to do this properly WRI needs to add a ClippingPath function. Here's hoping there is already some undocumented function that does this. | |
Feb 19, 2012 at 16:45 | comment | added | Szabolcs | @Mr.Wizard The difference is that here I'd like to clip vector graphics, if this is possible at all. Rasterization worsens the quality and increases the file size. | |
Feb 19, 2012 at 16:43 | comment | added | Mr.Wizard | Related: mathematica.stackexchange.com/q/1332/121 | |
Feb 19, 2012 at 16:19 | history | asked | Szabolcs | CC BY-SA 3.0 |