Patent ID: 7395180

Claim:
A computer program product, implemented on a computer readable medium and operative within a data processing system, for drawing a wedge from a two-dimensional array of data having color data arranged in rows and columns, comprising: an angular reference table containing a plurality of angle values; an angle sampler that samples a subset of angle values for a given arc of a plurality of arcs that will comprise the wedge from the angular reference table such that the sampled angle values provide an even sampling along a representative portion of the arc; a pixel locator that determines horizontal and vertical coordinates for each of the subset of angle values; a pixel indexer that determines an associated row and column of the two-dimensional array for each of the sampled angle values and retrieves a color for each of the sampled angle values from the two-dimensional array according to the determined row and column; a column reference table that specifies an associated column index for each of the plurality of angle values, the pixel indexer being operative to retrieve data from the column reference table; a boundary reference table comprising boundaries associated with each column along the plurality of arcs, the column reference table being generated from the boundary reference table and a graphical renderer that draws pixels with the retrieved colors at the determined horizontal and vertical coordinates.