Premultiplied_color default constructor (transparent color)
This commit is contained in:
parent
5b38dad8fe
commit
58c7860d83
1 changed files with 8 additions and 0 deletions
|
@ -277,6 +277,14 @@ struct premultiplied_color
|
|||
uint32_t orig;
|
||||
uint16_t origa;
|
||||
uint16_t inv;
|
||||
premultiplied_color() throw()
|
||||
{
|
||||
hi = lo = 0;
|
||||
orig = 0;
|
||||
origa = 0;
|
||||
inv = 256;
|
||||
}
|
||||
|
||||
premultiplied_color(int64_t color) throw()
|
||||
{
|
||||
if(color < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue