github.com/goplus/gossa@v0.3.25/pkg/image/color/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package color 6 7 import ( 8 q "image/color" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "color", 18 Path: "image/color", 19 Deps: map[string]string{}, 20 Interfaces: map[string]reflect.Type{ 21 "Color": reflect.TypeOf((*q.Color)(nil)).Elem(), 22 "Model": reflect.TypeOf((*q.Model)(nil)).Elem(), 23 }, 24 NamedTypes: map[string]gossa.NamedType{ 25 "Alpha": {reflect.TypeOf((*q.Alpha)(nil)).Elem(), "RGBA", ""}, 26 "Alpha16": {reflect.TypeOf((*q.Alpha16)(nil)).Elem(), "RGBA", ""}, 27 "CMYK": {reflect.TypeOf((*q.CMYK)(nil)).Elem(), "RGBA", ""}, 28 "Gray": {reflect.TypeOf((*q.Gray)(nil)).Elem(), "RGBA", ""}, 29 "Gray16": {reflect.TypeOf((*q.Gray16)(nil)).Elem(), "RGBA", ""}, 30 "NRGBA": {reflect.TypeOf((*q.NRGBA)(nil)).Elem(), "RGBA", ""}, 31 "NRGBA64": {reflect.TypeOf((*q.NRGBA64)(nil)).Elem(), "RGBA", ""}, 32 "NYCbCrA": {reflect.TypeOf((*q.NYCbCrA)(nil)).Elem(), "RGBA", ""}, 33 "Palette": {reflect.TypeOf((*q.Palette)(nil)).Elem(), "Convert,Index", ""}, 34 "RGBA": {reflect.TypeOf((*q.RGBA)(nil)).Elem(), "RGBA", ""}, 35 "RGBA64": {reflect.TypeOf((*q.RGBA64)(nil)).Elem(), "RGBA", ""}, 36 "YCbCr": {reflect.TypeOf((*q.YCbCr)(nil)).Elem(), "RGBA", ""}, 37 }, 38 AliasTypes: map[string]reflect.Type{}, 39 Vars: map[string]reflect.Value{ 40 "Alpha16Model": reflect.ValueOf(&q.Alpha16Model), 41 "AlphaModel": reflect.ValueOf(&q.AlphaModel), 42 "Black": reflect.ValueOf(&q.Black), 43 "CMYKModel": reflect.ValueOf(&q.CMYKModel), 44 "Gray16Model": reflect.ValueOf(&q.Gray16Model), 45 "GrayModel": reflect.ValueOf(&q.GrayModel), 46 "NRGBA64Model": reflect.ValueOf(&q.NRGBA64Model), 47 "NRGBAModel": reflect.ValueOf(&q.NRGBAModel), 48 "NYCbCrAModel": reflect.ValueOf(&q.NYCbCrAModel), 49 "Opaque": reflect.ValueOf(&q.Opaque), 50 "RGBA64Model": reflect.ValueOf(&q.RGBA64Model), 51 "RGBAModel": reflect.ValueOf(&q.RGBAModel), 52 "Transparent": reflect.ValueOf(&q.Transparent), 53 "White": reflect.ValueOf(&q.White), 54 "YCbCrModel": reflect.ValueOf(&q.YCbCrModel), 55 }, 56 Funcs: map[string]reflect.Value{ 57 "CMYKToRGB": reflect.ValueOf(q.CMYKToRGB), 58 "ModelFunc": reflect.ValueOf(q.ModelFunc), 59 "RGBToCMYK": reflect.ValueOf(q.RGBToCMYK), 60 "RGBToYCbCr": reflect.ValueOf(q.RGBToYCbCr), 61 "YCbCrToRGB": reflect.ValueOf(q.YCbCrToRGB), 62 }, 63 TypedConsts: map[string]gossa.TypedConst{}, 64 UntypedConsts: map[string]gossa.UntypedConst{}, 65 }) 66 }