SetGamma

Graphics32

SetGamma

procedure SetGamma(Gamma: Single = 0.7);

Description

Updates gamma/shape correction table.

Pixel and line antialiasing produces much better results with correction of opacities for partially covered pixels. This accounts both for monitor gamma and for pixel shape correction.

Use this function to update the internal gamma-correction table which is used in pixel and line rasterization.

The default value of 0.7 works fine in most cases.