mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-07 10:44:19 -04:00
Remove obsolete TODOs.
This commit is contained in:
parent
51df37b8ec
commit
55f815cb72
2 changed files with 0 additions and 5 deletions
src
|
@ -669,10 +669,6 @@ var Item = this.Item = Base.extend(/** @lends Item# */{
|
||||||
* raster.scale(5);
|
* raster.scale(5);
|
||||||
*/
|
*/
|
||||||
rasterize: function(resolution) {
|
rasterize: function(resolution) {
|
||||||
// TODO: why would we want to pass a size to rasterize? Seems to produce
|
|
||||||
// weird results on Scriptographer. Also we can't use antialiasing, since
|
|
||||||
// Canvas doesn't support it yet. Project colorMode is also out of the
|
|
||||||
// question for now.
|
|
||||||
var bounds = this.getStrokeBounds(),
|
var bounds = this.getStrokeBounds(),
|
||||||
scale = (resolution || 72) / 72,
|
scale = (resolution || 72) / 72,
|
||||||
canvas = CanvasProvider.getCanvas(bounds.getSize().multiply(scale)),
|
canvas = CanvasProvider.getCanvas(bounds.getSize().multiply(scale)),
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TODO: Consider simply naming Location?
|
|
||||||
/**
|
/**
|
||||||
* @name CurveLocation
|
* @name CurveLocation
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue