1. A method of rendering an image, comprising: obtaining actual image data for a contour to be rendered; determining approximate image data for one or more line segments that approximate the contour to be rendered; filtering the line segments by convoluting the approximate image data with a filter, such that the filter tends to optimally center spectral energy of sampled image data on an area in a spectral domain corresponding to sample spacing of the sampled image data in the spatial domain, to produce filtered image data; and rendering the contour using the filtered image data.