Esempio n. 1
0
        static GValue()
        {
            Vips.BandFormatGetType();
            BandFormatType = NetVips.TypeFromName("VipsBandFormat");

            if (NetVips.AtLeastLibvips(8, 6))
            {
                Vips.BlendModeGetType();
                BlendModeType = NetVips.TypeFromName("VipsBlendMode");
            }
        }
Esempio n. 2
0
        static GValue()
        {
            if (NetVips.AtLeastLibvips(8, 6))
            {
                BlendModeType = Vips.BlendModeGetType();
            }

            if (NetVips.AtLeastLibvips(8, 9))
            {
                SourceType = NetVips.TypeFromName("VipsSource");
                TargetType = NetVips.TypeFromName("VipsTarget");
            }
        }