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"
170 return (
Width == bufferFormat.Width
171 &&
Height == bufferFormat.Height
172 &&
LinePad == bufferFormat.LinePad
186 return !(*
this == bufferFormat);
240#if defined _WIN32 && defined(UNICODE)
241 return text.toStdWString();
243 return text.toStdString();
255#if defined _WIN32 && defined(UNICODE)
293 return QRectF(rect.Left(), rect.Top(), rect.Width(), rect.Height());
304 return RectLT<double>(rect.left(), rect.top(), rect.right(), rect.bottom());
316 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:238
RefreshMode
Defines the refresh behavior.
Definition: ui.hpp:60
@ UploadAndWaitForRepaint
@ UploadAndScheduleRepaint
OpenGLTextureFormat
OpenGL texture format to hold the pixel data.
Definition: ui.hpp:119
RenderEngine
Defines the render engine used for drawing.
Definition: ui.hpp:90
QString CvbToQt(const Cvb::String &text) noexcept
Convenience converter for strings.
Definition: ui.hpp:253
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:211
OpenGLCoord BottomRight
Definition: ui.hpp:223
OpenGLCoord TopRight
Definition: ui.hpp:227
OpenGLCoord TopLeft
Definition: ui.hpp:215
OpenGLCoord BottomLeft
Definition: ui.hpp:219
OpenGL coordinate representing a texture corner.
Definition: ui.hpp:196
QVector2D VerPoint
Definition: ui.hpp:200
QVector2D TexPoint
Definition: ui.hpp:204