xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Classes | Enumerations
xtd.drawing

Definition

The xtd.drawing library provides access to GDI+ basic graphics functionality.

Classes

class  xtd::drawing::bitmap
 Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. A bitmap is an object used to work with images defined by pixel data. More...
 
class  xtd::drawing::brush
 Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths. More...
 
class  xtd::drawing::brushes
 brushes for all the standard colors. This class cannot be inherited. More...
 
class  xtd::drawing::color
 Represents an ARGB (alpha, red, green, blue) color. More...
 
class  xtd::drawing::colors
 colors for all the standard colors. This class cannot be inherited. More...
 
class  xtd::drawing::drawing2d::hatch_brush
 Defines a rectangular xtd::drawing::brush with a hatch style, a foreground color, and a background color. This class cannot be inherited. More...
 
class  xtd::drawing::drawing2d::linear_gradient_brush
 Encapsulates a xtd::drawing::brush with a linear gradient. This class cannot be inherited. More...
 
class  xtd::drawing::font
 Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited. More...
 
class  xtd::drawing::font_family
 Defines a group of type faces having a similar basic design and certain variations in styles. This class cannot be inherited. More...
 
class  xtd::drawing::graphics
 Defines an object used to draw lines and curves. This class cannot be inherited. More...
 
class  xtd::drawing::icon
 Represents a Windows icon, which is a small bitmap image that is used to represent an object. Icons can be thought of as transparent bitmaps, although their size is determined by the system. More...
 
class  xtd::drawing::image
 An abstract base class that provides functionality for the bitmap and metafile descended classes. More...
 
class  xtd::drawing::imaging::color_palette
 Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors. Not inheritable. More...
 
class  xtd::drawing::imaging::frame_dimension
 Provides properties that get the frame dimensions of an image. Not inheritable. More...
 
class  xtd::drawing::imaging::image_format
 Specifies the file format of the image. Not inheritable. More...
 
class  xtd::drawing::imaging::property_item
 Encapsulates a metadata property to be included in an image file. Not inheritable. More...
 
class  xtd::drawing::pen
 Defines an object used to draw lines and curves. This class cannot be inherited. More...
 
class  xtd::drawing::pens
 pens for all the standard colors. This class cannot be inherited. More...
 
class  xtd::drawing::point
 Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. More...
 
class  xtd::drawing::point_f
 Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane. More...
 
class  xtd::drawing::rectangle
 Stores a set of four integers that represent the location and size of a rectangle. More...
 
class  xtd::drawing::rectangle_f
 Stores a set of four floating-points that represent the location and size of a rectangle. More...
 
class  xtd::drawing::size
 Stores an ordered pair of integers, which specify a height and width. More...
 
class  xtd::drawing::size_f
 Stores an ordered pair of floating-point, which specify a height and width. More...
 
class  xtd::drawing::solid_brush
 Defines a xtd::drawing::brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited. More...
 
class  xtd::drawing::string_format
 Encapsulates text layout information (such as alignment, orientation and tab stops) display manipulations (such as ellipsis insertion and national digit substitution) and OpenType features. This class cannot be inherited. More...
 
class  xtd::drawing::system_brushes
 Each property of the xtd::drawing::system_brushes class is a xtd::drawing::solid_brush that is the color of a Windows display element. More...
 
class  xtd::drawing::system_colors
 Each property of the xtd::drawing::system_colors class is a xtd::drawing::color structure that is the color of a Windows display element. More...
 
class  xtd::drawing::system_fonts
 Specifies the fonts used to display text in Windows display elements. More...
 
class  xtd::drawing::system_icons
 Each property of the xtd::drawing::system_icons class is an xtd::drawing::icon object for Windows system-wide icons. This class cannot be inherited. More...
 
class  xtd::drawing::system_images
 Each property of the xtd::drawing::system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More...
 
class  xtd::drawing::system_pens
 Each property of the xtd::drawing::system_pens class is a xtd::drawing::xtd::drawing::pen that is the color of a Windows display element and that has a width of 1 pixel. More...
 
class  xtd::drawing::text::font_collection
 Provides a base class for installed and private font collections. More...
 
class  xtd::drawing::text::installed_font_collection
 Represents the fonts installed on the system. This class cannot be inherited. More...
 
class  xtd::drawing::text::private_font_collection
 Provides a collection of font families built from font files that are provided by the client application. More...
 
class  xtd::drawing::texture_brush
 Each property of the xtd::drawing::texture_brush class is a xtd::drawing::brush object that uses an image to fill the interior of a shape. This class cannot be inherited. More...
 

Enumerations

enum class  xtd::drawing::dash_style {
  xtd::drawing::solid ,
  xtd::drawing::dash ,
  xtd::drawing::dot ,
  xtd::drawing::dash_dot ,
  xtd::drawing::dash_dot_dot ,
  xtd::drawing::custom
}
 Specifies the style of dashed lines drawn with a xtd::drawing::pen object. More...
 
enum class  xtd::drawing::font_style {
  xtd::drawing::regular ,
  xtd::drawing::bold ,
  xtd::drawing::italic ,
  xtd::drawing::underline ,
  xtd::drawing::strikeout
}
 Specifies style information applied to text. This enumeration has a flags attribute that allows a bitwise combination of its member values. More...
 
enum class  xtd::drawing::text::generic_font_families {
  xtd::drawing::text::serif ,
  xtd::drawing::text::sans_serif ,
  xtd::drawing::text::monospace
}
 Specifies a generic font_family object. More...
 
enum class  xtd::drawing::graphics_unit {
  xtd::drawing::world ,
  xtd::drawing::display ,
  xtd::drawing::pixel ,
  xtd::drawing::point ,
  xtd::drawing::inch ,
  xtd::drawing::document ,
  xtd::drawing::millimeter
}
 Specifies the unit of measure for the given data. This enumeration has a flags attribute that allows a bitwise combination of its member values. More...
 
enum class  xtd::drawing::drawing2d::hatch_style {
  xtd::drawing::drawing2d::horizontal ,
  xtd::drawing::drawing2d::vertical ,
  xtd::drawing::drawing2d::forward_diagonal ,
  xtd::drawing::drawing2d::backward_diagonal ,
  xtd::drawing::drawing2d::cross ,
  xtd::drawing::drawing2d::diagonal_cross ,
  xtd::drawing::drawing2d::percent_05 ,
  xtd::drawing::drawing2d::percent_10 ,
  xtd::drawing::drawing2d::percent_20 ,
  xtd::drawing::drawing2d::percent_25 ,
  xtd::drawing::drawing2d::percent_30 ,
  xtd::drawing::drawing2d::percent_40 ,
  xtd::drawing::drawing2d::percent_50 ,
  xtd::drawing::drawing2d::percent_60 ,
  xtd::drawing::drawing2d::percent_70 ,
  xtd::drawing::drawing2d::percent_75 ,
  xtd::drawing::drawing2d::percent_80 ,
  xtd::drawing::drawing2d::percent_90 ,
  xtd::drawing::drawing2d::light_downward_diagonal ,
  xtd::drawing::drawing2d::light_upward_diagonal ,
  xtd::drawing::drawing2d::dark_downward_diagonal ,
  xtd::drawing::drawing2d::dark_upward_diagonal ,
  xtd::drawing::drawing2d::wide_downward_diagonal ,
  xtd::drawing::drawing2d::wide_upward_diagonal ,
  xtd::drawing::drawing2d::light_vertical ,
  xtd::drawing::drawing2d::light_horizontal ,
  xtd::drawing::drawing2d::narrow_vertical ,
  xtd::drawing::drawing2d::narrow_horizontal ,
  xtd::drawing::drawing2d::dark_vertical ,
  xtd::drawing::drawing2d::dark_horizontal ,
  xtd::drawing::drawing2d::dashed_downward_diagonal ,
  xtd::drawing::drawing2d::dashed_upward_diagonal ,
  xtd::drawing::drawing2d::dashed_horizontal ,
  xtd::drawing::drawing2d::dashed_vertical ,
  xtd::drawing::drawing2d::small_confetti ,
  xtd::drawing::drawing2d::large_confetti ,
  xtd::drawing::drawing2d::zig_zag ,
  xtd::drawing::drawing2d::wave ,
  xtd::drawing::drawing2d::diagonal_brick ,
  xtd::drawing::drawing2d::horizontal_brick ,
  xtd::drawing::drawing2d::weave ,
  xtd::drawing::drawing2d::plaid ,
  xtd::drawing::drawing2d::divot ,
  xtd::drawing::drawing2d::dotted_grid ,
  xtd::drawing::drawing2d::dotted_diamond ,
  xtd::drawing::drawing2d::shingle ,
  xtd::drawing::drawing2d::trellis ,
  xtd::drawing::drawing2d::sphere ,
  xtd::drawing::drawing2d::small_grid ,
  xtd::drawing::drawing2d::small_checker_board ,
  xtd::drawing::drawing2d::large_checker_board ,
  xtd::drawing::drawing2d::outlined_diamond ,
  xtd::drawing::drawing2d::solid_diamond
}
 Specifies the different patterns available for xtd::drawing::drawing2d::hatch_brush objects. More...
 
enum class  xtd::drawing::hotkey_prefix {
  xtd::drawing::none ,
  xtd::drawing::show ,
  xtd::drawing::hide
}
 Specifies the type of display for hot-key prefixes that relate to text. More...
 
enum class  xtd::drawing::text::hotkey_prefix {
  xtd::drawing::text::none ,
  xtd::drawing::text::show ,
  xtd::drawing::text::hide
}
 Specifies the type of display for hot-key prefixes that relate to text. More...
 
enum class  xtd::drawing::imaging::image_flags {
  xtd::drawing::imaging::none ,
  xtd::drawing::imaging::scalable ,
  xtd::drawing::imaging::has_alpha ,
  xtd::drawing::imaging::has_translucent ,
  xtd::drawing::imaging::partially_scalable ,
  xtd::drawing::imaging::color_space_rgb ,
  xtd::drawing::imaging::color_space_cmyk ,
  xtd::drawing::imaging::color_space_gray ,
  xtd::drawing::imaging::color_space_ycbcr ,
  xtd::drawing::imaging::color_space_ycck ,
  xtd::drawing::imaging::has_real_dpi ,
  xtd::drawing::imaging::has_real_pixel_size ,
  xtd::drawing::imaging::read_only ,
  xtd::drawing::imaging::caching
}
 Specifies the attributes of the pixel data contained in an xtd::drawing::image object. The xtd::drawing:iImage::flags property returns a member of this enumeration. More...
 
