On Wed, Oct 15, 2008 at 3:17 AM,  <[EMAIL PROTECTED]> wrote:
> Here is the progress on the arbitrary polygon hatch series.  This
> series can be tested using the postscript output.  Although the same
> functionality, this patch series works slightly better than the
> original code because of integer quantization.  I'm still working on
> hatched path objects, which requires Bezier subdivision.  Soon...

I'm busy looking at the patches in the background, but just for now
I'd like to note that once my opaque objects work is done it'll be
possible to transform objects generically:

static gboolean transform_one_grip(OBJECT *o, int x, int y, int
whichone, void *userdata)
{
  TRANSFORM *transform = userdata;
  m_transform_point(transform, &x, &y);
  s_basic_move_grip(o, whichone, x, y);
}

void m_transform_any(TRANSFORM *transform, OBJECT *o)
{
  (*o->grip_foreach_func)(o, &transform_one_grip, transform);
}

This would depend on grips being independently moveable.  This naive
version wouldn't work for arcs that expose both a center and a radius,
for example.


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to