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.
|
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... | |
|
strong |
#include <xtd.drawing/include/xtd/drawing/dash_style.h>
Specifies the style of dashed lines drawn with a xtd::drawing::pen object.
|
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/drawing2d/hatch_style.h>
Specifies the different patterns available for xtd::drawing::drawing2d::hatch_brush objects.
|
strong |
#include <xtd.drawing/include/xtd/drawing/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/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/known_color.h>
Specifies the known system colors.
|
strong |
#include <xtd.drawing/include/xtd/drawing/drawing2d/linear_gradient_mode.h>
Specifies the direction of a linear gradient.
|
strong |
#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.
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/drawing2d/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/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.