Paramètres de projection logique → écran.
Plus de détails...
#include <TCORenderer.h>
Paramètres de projection logique → écran.
Calculé une seule fois par computeProjection() et mis en cache dans PCCPanel::m_cachedProj. Invalide après resize ou rebuild().
Les champs stub/inactiveGap/halfGap sont dérivés de cellWidth et précalculés dans computeProjection() — évite N recalculs par paint.
◆ cellHeight
| int TCORenderer::Projection::cellHeight = 1 |
◆ cellWidth
| int TCORenderer::Projection::cellWidth = 1 |
◆ centerY
| int TCORenderer::Projection::centerY = 0 |
◆ halfGap
| int TCORenderer::Projection::halfGap = 0 |
Demi-gap entre blocs adjacents (pixels). = BLOCK_GAP_PX / 2, arrondi.
◆ height
| int TCORenderer::Projection::height = 0 |
◆ inactiveGap
| int TCORenderer::Projection::inactiveGap = 0 |
Gap côté jonction de la branche inactive (pixels). = max(4, cellWidth * INACTIVE_GAP_RATIO).
◆ marginX
| int TCORenderer::Projection::marginX = 0 |
◆ maxX
| int TCORenderer::Projection::maxX = 0 |
◆ maxY
| int TCORenderer::Projection::maxY = 0 |
◆ minX
| int TCORenderer::Projection::minX = 0 |
◆ minY
| int TCORenderer::Projection::minY = 0 |
◆ stub
| int TCORenderer::Projection::stub = 0 |
Longueur du stub horizontal en fin de branche déviée (pixels). = max(4, cellWidth * STUB_RATIO).
◆ width
| int TCORenderer::Projection::width = 0 |
La documentation de cette structure a été générée à partir du fichier suivant :