Provides control renderer methods.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
- Inheritance
- xtd::static → xtd::forms::control_renderer
- Header
#include <xtd/forms/control_renderer>
- Namespace
- xtd::forms::style_sheets
- Library
- xtd.forms
|
static void | draw_control (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds) |
| Draws a box in the specified bounds.
|
|
static void | draw_control (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::control_state control_state) |
| Draws a box in the specified bounds and control state.
|
|
static void | draw_control (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::control_state control_state, const std::optional< xtd::drawing::color > &back_color) |
| Draws a box in the specified bounds, control state and background color.
|
|
static void | draw_control (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::control_state control_state, const std::optional< xtd::drawing::color > &back_color) |
| Draws a box in the specified style_sheet, bounds, control state and background color.
|
|
◆ draw_control() [1/4]
Draws a box in the specified bounds.
- Parameters
-
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
◆ draw_control() [2/4]
Draws a box in the specified bounds and control state.
- Parameters
-
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
control_state | The visual state of a control that is drawn with visual styles. |
◆ draw_control() [3/4]
Draws a box in the specified bounds, control state and background color.
- Parameters
-
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
control_state | The visual state of a control that is drawn with visual styles. |
back_color | The background color for the control. |
◆ draw_control() [4/4]
Draws a box in the specified style_sheet, bounds, control state and background color.
- Parameters
-
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
graphics | The Graphics used to draw a control. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the control. |
control_state | The visual state of a control that is drawn with visual styles. |
back_color | The background color for the control. |
The documentation for this class was generated from the following file: