GdipSetSmoothingMode

 

 

Description

Sets the render quality of the Graphics object.

Syntax

GpStatus WINGDIPAPI GdipSetSmoothingMode(

    GpGraphics *graphics,

    SmoothingMode smoothingMode

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetSmoothingMode ( _

    BYVAL graphics AS DWORD, _

    BYVAL smoothingMode AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

smoothingMode

[in] Element of the SmoothingMode enumeration that specifies whether smoothing (antialiasing) is applied to lines and curves.

Remarks

To get the rendering quality for text, use the GetTextRenderingHint function. The higher the level of quality of the smoothing mode, the slower the performance.

 

Valid HTML 4.01 Transitional