:clipping-region woes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
McCLIM |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Report from Sumant Oemrawsingh
affects mcclim
status confirmed
importance medium
tag with-room-
done
Hi guys,
I'm having some problems with clipping regions (or I just don't understand the
concept, which is still entirely possible).
In the clim-listener, in the package clim-user, I do the following:
(with-room-
(draw-rectangle* *standard-output* -10 -10 10 10))
This gives a black, filled rectangle. Great, just as expected. Now, I want to
try to define a clipping region:
(with-room-
(draw-rectangle* *standard-output* -10 -10 10 10
What I expect is that it displays a smaller rectangle, namely the rectangle
with side 20 clipped down to a side of 10. However, I don't see anything.
So, I try the following:
(with-room-
(draw-rectangle* *standard-output* -10 -10 10 10
Since the clipping region is _larger_ than the actual drawing, I expect to see
the same as in the first sexp, where I didn't define any clipping region.
Nevertheless, I see... NOTHING!
Is this a bug, a feature, or am I hopelessly ignorant and should just give up
ever trying to do anything remotely complicated in clim?
Thanks,
Sumant