MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / setValues

Method setValues

Rectangle/Rectangle.cpp:235–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 }
234
235 void setValues(const OfxPointD& btmLeft,
236 const OfxPointD& size,
237 const OfxPointD& cornerRadius,
238 double softness,
239 const RGBAValues& color0,
240 const RGBAValues& color1,
241 double mix,
242 bool processR,
243 bool processG,
244 bool processB,
245 bool processA)
246 {
247 _btmLeft = btmLeft;
248 _size = size;
249 _cornerRadius = cornerRadius;
250 _softness = (std::max)(0., softness);
251 _color0 = color0;
252 _color1 = color1;
253 _mix = mix;
254 _processR = processR;
255 _processG = processG;
256 _processB = processB;
257 _processA = processA;
258 }
259};
260
261

Callers 1

setupAndProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected