5#include "../drawing_export.hpp" 
   44    class paint_event_args;
 
  103      xtd::drawing::drawing_2d::compositing_mode compositing_mode() const noexcept;
 
  109      graphics& compositing_mode(
xtd::drawing::drawing_2d::compositing_mode value);
 
  114      xtd::drawing::drawing_2d::compositing_quality compositing_quality() const noexcept;
 
  119      graphics& compositing_quality(
xtd::drawing::drawing_2d::compositing_quality value);
 
  123      float dpi_x() const noexcept;
 
  127      float dpi_y() const noexcept;
 
  136      xtd::drawing::drawing_2d::interpolation_mode interpolation_mode() const noexcept;
 
  141      graphics& interpolation_mode(
xtd::drawing::drawing_2d::interpolation_mode value) noexcept;
 
  145      float page_scale() const noexcept;
 
  165      xtd::drawing::drawing_2d::pixel_offset_mode pixel_offset_mode() const noexcept;
 
  170      graphics& pixel_offset_mode(
xtd::drawing::drawing_2d::pixel_offset_mode value) noexcept;
 
  175      xtd::drawing::drawing_2d::smoothing_mode smoothing_mode() const noexcept;
 
  180      graphics& smoothing_mode(
xtd::drawing::drawing_2d::smoothing_mode value) noexcept;
 
  185      int32 text_contrast() const noexcept;
 
  196      xtd::drawing::text::text_rendering_hint text_rendering_hint() const noexcept;
 
  202      graphics& text_rendering_hint(
xtd::drawing::text::text_rendering_hint value);
 
  208      xtd::drawing::drawing_2d::matrix transform() const noexcept;
 
  214      graphics& transform(const 
xtd::drawing::drawing_2d::matrix& value) noexcept;
 
  236      void copy_from_graphics(const 
graphics& source, const 
xtd::drawing::
point& upper_left_source, const 
xtd::drawing::
point& upper_left_destination, const 
xtd::drawing::
size& block_region_size);
 
  270      void copy_from_screen(const 
xtd::drawing::
point& upper_left_source, const 
xtd::drawing::
point& upper_left_destination, const 
xtd::drawing::
size& block_region_size);
 
  302      void draw_arc(const 
xtd::drawing::
pen& 
pen, const 
xtd::drawing::
rectangle& rect, 
float start_angle, 
float sweep_angle);
 
  329      void draw_arc(const 
xtd::drawing::
pen& 
pen, 
float x, 
float y, 
float width, 
float height, 
float start_angle, 
float sweep_angle);
 
  370      void draw_bezier(const 
pen& 
pen, 
float x1, 
float y1, 
float x2, 
float y2, 
float x3, 
float y3, 
float x4, 
float y4);
 
  376      void draw_beziers(const 
pen& 
pen, const std::vector<
xtd::drawing::
point>& points);
 
  389      void draw_closed_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point>& points);
 
  404      void draw_closed_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point>& points, 
float tension);
 
  412      void draw_closed_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point_f>& points, 
float tension);
 
  435      void draw_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point>& points, 
float tension);
 
  443      void draw_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point_f>& points, 
float tension);
 
  455      void draw_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point>& points, 
size_t offset, 
size_t number_of_segments);
 
  467      void draw_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point_f>& points, 
size_t offset, 
size_t number_of_segments);
 
  479      void draw_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point>& points, 
