Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsgdistancefieldglyphnode_p.cpp File Reference

(b5a05e4e7e97f8ef5c4cc65fee0cfcfd9e4c5cc4)

#include "qsgdistancefieldglyphnode_p_p.h"
#include "qsgrhidistancefieldglyphcache_p.h"
#include <QtGui/qsurface.h>
#include <QtGui/qwindow.h>
#include <qmath.h>
Include dependency graph for qsgdistancefieldglyphnode_p.cpp:

Go to the source code of this file.

Classes

class  QSGDistanceFieldTextMaterialRhiShader
class  DistanceFieldAnisotropicTextMaterialRhiShader
class  DistanceFieldStyledTextMaterialRhiShader
class  DistanceFieldOutlineTextMaterialRhiShader
class  DistanceFieldAnisotropicOutlineTextMaterialRhiShader
class  DistanceFieldShiftedStyleTextMaterialRhiShader
class  DistanceFieldAnisotropicShiftedTextMaterialRhiShader
class  QSGHiQSubPixelDistanceFieldTextMaterialRhiShader
class  QSGLoQSubPixelDistanceFieldTextMaterialRhiShader

Functions

static QT_BEGIN_NAMESPACE float qt_sg_envFloat (const char *name, float defaultValue)
static float thresholdFunc (float glyphScale)
static float spreadFunc (float glyphScale)

Function Documentation

◆ qt_sg_envFloat()

QT_BEGIN_NAMESPACE float qt_sg_envFloat ( const char * name,
float defaultValue )
static

Definition at line 12 of file qsgdistancefieldglyphnode_p.cpp.

Referenced by spreadFunc(), and thresholdFunc().

Here is the caller graph for this function:

◆ spreadFunc()

float spreadFunc ( float glyphScale)
static

Definition at line 30 of file qsgdistancefieldglyphnode_p.cpp.

References qt_sg_envFloat().

Referenced by DistanceFieldOutlineTextMaterialRhiShader::updateUniformData(), and QSGDistanceFieldTextMaterialRhiShader::updateUniformData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ thresholdFunc()

float thresholdFunc ( float glyphScale)
static

Definition at line 21 of file qsgdistancefieldglyphnode_p.cpp.

References qt_sg_envFloat().

Referenced by DistanceFieldOutlineTextMaterialRhiShader::updateUniformData(), and QSGDistanceFieldTextMaterialRhiShader::updateUniformData().

Here is the call graph for this function:
Here is the caller graph for this function: