#include <Layout.h>
◆ Margins() [1/4]
open3d::visualization::gui::Margins::Margins |
( |
| ) |
|
Margins are specified in pixels, which are not the same size on all monitors. It is best to use a multiple of Window::GetTheme().fontSize to specify margins. Theme::fontSize, represents 1em and is scaled according to the scaling factor of the window. For example, 0.5em (that is, 0.5 * theme.fontSize) is typically a good size for a margin.
◆ Margins() [2/4]
open3d::visualization::gui::Margins::Margins |
( |
int |
px | ) |
|
◆ Margins() [3/4]
open3d::visualization::gui::Margins::Margins |
( |
int |
horiz_px, |
|
|
int |
vert_px |
|
) |
| |
◆ Margins() [4/4]
open3d::visualization::gui::Margins::Margins |
( |
int |
left_px, |
|
|
int |
top_px, |
|
|
int |
right_px, |
|
|
int |
bottom_px |
|
) |
| |
◆ GetHoriz()
int open3d::visualization::gui::Margins::GetHoriz |
( |
| ) |
const |
Convenience function that returns left + right.
◆ GetVert()
int open3d::visualization::gui::Margins::GetVert |
( |
| ) |
const |
Convenience function that returns top + bottom.
◆ bottom
int open3d::visualization::gui::Margins::bottom |
◆ left
int open3d::visualization::gui::Margins::left |
◆ right
int open3d::visualization::gui::Margins::right |
◆ top
int open3d::visualization::gui::Margins::top |
The documentation for this struct was generated from the following files: