| 189 | } |
| 190 | |
| 191 | c32 c32::ModulateRGB( c32 colour ) const |
| 192 | { |
| 193 | u8 r = ModulateComponent( GetR(), colour.GetR() ); |
| 194 | u8 g = ModulateComponent( GetG(), colour.GetG() ); |
| 195 | u8 b = ModulateComponent( GetB(), colour.GetB() ); |
| 196 | u8 a = GetA(); |
| 197 | |
| 198 | return c32( r, g, b, a ); |
| 199 | } |
| 200 | |
| 201 | c32 c32::ModulateA( c32 colour ) const |
| 202 | { |
nothing calls this directly
no test coverage detected