|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
One quad of the texture, independent of the texture's position and size. More...
#include <GUITexture.h>
Public Member Functions | |
| bool | operator== (const Quad &other) const =default |
Public Attributes | |
| CRect | anchor |
| CRect | offset |
| CRect | texture |
| CRect | diffuse |
One quad of the texture, independent of the texture's position and size.
Each edge lies at rect.x1 + anchor * rect.Width() + offset (and likewise vertically), where rect is the texture's render rectangle in skin coordinates.
| CRect CGUITexture::Quad::anchor |
| CRect CGUITexture::Quad::diffuse |
| CRect CGUITexture::Quad::offset |
| CRect CGUITexture::Quad::texture |