xtd 0.2.0
Loading...
Searching...
No Matches
box_renderer.hpp
Go to the documentation of this file.
1
4#pragma once
6#include <xtd/static>
7#include <xtd/drawing/graphics>
8
10namespace xtd {
12 namespace forms {
29 public:
31
39
40 private:
46 static void fill_box(xtd::drawing::graphics& graphics, const xtd::drawing::brush& brush, const xtd::drawing::rectangle& bounds, const xtd::forms::style_sheets::ibox_model& box_model);
47 };
48 }
49}
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition brush.hpp:33
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:70
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
Provides methods used to render a box with or without style sheets.
Definition box_renderer.hpp:28
static void draw_box(xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, const xtd::forms::style_sheets::ibox_model &box_model)
Draws a box in the specified bounds and style.
The xtd::forms::style_sheets::border_color is used to set the color of the borders.
Definition border_color.hpp:33
The radius is used to add rounded borders to an element.
Definition border_radius.hpp:33
The style specifies what kind of borders to display.
Definition border_style.hpp:33
The box model allows you to specify the margin, borders, padding, background color,...
Definition ibox_model.hpp:45
The length specifies the length of the borders.
Definition lengths.hpp:33
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
border_type
The border_type enum class specifies what kind of border to display.
Definition border_type.hpp:23
dash_style
Specifies the style of dashed lines drawn with a xtd::drawing::pen object.
Definition dash_style.hpp:20
border_style
Specifies the border style for a control.
Definition border_style.hpp:22
Contains xtd::forms::style_sheets::ibox_model class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10