123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- using System.Runtime.InteropServices;
- namespace Microsoft.Win32
- {
-
-
-
- public static partial class NativeMethods
- {
-
-
-
-
-
-
-
-
-
-
-
-
- [StructLayout(LayoutKind.Sequential)]
- public struct BLENDFUNCTION
- {
-
-
-
- public static readonly BLENDFUNCTION Empty;
-
-
-
- public static readonly BLENDFUNCTION Default;
-
-
-
- static BLENDFUNCTION()
- {
- Empty = new BLENDFUNCTION();
- Default = new BLENDFUNCTION(NativeMethods.AC_SRC_OVER, 0, 255, NativeMethods.AC_SRC_ALPHA);
- }
-
-
-
- public byte BlendOp;
-
-
-
- public byte BlendFlags;
-
-
-
- public byte SourceConstantAlpha;
-
-
-
- public byte AlphaFormat;
-
-
-
-
-
-
-
- public BLENDFUNCTION(byte op, byte flags, byte alpha, byte format)
- {
- this.BlendOp = op;
- this.BlendFlags = flags;
- this.SourceConstantAlpha = alpha;
- this.AlphaFormat = format;
- }
- }
- }
- }
|