enum class  xtd::drawing::known_color {
  xtd::drawing::active_border ,
  xtd::drawing::active_caption ,
  xtd::drawing::active_caption_text ,
  xtd::drawing::app_workspace ,
  xtd::drawing::control ,
  xtd::drawing::control_dark ,
  xtd::drawing::control_dark_dark ,
  xtd::drawing::control_light ,
  xtd::drawing::control_light_light ,
  xtd::drawing::control_text ,
  xtd::drawing::desktop ,
  xtd::drawing::gray_text ,
  xtd::drawing::highlight ,
  xtd::drawing::highlight_text ,
  xtd::drawing::hot_track ,
  xtd::drawing::inactive_border ,
  xtd::drawing::inactive_caption ,
  xtd::drawing::inactive_caption_text ,
  xtd::drawing::info ,
  xtd::drawing::info_text ,
  xtd::drawing::menu ,
  xtd::drawing::menu_text ,
  xtd::drawing::scroll_bar ,
  xtd::drawing::window ,
  xtd::drawing::window_frame ,
  xtd::drawing::window_text ,
  xtd::drawing::transparent ,
  xtd::drawing::alice_blue ,
  xtd::drawing::antique_white ,
  xtd::drawing::aqua ,
  xtd::drawing::aquamarine ,
  xtd::drawing::azure ,
  xtd::drawing::beige ,
  xtd::drawing::bisque ,
  xtd::drawing::black ,
  xtd::drawing::blanched_almond ,
  xtd::drawing::blue ,
  xtd::drawing::blue_violet ,
  xtd::drawing::brown ,
  xtd::drawing::burly_wood ,
  xtd::drawing::cadet_blue ,
  xtd::drawing::chartreuse ,
  xtd::drawing::chocolate ,
  xtd::drawing::coral ,
  xtd::drawing::cornflower_blue ,
  xtd::drawing::cornsilk ,
  xtd::drawing::crimson ,
  xtd::drawing::cyan ,
  xtd::drawing::dark_blue ,
  xtd::drawing::dark_cyan ,
  xtd::drawing::dark_goldenrod ,
  xtd::drawing::dark_gray ,
  xtd::drawing::dark_green ,
  xtd::drawing::dark_khaki ,
  xtd::drawing::dark_magenta ,
  xtd::drawing::dark_olive_green ,
  xtd::drawing::dark_orange ,
  xtd::drawing::dark_orchid ,
  xtd::drawing::dark_red ,
  xtd::drawing::dark_salmon ,
  xtd::drawing::dark_sea_green ,
  xtd::drawing::dark_slate_blue ,
  xtd::drawing::dark_slate_gray ,
  xtd::drawing::dark_turquoise ,
  xtd::drawing::dark_violet ,
  xtd::drawing::deep_pink ,
  xtd::drawing::deep_sky_blue ,
  xtd::drawing::dim_gray ,
  xtd::drawing::dodger_blue ,
  xtd::drawing::firebrick ,
  xtd::drawing::floral_white ,
  xtd::drawing::forest_green ,
  xtd::drawing::fuchsia ,
  xtd::drawing::gainsboro ,
  xtd::drawing::ghost_white ,
  xtd::drawing::gold ,
  xtd::drawing::goldenrod ,
  xtd::drawing::gray ,
  xtd::drawing::green ,
  xtd::drawing::green_yellow ,
  xtd::drawing::honeydew ,
  xtd::drawing::hot_pink ,
  xtd::drawing::indian_red ,
  xtd::drawing::indigo ,
  xtd::drawing::ivory ,
  xtd::drawing::khaki ,
  xtd::drawing::lavender ,
  xtd::drawing::lavender_blush ,
  xtd::drawing::lawn_green ,
  xtd::drawing::lemon_chiffon ,
  xtd::drawing::light_blue ,
  xtd::drawing::light_coral ,
  xtd::drawing::light_cyan ,
  xtd::drawing::light_goldenrod_yellow ,
  xtd::drawing::light_gray ,
  xtd::drawing::light_green ,
  xtd::drawing::light_pink ,
  xtd::drawing::light_salmon ,
  xtd::drawing::light_sea_green ,
  xtd::drawing::light_sky_blue ,
  xtd::drawing::light_slate_gray ,
  xtd::drawing::light_steel_blue ,
  xtd::drawing::light_yellow ,
  xtd::drawing::lime ,
  xtd::drawing::lime_green ,
  xtd::drawing::linen ,
  xtd::drawing::magenta ,
  xtd::drawing::maroon ,
  xtd::drawing::medium_aquamarine ,
  xtd::drawing::medium_blue ,
  xtd::drawing::medium_orchid ,
  xtd::drawing::medium_purple ,
  xtd::drawing::medium_sea_green ,
  xtd::drawing::medium_slate_blue ,
  xtd::drawing::medium_spring_green ,
  xtd::drawing::medium_turquoise ,
  xtd::drawing::medium_violet_red ,
  xtd::drawing::midnight_blue ,
  xtd::drawing::mint_cream ,
  xtd::drawing::misty_rose ,
  xtd::drawing::moccasin ,
  xtd::drawing::navajo_white ,
  xtd::drawing::navy ,
  xtd::drawing::old_lace ,
  xtd::drawing::olive ,
  xtd::drawing::olive_drab ,
  xtd::drawing::orange ,
  xtd::drawing::orange_red ,
  xtd::drawing::orchid ,
  xtd::drawing::pale_goldenrod ,
  xtd::drawing::pale_green ,
  xtd::drawing::pale_turquoise ,
  xtd::drawing::pale_violet_red ,
  xtd::drawing::papaya_whip ,
  xtd::drawing::peach_puff ,
  xtd::drawing::peru ,
  xtd::drawing::pink ,
  xtd::drawing::plum ,
  xtd::drawing::powder_blue ,
  xtd::drawing::purple ,
  xtd::drawing::rebecca_purple ,
  xtd::drawing::red ,
  xtd::drawing::rosy_brown ,
  xtd::drawing::royal_blue ,
  xtd::drawing::saddle_brown ,
  xtd::drawing::salmon ,
  xtd::drawing::sandy_brown ,
  xtd::drawing::sea_green ,
  xtd::drawing::sea_shell ,
  xtd::drawing::sienna ,
  xtd::drawing::silver ,
  xtd::drawing::sky_blue ,
  xtd::drawing::slate_blue ,
  xtd::drawing::slate_gray ,
  xtd::drawing::snow ,
  xtd::drawing::spring_green ,
  xtd::drawing::steel_blue ,
  xtd::drawing::tan ,
  xtd::drawing::teal ,
  xtd::drawing::thistle ,
  xtd::drawing::tomato ,
  xtd::drawing::turquoise ,
  xtd::drawing::violet ,
  xtd::drawing::wheat ,
  xtd::drawing::white ,
  xtd::drawing::white_smoke ,
  xtd::drawing::yellow ,
  xtd::drawing::yellow_green ,
  xtd::drawing::button_face ,
  xtd::drawing::button_highlight ,
  xtd::drawing::button_shadow ,
  xtd::drawing::gradient_active_caption ,
  xtd::drawing::gradient_inactive_caption ,
  xtd::drawing::menu_bar ,
  xtd::drawing::menu_highlight ,
  xtd::drawing::accent ,
  xtd::drawing::accent_text ,
  xtd::drawing::text_box ,
  xtd::drawing::text_box_text
}
 Specifies the known system colors. More...
 
enum class  xtd::drawing::drawing2d::linear_gradient_mode {
  xtd::drawing::drawing2d::horizontal ,
  xtd::drawing::drawing2d::vertical ,
  xtd::drawing::drawing2d::forward_diagonal ,
  xtd::drawing::drawing2d::backward_diagonal
}
 Specifies the direction of a linear gradient. More...
 
enum class  xtd::drawing::drawing2d::pen_alignment {
  xtd::drawing::drawing2d::center ,
  xtd::drawing::drawing2d::inset ,
  xtd::drawing::drawing2d::outset ,
  xtd::drawing::drawing2d::left ,
  xtd::drawing::drawing2d::right
}
 SSpecifies the alignment of a xtd::drawing::pen object in relation to the theoretical, zero-width line. More...
 
enum class  xtd::drawing::drawing2d::pen_type {
  xtd::drawing::drawing2d::solid_color ,
  xtd::drawing::drawing2d::hatch_fill ,
  xtd::drawing::drawing2d::texture_fill ,
  xtd::drawing::drawing2d::path_gradient ,
  xtd::drawing::drawing2d::linear_gradient
}
 Specifies the type of fill a xtd::drawing::pen object uses to fill lines. More...
 
enum class  xtd::drawing::imaging::pixel_format {
  xtd::drawing::imaging::undefined ,
  xtd::drawing::imaging::dont_care ,
  xtd::drawing::imaging::max ,
  xtd::drawing::imaging::indexed ,
  xtd::drawing::imaging::gdi ,
  xtd::drawing::imaging::format16bpp_rgb555 ,
  xtd::drawing::imaging::format16bpp_rgb565 ,
  xtd::drawing::imaging::format24bpp_rgb ,
  xtd::drawing::imaging::format32bpp_rgb ,
  xtd::drawing::imaging::format1bpp_indexed ,
  xtd::drawing::imaging::format4bpp_indexed ,
  xtd::drawing::imaging::format8bpp_indexed ,
  xtd::drawing::imaging::alpha ,
  xtd::drawing::imaging::format16bpp_argb1555 ,
  xtd::drawing::imaging::palpha ,
  xtd::drawing::imaging::format32bpp_pargb ,
  xtd::drawing::imaging::extended ,
  xtd::drawing::imaging::format16bpp_gray_scale ,
  xtd::drawing::imaging::format48bpp_rgb ,
  xtd::drawing::imaging::format64bpp_pargb ,
  xtd::drawing::imaging::canonical ,
  xtd::drawing::imaging::format32bpp_argb ,
  xtd::drawing::imaging::format64bpp_argb
}
 Specifies the format of the color data for each pixel in the image. More...
 
enum class  xtd::drawing::string_alignment {
  xtd::drawing::near ,
  xtd::drawing::center ,
  xtd::drawing::far
}
 Specifies the alignment of a text string relative to its layout rectangle. More...
 
enum class  xtd::drawing::string_format_flags {
  xtd::drawing::direction_right_to_left ,
  xtd::drawing::direction_vertical ,
  xtd::drawing::fit_black_box ,
  xtd::drawing::display_format_control ,
  xtd::drawing::no_font_fallback ,
  xtd::drawing::measure_trailing_spaces ,
  xtd::drawing::no_wrap ,
  xtd::drawing::line_limit ,
  xtd::drawing::no_clip
}
 Specifies the display and layout information for text strings. This enumeration allows a bitwise combination of its member values. More...
 
enum class  xtd::drawing::string_trimming {
  xtd::drawing::none ,
  xtd::drawing::character ,
  xtd::drawing::word ,
  xtd::drawing::ellipsis_character ,
  xtd::drawing::ellipsis_word ,
  xtd::drawing::ellipsis_path
}
 Specifies how to trim characters from a string that does not completely fit into a layout shape. More...
 
enum class  xtd::drawing::text::text_rendering_hint {
  xtd::drawing::text::system_default ,
  xtd::drawing::text::single_bit_per_pixel_grid_fit ,
  xtd::drawing::text::single_bit_per_pixel ,
  xtd::drawing::text::anti_alias_grid_fit ,
  xtd::drawing::text::anti_alias ,
  xtd::drawing::text::clear_type_grid_fit
}
 Specifies the quality of text rendering. More...
 

Enumeration Type Documentation

◆ dash_style

#include <xtd.drawing/include/xtd/drawing/dash_style.h>

Specifies the style of dashed lines drawn with a xtd::drawing::pen object.

Namespace
xtd::drawing
Library
xtd.drawing
Remarks
To define a custom dash_style, set the dash_pattern property of the xtd::drawing::pen.
Enumerator
solid 

Specifies a solid line.

dash 

Specifies a line consisting of dashes.

dot 

Specifies a line consisting of dots.

dash_dot 

Specifies a line consisting of a repeating pattern of dash-dot.

dash_dot_dot 

Specifies a line consisting of a repeating pattern of dash-dot-dot.

custom 

Specifies a user-defined custom dash style.

◆ font_style

#include <xtd.drawing/include/xtd/drawing/font_style.h>

Specifies style information applied to text. This enumeration has a flags attribute that allows a bitwise combination of its member values.

Namespace
xtd::drawing
Library
xtd.drawing
Enumerator
regular 

