Kuba,
>> It seems like selectarea(), in the OBJINST case, is pushing a premultiplied
>> matrix on the stack before recursing into the object. Is that necessary?
>> I can't see offhand where would that matrix be used.
>
> Same happens in recurselect(), BTW.
>
> Per the C++ compiler, it seems that nothing that is called from selectarea()
> *or* recurselect() has access to the matrix stack, thus any stack operations
> are ignored anyway.
Yes, you're right; it should be necessary only to transform the
coordinates of the area select rectangle into the coordinates of
the instance, which is done just before that. I removed the matrix
push/transform/pop calls in both routines with no effect on the
behavior.
---Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev