[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Retrieve Graphics clipping region

Actually let me reprase. I have a figure that's in a viewport. It's the main content figure of a table and it drawns grid lines between it's children. I'd like to just draw the lines that are currently visible in the Viewport. So I'd only have to draw 10 lines instead of 500 and be able to terminate my loop much sooner.

Brad Reynolds wrote:
Is there a way to retrieve the clipping region from the Graphics instance passed to figure paint methods? I'm struggling to find it...

Thanks,
brad