Hi
Here is my project: I am drawing a table and a set of chairs
on the screen, All the dimensions of the table and chairs are in inches. The first
thing that I do is resale the 600x600 matrix to work in inches and have 0,0 be
in the center of the screen. I can easily draw the table and the chairs. The
table is a rounded rectangle that goes exactly in the center and I draw each of
the chairs as a path. I am able to correctly position the chairs using a
sequence of translations and rotations. This
all works wonderfully and I can change the dimension of the table, in inches,
and the whole graph will resize and rescale for me.
The problem: I would like to use an image for the chair
instead of drawing it. I have spent two days trying to get rotations,
translations and whatever to put these chair images where the chair drawings
were with no luck. I must be missing something.
I have been through Mahesh’s book a half a dozen times
already but his examples are not enough for me to extend them to this problem.
Could anyone give me a design approach or a good idea that I
could try to solve this problem.
Thanks
punchcardRay