gzz-dev
[Top][All Lists]
Advanced

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

Re: [Gzz] Asko 2003-03-03/04


From: Benja Fallenstein
Subject: Re: [Gzz] Asko 2003-03-03/04
Date: Tue, 04 Mar 2003 17:56:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9

Asko Soukka wrote:
Benja:

Is there way to use java.awt.Graphics.clipRect in the render method of single vob?

Sure: Use clipRect in the render method of a single vob :-)

Something like, ::

    void render(Graphics g, ...) {
        Shape oldClip = g.getClip();
        g.clipRect(...);

        // render something clipped

        g.setClip(oldClip);
    }

Currently (at least with Loom client) all the vobs
seem to be rendered at once and only the last clipRect call is effective.

Sorry, I don't understand this.

- Benja





reply via email to

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