4#pragma warning ( push, 1)
5#pragma warning ( disable : 4127)
6#pragma warning ( disable : 4005)
21#include "_detail/detail_ui.hpp"
24#include "../global.hpp"
25#include "../string.hpp"
26#include "../image.hpp"
27#include "../rect_lt.hpp"
171 return (
Width == bufferFormat.Width
172 &&
Height == bufferFormat.Height
187 return !(*
this == bufferFormat);
241#if defined _WIN32 && defined(UNICODE)
242 return text.toStdWString();
244 return text.toStdString();
256#if defined _WIN32 && defined(UNICODE)
294 return QRectF(rect.Left(), rect.Top(), rect.Width(), rect.Height());
305 return RectLT<double>(rect.left(), rect.top(), rect.right(), rect.bottom());
317 return QPointF(point.X(), point.Y());
T Height() const noexcept
Gets the vertical component of the size.
Definition: size_2d.hpp:79
T Width() const noexcept
Gets the horizontal component of the size.
Definition: size_2d.hpp:59
Cvb::String QtToCvb(const QString text) noexcept
Convenience converter for strings.
Definition: ui.hpp:239
RefreshMode
Defines the refresh behavior.
Definition: ui.hpp:61
@ UploadAndWaitForRepaint
@ UploadAndScheduleRepaint
OpenGLTextureFormat
OpenGL texture format to hold the pixel data.
Definition: ui.hpp:120
RenderEngine
Defines the render engine used for drawing.
Definition: ui.hpp:91
QString CvbToQt(const Cvb::String &text) noexcept
Convenience converter for strings.
Definition: ui.hpp:254
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24
QString fromStdString(const std::string &str)
QString fromStdWString(const std::wstring &str)
Set of all coordinates required to render a texture.
Definition: ui.hpp:212
OpenGLCoord BottomRight
Definition: ui.hpp:224
OpenGLCoord TopRight
Definition: ui.hpp:228
OpenGLCoord TopLeft
Definition: ui.hpp:216
OpenGLCoord BottomLeft
Definition: ui.hpp:220
OpenGL coordinate representing a texture corner.
Definition: ui.hpp:197
QVector2D VerPoint
Definition: ui.hpp:201
QVector2D TexPoint
Definition: ui.hpp:205