Marking issue as resolved...
--
And loving it,
-Q
_
[EMAIL PROTECTED]
(Replace the SixFour with numbers to email me)
[Message sent by forum member 'qu0ll' (qu0ll)]
http://forums.java.net/jive/thread.jspa?messageID=246988
Hi Dmitri,
First of all, did you determine (by profiling and
such) that it is expensive or is this your gut feeling? It is
important to work with correct data, and sometimes our
assumptions about performance implications may be
incorrect (I get this stuff wrong all the time).
I have
[EMAIL PROTECTED] wrote:
Hi Dmitri,
First of all, did you determine (by profiling and
such) that it is expensive or is this your gut feeling? It is
important to work with correct data, and sometimes our
assumptions about performance implications may be
incorrect (I get this stuff wrong
If the clip would be constructed once and then reused a lot, then the Area
operations that Dmitri posted are the most general and safest way (but not the
fastest) to construct it.
On the other hand, if all of the foreground rectangles are *known* to be
non-overlapping, and if the background
Thanks Dmitri - that works a treat.
--
And loving it,
-Q
_
[EMAIL PROTECTED]
(Replace the SixFour with numbers to email me)
[Message sent by forum member 'qu0ll' (qu0ll)]
http://forums.java.net/jive/thread.jspa?messageID=246696
In simplified terms, I have a situation where I am drawing a large filled
Rectangle and then drawing other smaller filled rectangles in front of or on
top of the large one. The rectangles at the front do not completely cover the
large rectangle at the back so there is a region of the back