Systems and methods are provided for drawing a wedge from an array of
data. An angular reference table contains a plurality of angle values. An
angle sampler samples a subset of angle values for a given arc of a
plurality of arcs that will constitute the wedge from the angular
reference table to provide an even sampling along a representative
portion of the arc. A pixel locator determines horizontal and vertical
coordinates for each of the sampled angle values. A pixel indexer
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. A graphical renderer
draws pixels with the retrieved colors at the determined horizontal and
vertical coordinates.