Provides control renderer methods.
Public Static Methods | |
| static auto | draw_user_control (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds) -> void |
| Draws a box in the specified bounds. | |
| static auto | draw_user_control (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::control_state control_state) -> void |
| Draws a box in the specified bounds and control state. | |
| static auto | draw_user_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) -> void |
| Draws a box in the specified bounds, control state and background color. | |
| static auto | draw_user_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, const std::optional< xtd::forms::border_style > &border, xtd::forms::border_sides sides) -> void |
| Draws a box in the specified style_sheet, bounds, control state and background color. | |
|
static |
Draws a box in the specified bounds.
| 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. |
|
static |
Draws a box in the specified bounds and control state.
| 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. |
|
static |
Draws a box in the specified bounds, control state and background color.
| 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. |
|
static |
Draws a box in the specified style_sheet, bounds, control state and background color.
| 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. |