Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CGUITexture::Quad Struct Reference

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
 

Detailed Description

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.

Member Function Documentation

◆ operator==()

bool CGUITexture::Quad::operator== ( const Quad & other) const
default

Member Data Documentation

◆ anchor

CRect CGUITexture::Quad::anchor

◆ diffuse

CRect CGUITexture::Quad::diffuse

◆ offset

CRect CGUITexture::Quad::offset

◆ texture

CRect CGUITexture::Quad::texture

The documentation for this struct was generated from the following file: