better alpha test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -286,7 +286,7 @@ public:
|
|||||||
p.Red() = r;
|
p.Red() = r;
|
||||||
p.Green() = g;
|
p.Green() = g;
|
||||||
p.Blue() = b;
|
p.Blue() = b;
|
||||||
p.Alpha() = x;
|
p.Alpha() = (x*255.)/REAL_SIZE;
|
||||||
|
|
||||||
++p; // same as p.OffsetX(1)
|
++p; // same as p.OffsetX(1)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user