On Sat, Nov 18, 2006 at 07:10:10PM -0400, bulia byak wrote:
On 11/18/06, Bryce Harrington <bryce@...961...> wrote:
>In particular, I'm wondering why markers have this special case; it
>feels like an odd fit in nr-arena-shape since everything else is so
>generalized, and I'm wondering if there could be a way to generalize the
>markers so no special case is needed for them?
Perhaps that's because they really are a special case in SVG spec.
Markers are shapes which are supposed to be updated and rendered with
the main shape as if they are a group, but they are not regular
objects and there's no real group involved. That alone is special
enough, and as far as I can see, our code just reflects this. Or am I
missing something?
I guess that makes sense, although I would wonder if rather than having
the special case logic in nr-arena, if it would be better to give child
items a flag to indicate them as 'non-group items', and handle that
closer to the point where it matters.
Anyway, I guess it's fine this way but it just seems curious to have
marker-specific stuff in such an otherwise general purpose file.
Bryce