From: Adam R. M. <ama...@ma...> - 2007-07-18 14:51:25
|
On Jul 18, 2007, at 07:46, Christiaan Hofman wrote: > > On 18 Jul 2007, at 3:27 PM, Adam R. Maxwell wrote: > >> The docs for PDFLineStyle indicate certain ending styles are supposed >> to be filled with interior color. However, if you set a line to have >> a closed arrow and line width of 10, you see two clear right >> triangles >> in the arrowhead, which is ugly. >> >> How about calling -setInteriorColor: on lines when line color or end >> style changes, using the line color as argument? (First checking >> respondsToSelector:, since class-dump says it's implemented in a >> private category). Seems to work here, and I'm not sure it's worth >> yet another color well. >> >> -- adam > > Didn't know about that accessor. Makes sense, though I think only > equal to the stroke color. Another color would even be ugly. And > which line ending styles should be affected, all or just closed > arrows? It actually fills the box and circle line endings as well. Stroke and open arrows are unaffected AFAICT. adam |