101 return uint8( rgba >> 24 );
111 return uint8( rgba >> 16 );
121 return uint8( rgba >> 8 );
131 return uint8( rgba );
142 rgba &= 0x00fffffful;
152 rgba &= 0xff00fffful;
162 rgba &= 0xffff00fful;
172 rgba &= 0xffffff00ul;
284 return RGBAColor(
double( r ),
double( g ),
double( b ),
double( a ) );
320 return RGBAColor(
double( r ),
double( g ),
double( b ) );
Eight-bit string (ISO/IEC-8859-1 or UTF-8 string)
GenericString< char16_type, CharTraits, PCL_STRING_ALLOCATOR > ustring_base
IsoString & Format(const_c_string fmt,...)
int RoundInt(T x) noexcept
IsoString RGBColorToHexString(RGBA c)
void SetBlue(RGBA &rgba, uint8 b)
IsoString PCL_FUNC CSSColorName(RGBA)
void SetAlpha(RGBA &rgba, uint8 a)
void SetGreen(RGBA &rgba, uint8 g)
IsoString RGBAColorToHexString(RGBA c)
void SetRed(RGBA &rgba, uint8 r)
void ClearBlue(RGBA &rgba)
RGBA RGBAColor(int r, int g, int b, int a)
void ClearGreen(RGBA &rgba)
void ClearAlpha(RGBA &rgba)
void ClearRed(RGBA &rgba)
RGBA StringToRGBAColor(const IsoString &colorNameOrHex)