Normal text.

bold 

Bold text.

italic 

Italic text.

underline 

Underline text.

strikeout 

Text with a line through the middle.

◆ generic_font_families

#include <xtd.drawing/include/xtd/drawing/text/generic_font_families.h>

Specifies a generic font_family object.

Namespace
xtd::drawing::text
Library
xtd.drawing
Enumerator
serif 

A generic Serif font_family object.

sans_serif 

A generic Sans Serif font_family object.

monospace 

A generic Monospace font_family object.

◆ graphics_unit

#include <xtd.drawing/include/xtd/drawing/graphics_unit.h>

Specifies the unit of measure for the given data. This enumeration has a flags attribute that allows a bitwise combination of its member values.

Namespace
xtd::drawing
Library
xtd.drawing
Enumerator
world 

Specifies the world coordinate system unit as the unit of measure.

display 

Specifies 1/75 inch as the unit of measure.

pixel 

Specifies a device pixel as the unit of measure.

point 

Specifies a printer's point (1/72 inch) as the unit of measure.

inch 

Specifies the inch as the unit of measure.

document 

Specifies the document unit (1/300 inch) as the unit of measure.

millimeter 

Specifies the millimeter as the unit of measure.

◆ hatch_style

#include <xtd.drawing/include/xtd/drawing/drawing2d/hatch_style.h>

Specifies the different patterns available for xtd::drawing::drawing2d::hatch_brush objects.

Namespace
xtd::drawing::drawing2d
Library
xtd.drawing
Enumerator
horizontal 

A pattern of horizontal lines.

vertical 

A pattern of vertical lines.

forward_diagonal 

A pattern of lines on a diagonal from upper left to lower right.

backward_diagonal 

A pattern of lines on a diagonal from upper right to lower left.

cross 

Specifies horizontal and vertical lines that cross.

diagonal_cross 

A pattern of crisscross diagonal lines.

percent_05 

Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:95.

percent_10 

Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:90.

percent_20 

Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:80.

percent_25 

Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.

percent_30 

Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:70.

percent_40 

Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:60.

percent_50 

Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.

percent_60 

Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:40.

percent_70 

Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:30.

percent_75 

Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.

percent_80 

Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:20.

percent_90 

Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:10.

light_downward_diagonal 

Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than forward_diagonal, but are not antialiased.

light_upward_diagonal 

Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than backward_diagonal, but they are not antialiased.

dark_downward_diagonal 

Specifies diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than, and are twice the width of forward_diagonal. This hatch pattern is not antialiased.

dark_upward_diagonal 

Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than backward_diagonal, and are twice its width, but the lines are not antialiased.

wide_downward_diagonal 

Specifies diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style forward_diagonal, and are triple its width, but are not antialiased.

wide_upward_diagonal 

Specifies diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style backward_diagonal, and are triple its width, but are not antialiased.

light_vertical 

Specifies vertical lines that are spaced 50 percent closer together than vertical.

light_horizontal 

Specifies horizontal lines that are spaced 50 percent closer together than horizontal.

narrow_vertical 

Specifies vertical lines that are spaced 75 percent closer together than hatch style vertical (or 25 percent closer together than light_vertical).

narrow_horizontal 

Specifies horizontal lines that are spaced 75 percent closer together than hatch style horizontal (or 25 percent closer together than light_horizontal).

dark_vertical 

Specifies vertical lines that are spaced 50 percent closer together than vertical and are twice its width.

dark_horizontal 

Specifies horizontal lines that are spaced 50 percent closer together than horizontal and are twice the width of horizontal.

dashed_downward_diagonal 

Specifies dashed diagonal lines, that slant to the right from top points to bottom points.

dashed_upward_diagonal 

Specifies dashed diagonal lines, that slant to the left from top points to bottom points.

dashed_horizontal 

Specifies dashed horizontal lines.

dashed_vertical 

Specifies dashed vertical lines.

small_confetti 

Specifies a hatch that has the appearance of confetti.

large_confetti 

Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than small_confetti.

zig_zag 

Specifies horizontal lines that are composed of zigzags.

wave 

Specifies horizontal lines that are composed of tildes.

diagonal_brick 

Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.

horizontal_brick 

Specifies a hatch that has the appearance of horizontally layered bricks.

weave 

Specifies a hatch that has the appearance of a woven material.

plaid 

Specifies a hatch that has the appearance of a plaid material.

divot 

Specifies a hatch that has the appearance of divots.

dotted_grid 

Specifies horizontal and vertical lines, each of which is composed of dots, that cross.

dotted_diamond 

Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.

shingle 

Specifies a hatch that has the appearance of diagonally layered shingles that slant to the right from top points to bottom points.

trellis 

Specifies a hatch that has the appearance of a trellis.

sphere 

Specifies a hatch that has the appearance of spheres laid adjacent to one another.

small_grid 

Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style cross.

small_checker_board 

Specifies a hatch that has the appearance of a checkerboard.

large_checker_board 

Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of small_checker_board.

outlined_diamond 

Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.

solid_diamond 

Specifies a hatch that has the appearance of a checkerboard placed diagonally.

◆ hotkey_prefix [1/2]

#include <xtd.drawing/include/xtd/drawing/hotkey_prefix.h>

Specifies the type of display for hot-key prefixes that relate to text.

Namespace
xtd::drawing
Library
xtd.drawing
Remarks
A hot-key prefix allows you to use a keyboard combination (usually CTRL+HotKey or ALT+HotKey) to access functionality represented by text displayed on the screen.
Enumerator
none 

No hot-key prefix.

show 

Display the hot-key prefix.

hide 

Do not display the hot-key prefix.

◆ hotkey_prefix [2/2]

#include <xtd.drawing/include/xtd/drawing/text/hotkey_prefix.h>

Specifies the type of display for hot-key prefixes that relate to text.

Namespace
xtd::drawing::text
Library
xtd.drawing
Remarks
A hot-key prefix allows you to use a keyboard combination (usually CTRL+HotKey or ALT+HotKey) to access functionality represented by text displayed on the screen.
Enumerator
none 

No hot-key prefix.

show 

Display the hot-key prefix.

hide 

Do not display the hot-key prefix.

◆ image_flags

#include <xtd.drawing/include/xtd/drawing/imaging/image_flags.h>

Specifies the attributes of the pixel data contained in an xtd::drawing::image object. The xtd::drawing:iImage::flags property returns a member of this enumeration.

Namespace
xtd::drawing::imaging
Library
xtd.drawing
Enumerator
none 

There is no format information.

scalable 

The pixel data is scalable.

has_alpha 

The pixel data contains alpha information.

has_translucent 

Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque).

partially_scalable 

The pixel data is partially scalable, but there are some limitations.

color_space_rgb 

The pixel data uses an RGB color space.

color_space_cmyk 

The pixel data uses a CMYK color space.

color_space_gray 

The pixel data is grayscale.

color_space_ycbcr 

Specifies that the image is stored using a YCBCR color space.

color_space_ycck 

Specifies that the image is stored using a YCCK color space.

has_real_dpi 

Specifies that dots per inch information is stored in the image.

has_real_pixel_size 

Specifies that the pixel size is stored in the image.

read_only 

The pixel data is read-only.

caching 

The pixel data can be cached for faster access.

◆ known_color

#include <xtd.drawing/include/xtd/drawing/known_color.h>

Specifies the known system colors.

Namespace
xtd::drawing
Library
xtd.drawing
See also
xtd::drawing::color
Enumerator
active_border 

The system-defined color of the active window's border.

active_caption 

The system-defined color of the background of the active window's title bar.

active_caption_text 

The system-defined color of the text in the active window's title bar.

app_workspace 

The system-defined color of the application workspace. The application workspace is the area in a multiple-document view that is not being occupied by documents.

control 

The system-defined face color of a 3-D element.

control_dark 

The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D element that face away from the light source.

control_dark_dark 

The system-defined color that is the dark shadow color of a 3-D element. The dark shadow color is applied to the parts of a 3-D element that are the darkest color.

control_light 

The system-defined color that is the light color of a 3-D element. The light color is applied to parts of a 3-D element that face the light source.

control_light_light 

The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a 3-D element that are the lightest color.

control_text 

The system-defined color of text in a 3-D element.

desktop 

The system-defined color of the desktop.

gray_text 

The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed text.

highlight 

The system-defined color of the background of selected items. This includes selected menu items as well as selected text.

highlight_text 

The system-defined color of the text of selected items.

hot_track 

The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item executes the item.

inactive_border 

The system-defined color of an inactive window's border.

inactive_caption 

The system-defined color of the background of an inactive window's title bar.

inactive_caption_text 

The system-defined color of the text in an inactive window's title bar.

info 

The system-defined color of the background of a ToolTip.

info_text 

The system-defined color of the text of a ToolTip.

menu 

The system-defined color of a menu's background.

menu_text 

The system-defined color of a menu's text.

scroll_bar 

The system-defined color of the background of a scroll bar.

window 

The system-defined color of the background in the client area of a window.

window_frame 

The system-defined color of a window frame.

window_text 

The system-defined color of the text in the client area of a window.

transparent 

A system-defined color.

alice_blue 

A system-defined color.

antique_white 

A system-defined color.

aqua 

A system-defined color.

aquamarine 

A system-defined color.

azure 

A system-defined color.

beige 

A system-defined color.

bisque 

A system-defined color.

black 

A system-defined color.

blanched_almond 

A system-defined color.

blue 

A system-defined color.

blue_violet 

A system-defined color.

brown 

A system-defined color.

burly_wood 

A system-defined color.

cadet_blue 

A system-defined color.

chartreuse 

A system-defined color.

chocolate 

A system-defined color.

coral 

A system-defined color.

cornflower_blue 

A system-defined color.

cornsilk 

A system-defined color.

crimson 

A system-defined color.

cyan 

A system-defined color.

dark_blue 

A system-defined color.

dark_cyan 

A system-defined color.

dark_goldenrod 

A system-defined color.

dark_gray 

A system-defined color.

dark_green 

A system-defined color.

dark_khaki 

A system-defined color.

dark_magenta 

A system-defined color.

dark_olive_green 

A system-defined color.

dark_orange 

A system-defined color.

dark_orchid 

A system-defined color.

dark_red 

A system-defined color.

dark_salmon 

A system-defined color.

dark_sea_green 

A system-defined color.

dark_slate_blue 

A system-defined color.

dark_slate_gray 

A system-defined color.

dark_turquoise 

A system-defined color.

dark_violet 

A system-defined color.

deep_pink 

A system-defined color.

deep_sky_blue 

A system-defined color.

dim_gray 

A system-defined color.

dodger_blue 

A system-defined color.

firebrick 

A system-defined color.

floral_white 

A system-defined color.

forest_green 

A system-defined color.

fuchsia 

A system-defined color.

gainsboro 

A system-defined color.

ghost_white 

A system-defined color.

gold 

A system-defined color.

goldenrod 

A system-defined color.

gray 

A system-defined color.

green 

A system-defined color.

green_yellow 

A system-defined color.

honeydew 

A system-defined color.

hot_pink 

A system-defined color.

indian_red 

A system-defined color.

indigo 

A system-defined color.

ivory 

A system-defined color.

khaki 

A system-defined color.

lavender 

A system-defined color.

lavender_blush 

A system-defined color.

lawn_green 

A system-defined color.

lemon_chiffon 

A system-defined color.

light_blue 

A system-defined color.

light_coral 

A system-defined color.

light_cyan 

A system-defined color.

light_goldenrod_yellow 

A system-defined color.

light_gray 

A system-defined color.

light_green 

