ADC Home > Reference Library > Technical Q&As > Graphics & Imaging > Quartz >
|
Q:
How do I control the interpolation Quartz 2D uses when drawing
a A:
To control the degree of interpolation (anti-aliasing quality) for an image, you must first
create the image with interpolation enabled (by passing true for the
Note that the interpolation quality setting is merely a hint to the context since not all contexts support all interpolation quality levels.
For those that are curious, interpolation is the calculation of the value of a function between the values already known. ( WordNet ® 1.6 © 1997 Princeton University ). In graphics programming, interpolation is the general method used in re-sampling digital images. It involves the process of estimating and inserting new pixel values between existing values. Different interpolation algorithms are used in a tradeoff between rendering speed and the desired quality of the final image. [Oct 29 2002] |
|