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