xtd 0.2.0
Loading...
Searching...
No Matches

◆ text_rendering_hint() [1/2]

xtd::drawing::text::text_rendering_hint xtd::drawing::graphics::text_rendering_hint ( ) const
noexcept

Gets the rendering mode for text associated with this xtd::drawing::graphics.

Returns
One of the xtd::drawing::graphics::text_rendering_hint values.
Remarks
The text rendering hint specifies whether text renders with antialiasing.
Note
You should not use a xtd::drawing::graphics::compositing_mode property value of xtd::drawing::graphics::source_copy when the xtd::drawing::graphics::text_rendering_hint property is set to xtd::drawing::graphics::text_rendering_hint::clear_type_grid_fit. An exception could occur or the image may not render correctly.