Browse Prior Art Database

Tiny Solid-Filled Rectangle Accelerator

IP.com Disclosure Number: IPCOM000113318D
Original Publication Date: 1994-Aug-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 38K

Publishing Venue

IBM

Related People

Erb, DJ: AUTHOR [+2]

Abstract

The Tiny Solid-Filled Rectangle Accelerator is a software solution for filling tiny solid rectangles quickly and efficiently. This method is independent of specific programming languages and can also be used for rendering other graphics primitives, such as circles, lines, and segments.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 80% of the total text.

Tiny Solid-Filled Rectangle Accelerator

      The Tiny Solid-Filled Rectangle Accelerator is a software
solution for filling tiny solid rectangles quickly and efficiently.
This method is independent of specific programming languages and can
also be used for rendering other graphics primitives, such as
circles, lines, and segments.

      This method identifies and fills rectangles with a width and
height of zero or one significantly faster than a general purpose
rectangle fill method.

      Filled rectangles with a width or height of 0 are invisible.
Once they are identified, no further processing is needed.

      Filled rectangles with a width and height of 1 are really just
dots.  It is much simpler and faster to draw a dot using the direct
frame buffer mode than to tell the rasterizer to fill a rectangle.
Rectangles with a width and height of 1 are identified by comparing
the two consecutive shorts with 0x00010001 (in a single instruction).
If found to match exactly, the dot is drawn on the frame buffer,
respecting normal clipping requirements.

      Some ported applications draw 1 by 1 rectangles when they want
dots on the screen, perhaps because dots were not an available
primitive in the original graphics system.  When used this way, there
tends to be large numbers of these 1x1 rectangles.

      Tiny rectangles are also generated by applications that "zoom
out" to provide an overall picture of the object they are displaying.
When zoomed o...