A system-defined color.

light_pink 

A system-defined color.

light_salmon 

A system-defined color.

light_sea_green 

A system-defined color.

light_sky_blue 

A system-defined color.

light_slate_gray 

A system-defined color.

light_steel_blue 

A system-defined color.

light_yellow 

A system-defined color.

lime 

A system-defined color.

lime_green 

A system-defined color.

linen 

A system-defined color.

magenta 

A system-defined color.

maroon 

A system-defined color.

medium_aquamarine 

A system-defined color.

medium_blue 

A system-defined color.

medium_orchid 

A system-defined color.

medium_purple 

A system-defined color.

medium_sea_green 

A system-defined color.

medium_slate_blue 

A system-defined color.

medium_spring_green 

A system-defined color.

medium_turquoise 

A system-defined color.

medium_violet_red 

A system-defined color.

midnight_blue 

A system-defined color.

mint_cream 

A system-defined color.

misty_rose 

A system-defined color.

moccasin 

A system-defined color.

navajo_white 

A system-defined color.

navy 

A system-defined color.

old_lace 

A system-defined color.

olive 

A system-defined color.

olive_drab 

A system-defined color.

orange 

A system-defined color.

orange_red 

A system-defined color.

orchid 

A system-defined color.

pale_goldenrod 

A system-defined color.

pale_green 

A system-defined color.

pale_turquoise 

A system-defined color.

pale_violet_red 

A system-defined color.

papaya_whip 

A system-defined color.

peach_puff 

A system-defined color.

peru 

A system-defined color.

pink 

A system-defined color.

plum 

A system-defined color.

powder_blue 

A system-defined color.

purple 

A system-defined color.

rebecca_purple 

A system-defined color.

red 

A system-defined color.

rosy_brown 

A system-defined color.

royal_blue 

A system-defined color.

saddle_brown 

A system-defined color.

salmon 

A system-defined color.

sandy_brown 

A system-defined color.

sea_green 

A system-defined color.

sea_shell 

A system-defined color.

sienna 

A system-defined color.

silver 

A system-defined color.

sky_blue 

A system-defined color.

slate_blue 

A system-defined color.

slate_gray 

A system-defined color.

snow 

A system-defined color.

spring_green 

A system-defined color.

steel_blue 

A system-defined color.

tan 

A system-defined color.

teal 

A system-defined color.

thistle 

A system-defined color.

tomato 

A system-defined color.

turquoise 

A system-defined color.

violet 

A system-defined color.

wheat 

A system-defined color.

white 

A system-defined color.

white_smoke 

A system-defined color.

yellow 

A system-defined color.

yellow_green 

A system-defined color.

button_face 

The system-defined face color of a 3-D element.

button_highlight 

The system-defined color that is the highlight color of a 3-D element. This color is applied to parts of a 3-D element that face the light source.

button_shadow 

The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of a 3-D element that face away from the light source.

gradient_active_caption 

The system-defined color of the lightest color in the color gradient of an active window's title bar.

gradient_inactive_caption 

The system-defined color of the lightest color in the color gradient of an inactive window's title bar.

menu_bar 

The system-defined color of the background of a menu bar.

menu_highlight 

The system-defined color used to highlight menu items when the menu appears as a flat menu.

accent 

The system-defined color of the accent color (macos specific. On other platform is same as menu_highlight).

accent_text 

The system-defined color of the accent text color (macos specific. On other platform is same as highlight_text).

text_box 

The system-defined color of the accent color (macos specific. On other platform is same as window).

text_box_text 

The system-defined color of the accent text color (macos specific. On other platform is same as window_text).

◆ linear_gradient_mode

#include <xtd.drawing/include/xtd/drawing/drawing2d/linear_gradient_mode.h>

Specifies the direction of a linear gradient.

Namespace
xtd::drawing::drawing2d
Library
xtd.drawing
Enumerator
horizontal 

Specifies a gradient from left to right.

vertical 

Specifies a gradient from top to bottom.

forward_diagonal 

Specifies a gradient from upper left to lower right.

backward_diagonal 

Specifies a gradient from upper right to lower left.

◆ pen_alignment

#include <xtd.drawing/include/xtd/drawing/drawing2d/pen_alignment.h>

SSpecifies the alignment of a xtd::drawing::pen object in relation to the theoretical, zero-width line.

Namespace
xtd::drawing::drawing2d
Library
xtd.drawing
Remarks
A xtd::drawing::pen object has width. The center point of this pen width is aligned relative to the line being drawn depending on the alignment value. A xtd::drawing::pen object can be positioned to draw inside of a line or centered over the line.
See also
xtd::drawing::pen
Enumerator
center 

Specifies that the xtd::drawing::pen object is centered over the theoretical line.

inset 

Specifies that the xtd::drawing::pen is positioned on the inside of the theoretical line.

outset 

Specifies the xtd::drawing::pen is positioned on the outside of the theoretical line.

left 

Specifies the xtd::drawing::pen is positioned to the left of the theoretical line.

right 

Specifies the xtd::drawing::pen is positioned to the right of the theoretical line.

◆ pen_type

#include <xtd.drawing/include/xtd/drawing/drawing2d/pen_type.h>

Specifies the type of fill a xtd::drawing::pen object uses to fill lines.

Namespace
xtd::drawing::drawing2d
Library
xtd.drawing
Remarks
The pen type is determined by the brush property of the xtd::drawing::pen object.
Enumerator
solid_color 

Specifies a solid fill.

hatch_fill 

Specifies a hatch fill.

texture_fill 

Specifies a bitmap texture fill.

path_gradient 

Specifies a path gradient fill.

linear_gradient 

Specifies a linear gradient fill.

◆ pixel_format

#include <xtd.drawing/include/xtd/drawing/imaging/pixel_format.h>

Specifies the format of the color data for each pixel in the image.

