#include <paint_event_args.h>
Provides data for the paint event.
- Namespace
- xtd::forms
- Library
- xtd.forms
- Examples:
- animation.cpp, button_renderer.cpp, check_box_renderer.cpp, circular_form.cpp, color_picker.cpp, colors.cpp, draw_ellipse.cpp, draw_image.cpp, draw_line.cpp, draw_point.cpp, draw_rectangle.cpp, draw_rounded_rectangle.cpp, fill_ellipse.cpp, fill_rectangle.cpp, fill_rounded_rectangle.cpp, form_paint.cpp, hello_world_paint.cpp, minesweeper.cpp, owner_button.cpp, painting.cpp, radio_button_renderer.cpp, user_control.cpp, wiggly.cpp, and wnd_proc.cpp.
|
static const event_args | empty |
| Provides a value to use with events that do not have event data. More...
|
|
| event_args ()=default |
| Initializes a new instance of the event_args class. More...
|
|
| object ()=default |
| Create a new instance of the ultimate base class object. More...
|
|
bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. More...
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More...
|
|
template<typename object_t > |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
| Gets the type of the current instance. More...
|
|
virtual xtd::ustring | to_string () const noexcept |
| Returns a sxd::ustring that represents the current object. More...
|
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More...
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More...
|
|
◆ paint_event_args() [1/2]
Initializes a new instance of the paint_event_args class with the specified control, clipping rectangle.
- Parameters
-
◆ paint_event_args() [2/2]
Initializes a new instance of the paint_event_args class with the specified control, clipping rectangle.
- Parameters
-
◆ clip_rectangle()
◆ graphics()
Gets the graphics used to paint.
- Returns
- The xtd::drawing::graphics object used to paint. The xtd::drawing::graphics object provides methods for drawing objects on the display device.
- Examples:
- animation.cpp, button_renderer.cpp, check_box_renderer.cpp, colors.cpp, draw_ellipse.cpp, draw_image.cpp, draw_line.cpp, draw_point.cpp, draw_rectangle.cpp, draw_rounded_rectangle.cpp, fill_ellipse.cpp, fill_rectangle.cpp, fill_rounded_rectangle.cpp, minesweeper.cpp, owner_button.cpp, radio_button_renderer.cpp, user_control.cpp, wiggly.cpp, and wnd_proc.cpp.
The documentation for this class was generated from the following file: