Nui
Loading...
Searching...
No Matches
dom_rect_readonly.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace Nui::WebApi
6{
8 {
9 public:
11
12 double x() const;
13 double y() const;
14 double width() const;
15 double height() const;
16 double top() const;
17 double right() const;
18 double bottom() const;
19 double left() const;
20
23 {
24 double x = 0.;
25 double y = 0.;
26 double width = 0.;
27 double height = 0.;
28 };
30 };
31}
Common base class for classes that are just wrapping around val into js world.
Definition val_wrapper.hpp:11
Definition dom_rect_readonly.hpp:8
double y() const
Definition dom_rect_readonly.cpp:13
static DomRectReadOnly fromRect()
Definition dom_rect_readonly.cpp:42
double top() const
Definition dom_rect_readonly.cpp:25
double x() const
Definition dom_rect_readonly.cpp:9
double left() const
Definition dom_rect_readonly.cpp:37
double bottom() const
Definition dom_rect_readonly.cpp:33
double right() const
Definition dom_rect_readonly.cpp:29
double width() const
Definition dom_rect_readonly.cpp:17
double height() const
Definition dom_rect_readonly.cpp:21
Definition abort_controller.hpp:8
emscripten::val val
Definition val.hpp:5
Definition dom_rect_readonly.hpp:23
double height
Definition dom_rect_readonly.hpp:27
double width
Definition dom_rect_readonly.hpp:26
double x
Definition dom_rect_readonly.hpp:24
double y
Definition dom_rect_readonly.hpp:25