Package com.sun.opengl.util.packrect

This package implements a rectangle packing algorithm suitable for tracking the placement of multiple rectangles inside a larger one.

See:
          Description

Interface Summary
BackingStoreManager This interface must be implemented by the end user and is called in response to events like addition of rectangles into the RectanglePacker.
RectVisitor Iteration construct without exposing the internals of the RectanglePacker and without implementing a complex Iterator.
 

Class Summary
Level  
LevelSet Manages a list of Levels; this is the core data structure contained within the RectanglePacker and encompasses the storage algorithm for the contained Rects.
Rect Represents a rectangular region on the backing store.
RectanglePacker Packs rectangles supplied by the user (typically representing image regions) into a larger backing store rectangle (typically representing a large texture).
 

Package com.sun.opengl.util.packrect Description

This package implements a rectangle packing algorithm suitable for tracking the placement of multiple rectangles inside a larger one. It is useful for cases such as placing the contents of multiple windows on a larger backing store texture for a compositing window manager; placing multiple rasterized strings in a texture map for quick rendering to the screen; and many other situations where it is useful to carve up a larger texture into smaller pieces dynamically.



Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.