The xtd.drawing library provides access to GDI+ basic graphics functionality.
![]() |
Classes | |
class | xtd::drawing::actions_system_images |
Each property of the xtd::drawing::actions_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::animations_system_images |
Each property of the xtd::drawing::animations_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::applications_system_images |
Each property of the xtd::drawing::applications_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::basic_colors |
Basic colors for all the hmtl basic colors. This class cannot be inherited. More... | |
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::blue_colors |
Blue colors for all the hmtl blue colors. This class cannot be inherited. More... | |
class | xtd::drawing::brown_colors |
Brown colors for all the hmtl brown colors. This class cannot be inherited. 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::buffered_graphics |
Provides a graphics buffer for double buffering. More... | |
class | xtd::drawing::buffered_graphics_context |
Provides methods for creating graphics buffers that can be used for double buffering. More... | |
class | xtd::drawing::categories_system_images |
Each property of the xtd::drawing::categories_system_images class is an xtd::drawing::image object for Windows system-wide images. 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::cyan_colors |
Cyan colors for all the hmtl cyan colors. This class cannot be inherited. More... | |
class | xtd::drawing::devices_system_images |
Each property of the xtd::drawing::devices_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::drawing_2d::conical_gradient_brush |
Encapsulates a xtd::drawing::brush with a conical gradient. This class cannot be inherited. More... | |
class | xtd::drawing::drawing_2d::graphics_path |
Defines an object used to draw lines and curves. This class cannot be inherited. More... | |
class | xtd::drawing::drawing_2d::graphics_state |
Represents the state of a xtd::drawing::graphics object. This object is returned by a call to the xtd::drawing::graphics::save() methods. This class cannot be inherited. More... | |
class | xtd::drawing::drawing_2d::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::drawing_2d::linear_gradient_brush |
Encapsulates a xtd::drawing::brush with a linear gradient. This class cannot be inherited. More... | |
class | xtd::drawing::drawing_2d::matrix |
Encapsulates a 3-by-3 affine matrix that represents a geometric transform. This class cannot be inherited. More... | |
class | xtd::drawing::drawing_2d::radial_gradient_brush |
Encapsulates a xtd::drawing::brush with a radial gradient. This class cannot be inherited. More... | |
class | xtd::drawing::emblems_system_images |
Each property of the xtd::drawing::emblems_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::emotes_system_images |
Each property of the xtd::drawing::emotes_system_images class is an xtd::drawing::image object for Windows system-wide images. 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::gray_colors |
Gray and black colors for all the hmtl gray and black colors. This class cannot be inherited. More... | |
class | xtd::drawing::green_colors |
Green colors for all the hmtl green colors. 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::bitmap_data |
Specifies the attributes of a bitmap image. The xtd::drawing::imaging::bitmap_data class is used by the xtd::drawing::bitmap::lock_bits and xtd::drawing::bitmap::unlock_bits methods of the xtd::drawing::bitmap class. Not inheritable. 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::encoder |
An Encoder object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter. More... | |
class | xtd::drawing::imaging::encoder_parameter |
Used to pass a value, or an array of values, to an image encoder. More... | |
class | xtd::drawing::imaging::encoder_parameters |
Encapsulates an array of EncoderParameter objects. 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::international_system_images |
Each property of the xtd::drawing::international_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::mimetypes_system_images |
Each property of the xtd::drawing::mimetypes_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::orange_colors |
Orange colors for all the hmtl orange colors. This class cannot be inherited. 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::pink_colors |
Pink colors for all the hmtl pink colors. This class cannot be inherited. More... | |
class | xtd::drawing::places_system_images |
Each property of the xtd::drawing::places_system_images class is an xtd::drawing::image object for Windows system-wide images. 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::purple_colors |
Purple, violet and magenta colors for all the hmtl purple, violet and magenta colors. This class cannot be inherited. 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-point numbers that represent the location and size of a rectangle. For more advanced region functions, use a xtd::drawing::region object. More... | |
class | xtd::drawing::red_colors |
Red colors for all the hmtl red colors. This class cannot be inherited. More... | |
class | xtd::drawing::region |
Describes the interior of a graphics shape composed of rectangles and paths. This class cannot be inherited. 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::status_system_images |
Each property of the xtd::drawing::status_system_images class is an xtd::drawing::image object for Windows system-wide images. 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_images_base |
Represents the base for all system_images clases (xtd::drawing::system_images). 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... | |
class | xtd::drawing::white_colors |
White colors for all the hmtl white colors. This class cannot be inherited. More... | |
class | xtd::drawing::xtd_system_images |
Each property of the xtd::drawing::xtd_system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited. More... | |
class | xtd::drawing::yellow_colors |
Yellow colors for all the hmtl yellow colors. This class cannot be inherited. More... | |
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/compositing_mode.h>
Specifies how the source colors are combined with the background colors.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/compositing_quality.h>
Specifies the quality level to use during compositing.
|
strong |
#include <xtd.drawing/include/xtd/drawing/copy_pixel_operation.h>
Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color.
|
strong |
#include <xtd.drawing/include/xtd/drawing/dash_style.h>
Specifies the style of dashed lines drawn with a xtd::drawing::pen object.
#include <xtd.drawing/include/xtd/drawing/imaging/encoder_parameter_value_type.h>
Specifies the data type of the xtd::drawing::imaging::encoder_parameter used with the xtd::drawing::image::save or xtd::drawing::image::save_add method of an image.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/fill_mode.h>
Specifies how the interior of a closed path is filled.
Enumerator | |
---|---|
alternate | Specifies the alternate fill mode. |
winding | Specifies the winding fill mode. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/flush_intention.h>
Specifies whether commands in the graphics stack are terminated (flushed) immediately or executed as soon as possible.
|
strong |
#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.
Enumerator | |
---|---|
regular | Normal text. |
bold | Bold text. |
italic | Italic text. |
underline | Underline text. |
strikeout | Text with a line through the middle. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/text/generic_font_families.h>
Specifies a generic font_family object.
Enumerator | |
---|---|
serif | A generic Serif font_family object. |
sans_serif | A generic Sans Serif font_family object. |
monospace | A generic Monospace font_family object. |
|
strong |
#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.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/hatch_style.h>
Specifies the different patterns available for xtd::drawing::drawing_2d/::hatch_brush objects.
|
strong |
#include <xtd.drawing/include/xtd/drawing/text/hotkey_prefix.h>
Specifies the type of display for hot-key prefixes that relate to text.
Enumerator | |
---|---|
none | No hot-key prefix. |
show | Display the hot-key prefix. |
hide | Do not display the hot-key prefix. |
|
strong |
#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.
|
strong |
#include <xtd.drawing/include/xtd/drawing/imaging/image_lock_mode.h>
Specifies flags that are passed to the flags parameter of the xtd::drawing::bitmap::lock_bits method. The xtd::drawing::bitmap::lock_bits method locks a portion of an image so that you can read or write the pixel data.
Enumerator | |
---|---|
read_only | Specifies that a portion of the image is locked for reading. |
write_only | Specifies that a portion of the image is locked for writing. |
read_write | Specifies that a portion of the image is locked for reading or writing. |
user_input_buffer | Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, the flags parameter of the xtd::drawing::bitmap::lock_bits method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the flags parameter serves only as an output parameter. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/interpolation_mode.h>
The xtd::drawing::drawing_2d/interpolation_mode enumeration specifies the algorithm that is used when images are scaled or rotated.
Enumerator | |
---|---|
invalid | Equivalent to the xtd::drawing::drawing_2d/quality_mode::invalid element of the xtd::drawing::drawing_2d/::quality_mode enumeration. |
default_value | Specifies default mode. |
low | Specifies low quality interpolation. |
hight | Specifies high quality interpolation. |
bilinear | Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size. |
bicubic | Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size. |
nearest_neighbor | Specifies nearest-neighbor interpolation. |
high_quality_bilinear | Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking. |
high_quality_bicubic | Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/known_color.h>
Specifies the known system colors.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/line_cap.h>
Specifies the available cap styles with which a xtd::drawing::pen object can end a line.
Enumerator | |
---|---|
flat | Specifies a flat line cap. |
square | Specifies a square line cap. |
round | Specifies a round line cap. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/line_join.h>
Specifies how to join consecutive line or curve segments in a figure (subpath) contained in a xtd::drawing::drawing_2d/::graphics_path object.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/linear_gradient_mode.h>
Specifies the direction of a linear gradient.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/matrix_order.h>
Specifies the order for matrix transform operations.
Enumerator | |
---|---|
prepend | The new operation is applied before the old operation. |
append | The new operation is applied after the old operation. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/pen_alignment.h>
SSpecifies the alignment of a xtd::drawing::pen object in relation to the theoretical, zero-width line.
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. |
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/pen_type.h>
Specifies the type of fill a xtd::drawing::pen object uses to fill lines.
|
strong |
#include <xtd.drawing/include/xtd/drawing/imaging/pixel_format.h>
Specifies the format of the color data for each pixel in the image.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/pixel_offset_mode.h>
Specifies how pixels are offset during rendering.
By offsetting pixels during rendering, you can improve render quality at the cost of render speed.
|
strong |
#include <xtd.drawing/include/xtd/drawing/rotate_flip_type.h>
Specifies how much an image is rotated and the axis used to flip the image.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing_2d/smoothing_mode.h>
Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.
|
strong |
#include <xtd.drawing/include/xtd/drawing/string_alignment.h>
Specifies the alignment of a text string relative to its layout rectangle.
|
strong |
#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.
|
strong |
#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.
|
strong |
#include <xtd.drawing/include/xtd/drawing/text/text_rendering_hint.h>
Specifies the quality of text rendering.