discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView: bounds rectangle.


From: Marko Riedel
Subject: NSView: bounds rectangle.
Date: Thu, 29 Aug 2002 18:38:40 +0200 (CEST)

Hi there,

I have run into a difficult to trace bug that I was only able to fix
by coding a slightly different procedure. I wonder if anyone has had
the same problem and could offer help and commentary.

I have repeatedly had problems after setting the bounds rectangle of a
view. I am currently working on an application where the bounds and
the frame rectangle of a certain view change a lot, and the bounds
rectangle could have a negative origin.

I was able to produce a view that would draw OUTSIDE of its frame
rectangle. The drawing code somehow produced output that was shifted
to the right. Shouldn't all views clip to the frame rectangle?

Let me know if you have had trouble with bounds rectangles or if there
are caveats to take into account that I'm not aware of. I recently
upgraded to GNUstep packages that are about two weeks old.

Best regards,

-- 
+------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, mriedel@neuearbeit.de |
| http://www.geocities.com/markoriedelde/index.html          |
+------------------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]