Provides image renderer methods.
Static moethods | |
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. | |
|
static |
Draws an image in the specified bounds.
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. |
|
static |
Draws an image in the specified bounds.
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. |