David Hyatt wrote: > On May 12, 2008, at 9:55 AM, Brad Kemper wrote: >> Here is my mockup: >> >> http://bradclicks.com/cssplay/Shadows.html > > One thing that bugs me about this rendering of spread is the implicit > use of round joins on the stroke instead of miter joins when cast is set > to outside. > > My understanding of spread is that basically you take a shape (e.g., a > glyph for text-shadow, a box for box-shadow) and you combine the filled > glyph shape with a stroke of the shape that extends outside the fill by > an amount equal to the spread. The composed shape (fill+stroke) can > then have its shadow rendered offset by the spread to achieve the > renderings you are showing. > > However when cast is outside you seem to be making assumptions about the > line joins used by the stroke. The same assumption applies both when the cast is inside and outside. If you pay attention to the A when spread is 5px and blur is zero you can see this. The spread extends to every point that is within 5px of a point on the original shadow. ~fantasaiReceived on Thursday, 15 May 2008 01:28:15 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 15 May 2008 01:28:17 GMT