size_t offset, 
size_t number_of_segments, 
float tension);
 
  491      void draw_curve(const 
pen& 
pen, const std::vector<
xtd::drawing::
point_f>& points, 
size_t offset, 
size_t number_of_segments, 
float tension);
 
  518      void draw_ellipse(const 
xtd::drawing::
pen& 
pen, 
float x, 
float y, 
float width, 
float height);
 
  572      void draw_image(const 
xtd::drawing::
image& 
image, 
float x, 
float y, 
float width, 
float height);
 
  619      void draw_image(const 
xtd::drawing::
image& 
image, const 
xtd::drawing::
rectangle_f& dest_rect, 
float src_x, 
float src_y, 
float srd_width, 
float src_height);
 
  631      void draw_image(const 
xtd::drawing::
image& 
image, const 
xtd::drawing::
point_f& dest_point, 
float src_x, 
float src_y, 
float srd_width, 
float src_height);
 
  692      void draw_line(const 
xtd::drawing::
pen& 
pen, 
float x1, 
float y1, 
float x2, 
float y2);
 
  709      void draw_path(const 
xtd::drawing::
pen& 
pen, const 
xtd::drawing::drawing_2d::graphics_path& path);
 
  718      void draw_pie(const 
xtd::drawing::
pen& 
pen, const 
xtd::drawing::
rectangle& rect, 
float start_angle, 
float sweep_angle);
 
  748      void draw_pie(const 
xtd::drawing::
pen& 
pen, 
float x, 
float y, 
float width, 
float height, 
float start_angle, 
float sweep_angle);
 
  754      void draw_polygon(const 
xtd::drawing::
pen& 
pen, const std::vector<
xtd::drawing::
point>& points);
 
  778      void draw_point(const 
xtd::drawing::
pen& 
pen, 
float x, 
float y);
 
  801      void draw_rectangle(const 
xtd::drawing::
pen& 
pen, 
float x, 
float y, 
float width, 
float height);
 
  853      void draw_rounded_rectangle(const 
xtd::drawing::
pen& 
pen, 
float x, 
float y, 
float width, 
float height, 
float radius);
 
  933      void fill_closed_curve(const 
xtd::drawing::
brush& 
brush, const std::vector<
xtd::drawing::
point>& points, 
xtd::drawing::drawing_2d::fill_mode fill_mode);
 
  941      void fill_closed_curve(const 
xtd::drawing::
brush& 
brush, const std::vector<
xtd::drawing::
point_f>& points, 
xtd::drawing::drawing_2d::fill_mode fill_mode);
 
  950      void fill_closed_curve(const 
xtd::drawing::
brush& 
brush, const std::vector<
xtd::drawing::
point>& points, 
xtd::drawing::drawing_2d::fill_mode fill_mode, 
float tension);
 
  959      void fill_closed_curve(const 
xtd::drawing::
brush& 
brush, const std::vector<
xtd::drawing::
point_f>& points, 
xtd::drawing::drawing_2d::fill_mode fill_mode, 
float tension);
 
  986      void fill_ellipse(const 
xtd::drawing::
brush& 
brush, 
float x, 
float y, 
float width, 
float height);
 
  992      void fill_path(const 
xtd::drawing::
brush& 
brush, const 
xtd::drawing::drawing_2d::graphics_path& path);
 
 1031      void fill_pie(const 
xtd::drawing::
brush& 
brush, 
float x, 
float y, 
float width, 
float height, 
float start_angle, 
float sweep_angle);
 
 1048      void fill_polygon(const 
xtd::drawing::
brush& 
brush, const std::vector<
xtd::drawing::
point>& points, 
xtd::drawing::drawing_2d::fill_mode fill_mode);
 
 1054      void fill_polygon(const 
xtd::drawing::
brush& 
brush, const std::vector<
xtd::drawing::
point_f>& points, 
xtd::drawing::drawing_2d::fill_mode fill_mode);
 
 1081      void fill_rectangle(const 
xtd::drawing::
brush& 
brush, 
float x, 
float y, 
float width, 
float height);
 
 1127      void fill_rounded_rectangle(const 
xtd::drawing::
brush& 
brush, 
float x, 
float y, 
float width, 
float height, 
float radius);
 
 1135      void flush(
xtd::drawing::drawing_2d::flush_intention intention);
 
 1182      bool is_visible(
float x, 
float y, 
float width, 
float height);
 
 1200      bool is_visible(
float x, 
float y);
 
 1253      void multiply_transform(const 
xtd::drawing::drawing_2d::matrix& matrix);
 
 1258      void multiply_transform(const 
xtd::drawing::drawing_2d::matrix& matrix, 
xtd::drawing::drawing_2d::matrix_order order);
 
 1272      void reset_transform();
 
 1278      void restore(const 
xtd::drawing::drawing_2d::graphics_state& gstate);
 
 1283      void rotate_transform(
float angle);
 
 1288      void rotate_transform(
float angle, 
xtd::drawing::drawing_2d::matrix_order order);
 
 1294      xtd::drawing::drawing_2d::graphics_state save();
 
 1300      void scale_transform(
float sx, 
float sy);
 
 1306      void scale_transform(
float sx, 
float sy, 
xtd::drawing::drawing_2d::matrix_order order);
 
 1315      void translate_clip(
float dx, 
float dy);
 
 1321      void translate_transform(
float dx, 
float dy);
 
 1327      void translate_transform(
float dx, 
float dy, 
xtd::drawing::drawing_2d::matrix_order order);
 
 1336      xtd::
