forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbicubic_scale_transform_protocol.gen.go
175 lines (141 loc) · 5.52 KB
/
bicubic_scale_transform_protocol.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a bicubic scale transform filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform?language=objc
type PBicubicScaleTransform interface {
// optional
SetParameterC(value float64)
HasSetParameterC() bool
// optional
ParameterC() float64
HasParameterC() bool
// optional
SetParameterB(value float64)
HasSetParameterB() bool
// optional
ParameterB() float64
HasParameterB() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetAspectRatio(value float64)
HasSetAspectRatio() bool
// optional
AspectRatio() float64
HasAspectRatio() bool
// optional
SetScale(value float64)
HasSetScale() bool
// optional
Scale() float64
HasScale() bool
}
// ensure impl type implements protocol interface
var _ PBicubicScaleTransform = (*BicubicScaleTransformObject)(nil)
// A concrete type for the [PBicubicScaleTransform] protocol.
type BicubicScaleTransformObject struct {
objc.Object
}
func (b_ BicubicScaleTransformObject) HasSetParameterC() bool {
return b_.RespondsToSelector(objc.Sel("setParameterC:"))
}
// The value of C to use for the cubic resampling function. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228077-parameterc?language=objc
func (b_ BicubicScaleTransformObject) SetParameterC(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setParameterC:"), value)
}
func (b_ BicubicScaleTransformObject) HasParameterC() bool {
return b_.RespondsToSelector(objc.Sel("parameterC"))
}
// The value of C to use for the cubic resampling function. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228077-parameterc?language=objc
func (b_ BicubicScaleTransformObject) ParameterC() float64 {
rv := objc.Call[float64](b_, objc.Sel("parameterC"))
return rv
}
func (b_ BicubicScaleTransformObject) HasSetParameterB() bool {
return b_.RespondsToSelector(objc.Sel("setParameterB:"))
}
// The value of B to use for the cubic resampling function. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228076-parameterb?language=objc
func (b_ BicubicScaleTransformObject) SetParameterB(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setParameterB:"), value)
}
func (b_ BicubicScaleTransformObject) HasParameterB() bool {
return b_.RespondsToSelector(objc.Sel("parameterB"))
}
// The value of B to use for the cubic resampling function. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228076-parameterb?language=objc
func (b_ BicubicScaleTransformObject) ParameterB() float64 {
rv := objc.Call[float64](b_, objc.Sel("parameterB"))
return rv
}
func (b_ BicubicScaleTransformObject) HasSetInputImage() bool {
return b_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228075-inputimage?language=objc
func (b_ BicubicScaleTransformObject) SetInputImage(value Image) {
objc.Call[objc.Void](b_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (b_ BicubicScaleTransformObject) HasInputImage() bool {
return b_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228075-inputimage?language=objc
func (b_ BicubicScaleTransformObject) InputImage() Image {
rv := objc.Call[Image](b_, objc.Sel("inputImage"))
return rv
}
func (b_ BicubicScaleTransformObject) HasSetAspectRatio() bool {
return b_.RespondsToSelector(objc.Sel("setAspectRatio:"))
}
// The additional horizontal scaling factor to use on the image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228074-aspectratio?language=objc
func (b_ BicubicScaleTransformObject) SetAspectRatio(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setAspectRatio:"), value)
}
func (b_ BicubicScaleTransformObject) HasAspectRatio() bool {
return b_.RespondsToSelector(objc.Sel("aspectRatio"))
}
// The additional horizontal scaling factor to use on the image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228074-aspectratio?language=objc
func (b_ BicubicScaleTransformObject) AspectRatio() float64 {
rv := objc.Call[float64](b_, objc.Sel("aspectRatio"))
return rv
}
func (b_ BicubicScaleTransformObject) HasSetScale() bool {
return b_.RespondsToSelector(objc.Sel("setScale:"))
}
// The scaling factor to use on the image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228078-scale?language=objc
func (b_ BicubicScaleTransformObject) SetScale(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setScale:"), value)
}
func (b_ BicubicScaleTransformObject) HasScale() bool {
return b_.RespondsToSelector(objc.Sel("scale"))
}
// The scaling factor to use on the image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibicubicscaletransform/3228078-scale?language=objc
func (b_ BicubicScaleTransformObject) Scale() float64 {
rv := objc.Call[float64](b_, objc.Sel("scale"))
return rv
}