Searched refs:srcCanvas (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dcommands.js288 * @param {HTMLCanvasElement} srcCanvas Canvas to execute on.
293 Command.prototype.execute = function(document, srcCanvas, callback, uiContext) {
313 * @param {HTMLCanvasElement} srcCanvas to copy optional dimensions from.
320 document, srcCanvas, opt_width, opt_height) {
322 result.width = opt_width || srcCanvas.width;
323 result.height = opt_height || srcCanvas.height;
343 document, srcCanvas, callback, uiContext) {
346 srcCanvas,
347 (this.rotate90_ & 1) ? srcCanvas.height : srcCanvas
[all...]
H A Dfilter.js36 * @param {HTMLCanvasElement} srcCanvas Source canvas.
42 dstCanvas, srcCanvas, filterFunc, progressCallback, maxPixelsPerStrip) {
44 var srcContext = srcCanvas.getContext('2d');
45 var source = srcContext.getImageData(0, 0, srcCanvas.width, srcCanvas.height);
47 var stripCount = Math.ceil(srcCanvas.width * srcCanvas.height /
51 srcCanvas.width, Math.ceil(srcCanvas.height / stripCount));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DRecordingImageBufferSurface.cpp159 bool RecordingImageBufferSurface::saveState(SkCanvas* srcCanvas, StateStack* stateStack) argument
164 while (srcCanvas->getSaveCount() > m_initialSaveCount) {
165 state.m_ctm = srcCanvas->getTotalMatrix();
167 if (!srcCanvas->getClipDeviceBounds(&state.m_clip))
170 srcCanvas->restore();
173 state.m_ctm = srcCanvas->getTotalMatrix();
175 if (!srcCanvas->getClipDeviceBounds(&state.m_clip))

Completed in 109 milliseconds