string to_string() const noexcept
 override {
return get_type().full_name();}
 
 1380      float to_page_unit(
float value) 
const;
 
 1383      float to_pixels(
float value) 
const;
 
 1392      void draw_image_disabled(
const xtd::drawing::image& 
image, 
float x, 
float y, 
float width, 
float height, 
float brightness);
 
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition brush.hpp:33
 
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:49
 
Defines a particular format for text, including font face, size, and style attributes....
Definition font.hpp:45
 
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:70
 
static graphics from_hdc(intptr hdc)
Creates a new xtd::drawing::graphics from the specified handle to a device context.
 
static graphics from_hdc(intptr hdc, intptr hdevice)
Creates a new xtd::drawing::graphics from the specified handle to a device contextand handle to a dev...
 
static graphics from_hwnd(intptr hwnd)
Creates a new xtd::drawing::graphics from the specified handle to a window.
 
xtd::drawing::region clip() const noexcept
Gets a xtd::drawing::region that limits the drawing region of this xtd::drawing::graphics.
 
static graphics from_image(const xtd::drawing::image &image)
Creates a new xtd::drawing::graphics from the specified xtd::drawing::image.
 
Represents a Windows icon, which is a small bitmap image that is used to represent an object....
Definition icon.hpp:28
 
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
 
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition pen.hpp:35
 
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimen...
Definition point_f.hpp:35
 
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
 
Stores a set of four floating-point numbers that represent the location and size of a rectangle....
Definition rectangle_f.hpp:34
 
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
 
Describes the interior of a graphics shape composed of rectangles and paths. This class cannot be inh...
Definition region.hpp:32
 
Stores an ordered pair of floating-point, which specify a height and width.
Definition size_f.hpp:31
 
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31
 
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
 
Contains xtd::drawing::color class.
 
Contains xtd::drawing::drawing_2d::compositing_mode enum class.
 
Contains xtd::drawing::drawing_2d::compositing_quality enum class.
 
Contains xtd::drawing::copy_pixel_operation enum class.
 
Contains xtd::drawing::drawing_2d::flush_intention enum class.
 
Contains xtd::drawing::drawing_2d::graphics_state class.
 
Contains xtd::drawing::graphics_unit enum class.
 
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
 
string_trimming
Specifies how to trim characters from a string that does not completely fit into a layout shape.
Definition string_trimming.hpp:17
 
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
 
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
 
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
 
@ control
The left or right CTRL modifier key.
 
graphics_unit
Specifies the unit of measure for the given data. This enumeration has a flags attribute that allows ...
Definition graphics_unit.hpp:17
 
copy_pixel_operation
Determines how the source color in a copy pixel operation is combined with the destination color to r...
Definition copy_pixel_operation.hpp:18
 
Contains xtd::drawing::drawing_2d::interpolation_mode enum class.
 
Contains xtd::drawing::drawing_2d::matrix_order enum class.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
 
Contains xtd::drawing::drawing_2d::pixel_offset_mode enum class.
 
Contains xtd::drawing::point class.
 
Contains xtd::drawing::point_f class.
 
Contains xtd::drawing::rectangle class.
 
Contains xtd::drawing::rectangle_f class.
 
Contains xtd::drawing::size_f class.
 
Contains xtd::drawing::drawing_2d::smoothing_mode enum class.
 
Contains xtd::drawing::solid_brush class.
 
Contains xtd::drawing::text::text_rendering_hint enum class.
 
Contains xtd::drawing::brush class.
 
Contains xtd::drawing::drawing_2d::graphics_path class.
 
Contains xtd::drawing::drawing_2d::matrix class.
 
Contains xtd::drawing::font class.
 
Contains xtd::drawing::pen class.
 
Contains xtd::drawing::region class.
 
Contains xtd::drawing::size class.