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