PolyFillArc request

This commit is contained in:
Andrey Sidorov 2012-06-15 11:00:13 +10:00
parent 6c9cb536e6
commit d2707f8d38

View file

@ -512,6 +512,20 @@ module.exports = {
}
],
PolyFillArc: [
function(drawable, gc, coords) { // x1, y1, w1, h1, a11, a12, ...
var format = 'CxSLL';
var numrects4bytes = coords.length/2;
var args = [71, 3+numrects4bytes, drawable, gc];
for (var i=0; i < coords.length; ++i)
{
format += 'S';
args.push(coords[i]);
}
return [format, args];
}
],
PutImage: [
// format: 0 - Bitmap, 1 - XYPixmap, 2 - ZPixmap
function(format, drawable, gc, width, height, dstX, dstY, leftPad, depth, data) {