xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Classes | Enumerations
xtd::drawing::drawing2d Namespace Reference

Definition

The xtd::.drawing::drawing2d namespace provides advanced two-dimensional and vector graphics functionality.

Classes

class  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  linear_gradient_brush
 Encapsulates a xtd::drawing::brush with a linear gradient. This class cannot be inherited. More...
 

Enumerations

enum class  hatch_style {
  hatch_style::horizontal ,
  hatch_style::vertical ,
  hatch_style::forward_diagonal ,
  hatch_style::backward_diagonal ,
  hatch_style::cross ,
  hatch_style::diagonal_cross ,
  hatch_style::percent_05 ,
  hatch_style::percent_10 ,
  hatch_style::percent_20 ,
  hatch_style::percent_25 ,
  hatch_style::percent_30 ,
  hatch_style::percent_40 ,
  hatch_style::percent_50 ,
  hatch_style::percent_60 ,
  hatch_style::percent_70 ,
  hatch_style::percent_75 ,
  hatch_style::percent_80 ,
  hatch_style::percent_90 ,
  hatch_style::light_downward_diagonal ,
  hatch_style::light_upward_diagonal ,
  hatch_style::dark_downward_diagonal ,
  hatch_style::dark_upward_diagonal ,
  hatch_style::wide_downward_diagonal ,
  hatch_style::wide_upward_diagonal ,
  hatch_style::light_vertical ,
  hatch_style::light_horizontal ,
  hatch_style::narrow_vertical ,
  hatch_style::narrow_horizontal ,
  hatch_style::dark_vertical ,
  hatch_style::dark_horizontal ,
  hatch_style::dashed_downward_diagonal ,
  hatch_style::dashed_upward_diagonal ,
  hatch_style::dashed_horizontal ,
  hatch_style::dashed_vertical ,
  hatch_style::small_confetti ,
  hatch_style::large_confetti ,
  hatch_style::zig_zag ,
  hatch_style::wave ,
  hatch_style::diagonal_brick ,
  hatch_style::horizontal_brick ,
  hatch_style::weave ,
  hatch_style::plaid ,
  hatch_style::divot ,
  hatch_style::dotted_grid ,
  hatch_style::dotted_diamond ,
  hatch_style::shingle ,
  hatch_style::trellis ,
  hatch_style::sphere ,
  hatch_style::small_grid ,
  hatch_style::small_checker_board ,
  hatch_style::large_checker_board ,
  hatch_style::outlined_diamond ,
  hatch_style::solid_diamond
}
 Specifies the different patterns available for xtd::drawing::drawing2d::hatch_brush objects. More...
 
enum class  linear_gradient_mode {
  linear_gradient_mode::horizontal ,
  linear_gradient_mode::vertical ,
  linear_gradient_mode::forward_diagonal ,
  linear_gradient_mode::backward_diagonal
}
 Specifies the direction of a linear gradient. More...
 
enum class  pen_alignment {
  pen_alignment::center ,
  pen_alignment::inset ,
  pen_alignment::outset ,
  pen_alignment::left ,
  pen_alignment::right
}
 SSpecifies the alignment of a xtd::drawing::pen object in relation to the theoretical, zero-width line. More...
 
enum class  pen_type {
  pen_type::solid_color ,
  pen_type::hatch_fill ,
  pen_type::texture_fill ,
  pen_type::path_gradient ,
  pen_type::linear_gradient
}
 Specifies the type of fill a xtd::drawing::pen object uses to fill lines. More...