Merge pull request #4474 from chriskr/draw-image-subpixel-support
Introduce paintSolidColorImageMask command to handle 1x1 solid image
This commit is contained in:
commit
1801fb2c37
5 changed files with 38 additions and 1 deletions
|
@ -2128,6 +2128,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
}
|
||||
},
|
||||
|
||||
paintSolidColorImageMask:
|
||||
function CanvasGraphics_paintSolidColorImageMask() {
|
||||
this.ctx.fillRect(0, 0, 1, 1);
|
||||
},
|
||||
|
||||
// Marked content
|
||||
|
||||
markPoint: function CanvasGraphics_markPoint(tag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue