6#include <PhosphorRendering/phosphorrendering_export.h>
31 return !(*
this == other);
65 return !(*
this == other);
71 PHOSPHORRENDERING_EXPORT QImage
toImage()
const;
Definition ShaderCompiler.h:15
Sparse zone-labels payload: the full screen-addressed texture size plus only the glyph tiles that act...
Definition ZoneLabelTexture.h:46
QSize size
Full screen-addressed texture size the tiles composite into.
Definition ZoneLabelTexture.h:47
static PHOSPHORRENDERING_EXPORT ZoneLabelTexture fromImage(const QImage &image)
Wrap a full-size image as a single tile at (0,0).
QVector< ZoneLabelTile > tiles
Sparse glyph tiles; empty ⇒ no labels (transparent everywhere).
Definition ZoneLabelTexture.h:48
bool operator!=(const ZoneLabelTexture &other) const
Definition ZoneLabelTexture.h:63
bool isEmpty() const
No glyphs to show (numbers disabled, no zones, or degenerate size).
Definition ZoneLabelTexture.h:51
bool operator==(const ZoneLabelTexture &other) const
Value equality — lets consumers (e.g.
Definition ZoneLabelTexture.h:59
PHOSPHORRENDERING_EXPORT QImage toImage() const
Composite the sparse tiles into one full screen-addressed image (ARGB32-premultiplied).
One rendered zone-label glyph (number) plus where its top-left sits in the full, screen-addressed lab...
Definition ZoneLabelTexture.h:19
bool operator==(const ZoneLabelTile &other) const
Definition ZoneLabelTexture.h:23
bool operator!=(const ZoneLabelTile &other) const
Definition ZoneLabelTexture.h:29
QImage image
Small ARGB32-premultiplied glyph tile (glyph bounds + outline margin).
Definition ZoneLabelTexture.h:20
QPoint dest
Top-left of image within the screen-addressed labels texture.
Definition ZoneLabelTexture.h:21