MCPcopy Index your code
hub / github.com/aterrien/jQuery-Knob / copyState

Function copyState

excanvas.js:229–244  ·  view source on GitHub ↗
(o1, o2)

Source from the content-addressed store, hash-verified

227 }
228
229 function copyState(o1, o2) {
230 o2.fillStyle = o1.fillStyle;
231 o2.lineCap = o1.lineCap;
232 o2.lineJoin = o1.lineJoin;
233 o2.lineWidth = o1.lineWidth;
234 o2.miterLimit = o1.miterLimit;
235 o2.shadowBlur = o1.shadowBlur;
236 o2.shadowColor = o1.shadowColor;
237 o2.shadowOffsetX = o1.shadowOffsetX;
238 o2.shadowOffsetY = o1.shadowOffsetY;
239 o2.strokeStyle = o1.strokeStyle;
240 o2.globalAlpha = o1.globalAlpha;
241 o2.arcScaleX_ = o1.arcScaleX_;
242 o2.arcScaleY_ = o1.arcScaleY_;
243 o2.lineScale_ = o1.lineScale_;
244 }
245
246 function processStyle(styleString) {
247 var str, alpha = 1;

Callers 1

excanvas.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…