Provides image renderer methods.
#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
- Inheritance
- xtd::static → xtd::forms::image_renderer
- Header
#include <xtd/forms/image_renderer>
- Namespace
- xtd::forms
- Library
- xtd.forms
|
static void | draw_image (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, const xtd::drawing::image &image, bool enabled, const xtd::drawing::color &back_color, const xtd::forms::style_sheets::iimage_model &data) |
| Draws an image in the specified bounds.
|
|
static void | draw_image (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, const xtd::drawing::image &image, bool enabled, float brightness, const xtd::forms::style_sheets::iimage_model &data) |
| Draws an image in the specified bounds.
|
|
◆ draw_image() [1/2]
Draws an image in the specified bounds.
- Parameters
-
graphics | The Graphics used to draw an image. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the image. |
image | The xtd::drawing::image that specifies the image to draw. |
enable | If is true the image is drawing normaly; otherwise the image is drawing in disable style. |
back_color | The back color is usedd to draw image disabled. |
data | Contains the informations needed to draw image. |
◆ draw_image() [2/2]
Draws an image in the specified bounds.
- Parameters
-
graphics | The Graphics used to draw an image. |
bounds | The xtd::drawing::rectangle that specifies the bounds of the image. |
image | The xtd::drawing::image that specifies the image to draw. |
enable | If is true the image is drawing normaly; otherwise the image is drawing in disable style. |
brightness | The brightness is usedd to draw image disabled. |
data | Contains the informations needed to draw image. |
The documentation for this class was generated from the following file: