From c4ca69d3fa84dca98dce71c7a71b61413d6be165 Mon Sep 17 00:00:00 2001
From: scuri Returns the given color coded with the alpha information. ATENTION: At the
- moment only the Win32 with GDI+ and the IMAGERGB drivers support alpha
- components in color coding. Se in Windows Using
- GDI+ Base Driver and IMAGERGB driver. The
+ moment only the Win32 with GDI+, the
+ XRender and the IMAGERGB
+ drivers support alpha components in color coding. The
internal representation of the component is inverted, because the default value
must be 0 and opaque for backward compatibility, so you should use the cdDecodeAlpha
- function ot the cdAlpha macro to retrieve the alpha component.
unsigned char cdDecodeAlpha(long int color) [in C]
cd.DecodeAlpha(color: lightuserdata) -> (a: number) [in Lua]
--
cgit v1.2.3