Shows how to use xtd::drawing::point class.
#include <xtd/drawing/point>
#include <xtd/drawing/size>
#include <xtd/console>
auto main() -> int {
auto location =
point {10, 235};
location.x = location.x + 20;
location.y = location.y - 15;
location.offset({70, 140});
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31