Package com.jogamp.opengl.util.packrect


package com.jogamp.opengl.util.packrect
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.

  • Class
    Description
    This interface must be implemented by the end user and is called in response to events like addition of rectangles into the RectanglePacker.
     
    Manages a list of Levels; this is the core data structure contained within the RectanglePacker and encompasses the storage algorithm for the contained Rects.
    Represents a rectangular region on the backing store.
    Packs rectangles supplied by the user (typically representing image regions) into a larger backing store rectangle (typically representing a large texture).
    Iteration construct without exposing the internals of the RectanglePacker and without implementing a complex Iterator.