コード例 #1
0
ファイル: Babl.API.cs プロジェクト: stefanrbk/babl.net
 public static Babl?Trc(string name) =>
 BablTrc.Find(name);
コード例 #2
0
ファイル: Babl.API.cs プロジェクト: stefanrbk/babl.net
        //public static Babl? CreateModel(params object[] args)
        //{

        //}

        //public static Babl? CreateFormat(params object[] args)
        //{

        //}

        //public static Babl? Format2(Babl type, int components)
        //{

        //}

        //public static bool FormatIsFormat2(Babl format)
        //{

        //}

        //public static Babl? CreateConversion(params object[] args)
        //{

        //}

        //public static Babl? ConversionGetSourceSpace(Babl conversion)
        //{

        //}

        //public static Babl? ConversionGetDestinationSpace(Babl conversion)
        //{

        //}

        //public static Babl? CreatePalette(string name, Babl[]? format = null, Babl[]? formatWithAlpha = null)
        //{

        //}

        //public static Babl? CreatePaletteWithSpace(string name, Babl space, Babl[]? format = null, Babl[]? formatWithAlpha = null)
        //{

        //}

        //public static bool FormatIsPalette(Babl format)
        //{

        //}

        //public static void PaletteSetPalette(Babl babl, Babl format, ReadOnlySpan<byte> data, int count)
        //{

        //}

        //public static void PaletteReset(Babl babl)
        //{

        //}

        //public static void SetUserData(Babl babl, object data)
        //{

        //}

        //public static object GetUserData(Babl babl)
        //{

        //}

        //public static Babl? SpaceFromChromaticities(string name, double wx, double wy, double rx, double ry, double gx,
        //                                            double gy, double bx, double by, Babl trcRed, Babl? trcGreen,
        //                                            Babl? trcBlue, BablSpaceFlags flags)
        //{

        //}

        public static Babl?TrcGamma(double gamma) =>
        BablTrc.FormulaGamma(gamma);