-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tiling #19
Tiling #19
Conversation
@@ -2110,6 +2110,10 @@ var CanvasGraphics = (function() { | |||
}, | |||
setFillColorSpace: function(space) { | |||
// TODO real impl | |||
if (space.name === "Pattern") | |||
this.colorspace = "Pattern"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call this "colorSpace" ("colorspace" isn't a word) and make it part of the CanvasExtraState.
Overall looks good. Let's fix up the nits and we'll get it merged. |
// The following bug should allow us to remove this. | ||
// https://bugzilla.mozilla.org/show_bug.cgi?id=664884 | ||
// | ||
// Also, larg numbers seem to cause overflow which causes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"large", but deleting this sentence it would be fine with me.
So I still wasnt sure about the symbolic constants, so I created a const array with the different types. Not sure if this is what you wanted. Otherwise, I think all the requested changes have been done. |
alright, it should be ready |
I was planning to put tiling off until all of the stream infrastructure was done. I wanted to commit so that we don't end up duplicating work. There is still a bug in that the tiling is inversed, but otherwise it looks fine.