Namespace
xtd::drawing::imaging
Library
xtd.drawing
Remarks
The pixel format defines the number of bits of memory associated with one pixel of data. The format also defines the order of the color components within a single pixel of data.
PixelFormat48bppRGB, PixelFormat64bppARGB, and PixelFormat64bppPARGB use 16 bits per color component (channel). GDI+ version 1.0 and 1.1 can read 16-bits-per-channel images, but such images are converted to an 8-bits-per-channel format for processing, displaying, and saving. Each 16-bit color channel can hold a value in the range 0 through 2^13.
Some of the pixel formats contain premultiplied color values. Premultiplied means that the color values have already been multiplied by an alpha value.
Enumerator
undefined 

The pixel format is undefined.

dont_care 

No pixel format is specified.

max 

The maximum value for this enumeration.

indexed 

The pixel data contains color-indexed values, which means the values are an index to colors in the system color table, as opposed to individual color values.

gdi 

The pixel data contains GDI colors.

format16bpp_rgb555 

Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.

format16bpp_rgb565 

Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.

format24bpp_rgb 

Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.

format32bpp_rgb 

Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.

format1bpp_indexed 

Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it.

format4bpp_indexed 

Specifies that the format is 4 bits per pixel, indexed.

format8bpp_indexed 

Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it.

alpha 

The pixel data contains alpha values that are not premultiplied.

format16bpp_argb1555 

The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color, of which 5 bits are red, 5 bits are green, 5 bits are blue, and 1 bit is alpha.

palpha 

The pixel format contains premultiplied alpha values.

format32bpp_pargb 

Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied, according to the alpha component.

extended 

Reserved.

format16bpp_gray_scale 

The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.

format48bpp_rgb 

Specifies that the format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.

format64bpp_pargb 

Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.

canonical 

The default pixel format of 32 bits per pixel. The format specifies 24-bit color depth and an 8-bit alpha channel.

format32bpp_argb 

Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.

format64bpp_argb 

Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.

◆ string_alignment

#include <xtd.drawing/include/xtd/drawing/string_alignment.h>

Specifies the alignment of a text string relative to its layout rectangle.

Namespace
xtd::drawing
Library
xtd.drawing
Remarks
When used with the line_alignment property, this enumeration sets the vertical alignment for a drawn string. When used with the alignment property, this enumeration sets the horizontal alignment.
Enumerator
near 

Specifies the text be aligned near the layout. In a left-to-right layout, the near position is left. In a right-to-left layout, the near position is right.

center 

Specifies that text is aligned in the center of the layout rectangle.

far 

Specifies that text is aligned far from the origin position of the layout rectangle. In a left-to-right layout, the far position is right. In a right-to-left layout, the far position is left.

◆ string_format_flags

#include <xtd.drawing/include/xtd/drawing/string_format_flags.h>

Specifies the display and layout information for text strings. This enumeration allows a bitwise combination of its member values.

Namespace
xtd::drawing
Library
xtd.drawing
Enumerator
direction_right_to_left 

Text is displayed from right to left. text.

direction_vertical 

Text is vertically aligned.

fit_black_box 

Parts of characters are allowed to overhang the string's layout rectangle. By default, characters are repositioned to avoid any overhang.

display_format_control 

Control characters such as the left-to-right mark are shown in the output with a representative glyph.

no_font_fallback 

Fallback to alternate fonts for characters not supported in the requested font is disabled. Any missing characters are displayed with the fonts missing glyph, usually an open square.

measure_trailing_spaces 

Includes the trailing space at the end of each line. By default the boundary rectangle returned by the MeasureString method excludes the space at the end of each line. Set this flag to include that space in measurement.

no_wrap 

Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when a point is passed instead of a rectangle, or when the specified rectangle has a zero line length.

line_limit 

Only entire lines are laid out in the formatting rectangle. By default layout continues until the end of the text, or until no more lines are visible as a result of clipping, whichever comes first. Note that the default settings allow the last line to be partially obscured by a formatting rectangle that is not a whole multiple of the line height. To ensure that only whole lines are seen, specify this value and be careful to provide a formatting rectangle at least as tall as the height of one line.

no_clip 

Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show. By default all text and glyph parts reaching outside the formatting rectangle are clipped.

◆ string_trimming

#include <xtd.drawing/include/xtd/drawing/string_trimming.h>

Specifies how to trim characters from a string that does not completely fit into a layout shape.

Namespace
xtd::drawing
Library
xtd.drawing
Enumerator
none 

Specifies no trimming.

character 

Specifies that the text is trimmed to the nearest character.

word 

Specifies that text is trimmed to the nearest word.

ellipsis_character 

Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.

ellipsis_word 

Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.

ellipsis_path 

The center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of the last slash-delimited segment of the line as possible.

◆ text_rendering_hint

#include <xtd.drawing/include/xtd/drawing/text/text_rendering_hint.h>

Specifies the quality of text rendering.

Namespace
xtd::drawing::text
Library
xtd.drawing
Remarks
The quality ranges from text (fastest performance, but lowest quality) to antialiased text (better quality, but slower performance) to ClearType text (best quality on an LCD display).
Enumerator
system_default 

Each character is drawn using its glyph bitmap, with the system default rendering hint. The text will be drawn using whatever font-smoothing settings the user has selected for the system.

single_bit_per_pixel_grid_fit 

Each character is drawn using its glyph bitmap. Hinting is used to improve character appearance on stems and curvature.

single_bit_per_pixel 

Each character is drawn using its glyph bitmap. Hinting is not used.

anti_alias_grid_fit 

Each character is drawn using its antialiased glyph bitmap with hinting. Much better quality due to antialiasing, but at a higher performance cost.

anti_alias 

Each character is drawn using its antialiased glyph bitmap without hinting. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off.

clear_type_grid_fit 

Each character is drawn using its glyph ClearType bitmap with hinting. The highest quality setting. Used to take advantage of ClearType font features.