LibrePCB Developers Documentation
Loading...
Searching...
No Matches
slintopenglview.cpp File Reference
#include "slintopenglview.h"
#include "../utils/slinthelpers.h"
#include <librepcb/core/application.h>
#include <QtCore>
+ Include dependency graph for slintopenglview.cpp:

Namespaces

namespace  librepcb
 
namespace  librepcb::editor
 

Macros

#define GL_MULTISAMPLE   0x809D
 
#define GL_LINE_SMOOTH   0x0B20
 
#define GL_LINE_SMOOTH_HINT   0x0C52
 

Functions

static qreal calcAspectRatio (qreal width, qreal height) noexcept
 
static slint::Image createBackground (const QSize &size) noexcept
 

Macro Definition Documentation

◆ GL_MULTISAMPLE

#define GL_MULTISAMPLE   0x809D

◆ GL_LINE_SMOOTH

#define GL_LINE_SMOOTH   0x0B20

◆ GL_LINE_SMOOTH_HINT

#define GL_LINE_SMOOTH_HINT   0x0C52