Hi,
have two questions to the all points on a line part of canvas' arcTo.
A short example:
moveTo(50,0);
arcTo(100,0, 0,0, 10);
This should add a new, from p1 infinite far away, point to the subpath
and draw a straight line to it.
Two questions.
1) If I add lineTo(50, 50); after arcTo(..).
we have to draw a line parallel to the
infinite long line, created by arcTo (and it's infinite long too).
Please correct me if I missunderstood the specification.
Dirk
Am Samstag, den 27.12.2008, 10:37 +0100 schrieb Dirk Schulze:
Hi,
have two questions to the all points on a line part
Depending on how the Path object gets implemented, there could be a lot more
benefits. E.g. the Context could be transformed without transforming the path.
It would be possible to get a point at a given length on a path or the path
length itself. It would be possible to get a segment on a path
Hi,
The interface of CanvasRenderingContext2D currently has a function called
isPointInPath() with a Path object as input [1]. I wonder why this needs to be
on the context interface. Wouldn't it make more sense on the interface of Path
object itself? If an implementation really needs a context
On Sep 21, 2012, at 3:12 AM, Ian Hickson i...@hixie.ch wrote:
The only situation that might be reasonable would be a transform on the
Canvas that an author want to cover in the Path. But for the rare case
where this matters, you can create a new Path object, add your path with
the
Hi,
Would it be possible to extend CanvasRenderingContext2D with the functions:
void addPath(Path path); - which adds a Path object to the current path on
Canvas?
attribute Path currentPath; - that returns a copy of the current path, or let
you replace the current path with another Path object
On Sep 24, 2012, at 3:50 PM, Ian Hickson i...@hixie.ch wrote:
On Mon, 24 Sep 2012, Tab Atkins Jr. wrote:
You are looking at the simplest possible use-case for A/a, nearly the
only case that can be done without trig, where you're starting and
stopping the arc at a quarter-turn. Try
On Sep 24, 2012, at 4:32 PM, Ian Hickson i...@hixie.ch wrote:
On Mon, 24 Sep 2012, Dirk Schulze wrote:
Making the path syntax more complex than it needs to be seems not to be
an option for me.
It's definitely an option, assuming this is not a trivial statement,
because it's
On Sep 28, 2012, at 12:17 PM, Rik Cabanier caban...@gmail.com wrote:
On Fri, Sep 28, 2012 at 9:31 AM, Dirk Schulze dschu...@adobe.com wrote:
Hi,
Would it be possible to extend CanvasRenderingContext2D with the functions:
void addPath(Path path); - which adds a Path object
Can you please move this discussion to another thread and discuss the Path
object on this thread?
Greetings,
Dirk
On Oct 5, 2012, at 2:56 PM, Glenn Maynard gl...@zewt.org wrote:
On Fri, Oct 5, 2012 at 4:17 PM, Boris Zbarsky bzbar...@mit.edu wrote:
Yes, but at the cost of performance and
On Nov 23, 2012, at 2:36 PM, Ian Hickson i...@hixie.ch wrote:
On Fri, 21 Sep 2012, Tyler Larson wrote:
On Sep 20, 2012, at 6:49 PM, Ian Hickson i...@hixie.ch wrote:
Can't you do this using clip() easily enough? Maybe I'm missing
something important here. Can you elaborate?
Here is an
On Jan 2, 2013, at 3:40 AM, James Ascroft-Leigh j...@jwal.me.uk wrote:
All,
I recently discovered that a common and well understood 2D graphics
operation is not supported by the 2D canvas API even though it is supported
by almost every other modern 2D graphics API. This missing feature is
rule. I propose
extending 2D canvas to allow determining inside-ness using the even-odd
rule.
I've added this to the spec.
On Wed, 2 Jan 2013, Dirk Schulze wrote:
There was a complain on the webkit bug report if fillRule should be part
of the graphics state or not. Did you
On Jan 9, 2013, at 11:42 AM, Rik Cabanier
caban...@gmail.commailto:caban...@gmail.com wrote:
On Wed, Jan 9, 2013 at 10:27 AM, Dean Jackson
d...@apple.commailto:d...@apple.com wrote:
On 09/01/2013, at 4:08 PM, Dirk Schulze
dschu...@adobe.commailto:dschu...@adobe.com wrote:
On Jan 8
On Jan 9, 2013, at 2:18 PM, Rik Cabanier caban...@gmail.com wrote:
On Fri, Dec 28, 2012 at 8:59 PM, Ian Hickson i...@hixie.ch wrote:
On Mon, 10 Sep 2012, Tab Atkins Jr. wrote:
1. Check out http://www.xanthir.com/etc/railroad-diagrams/example.html
.
See all those boxes full of text in
Hi,
After all the discussions about winding rules and the new introduced
enumeration for nonzero and even odd, I wonder if the the compositing and
blending modes should be two enumerations as well.
enum CanvasCompositingMode {
source-over,
source-in,
…
}
and
enum
On Jan 10, 2013, at 8:10 AM, Rik Cabanier caban...@gmail.com wrote:
On Wed, Jan 9, 2013 at 10:36 PM, Dirk Schulze dschu...@adobe.com wrote:
On Jan 9, 2013, at 9:29 PM, Rik Cabanier caban...@gmail.com wrote:
Hi Dirk,
the 'globalCompositeOperation' property takes the same syntax
Hi,
I think the definition of coordinate space is misleading in the specification.
The canvas element has two attributes to control the size of the coordinate
space: width and height.
This implies that the coordinate space is limited by this size. This is not the
case. The coordinate space
Hi,
The spec doesn't have any wording about the behavior on non-invertible CTMs on
Canvas contexts. Is it still possible to add segments to the current path once
a CTM is not invertible anymore? Does the path get rejected completely then?
Implementations are fairly different.
Here are two
On Mar 5, 2013, at 1:42 PM, Tab Atkins Jr. jackalm...@gmail.com wrote:
On Tue, Mar 5, 2013 at 12:42 PM, Boris Zbarsky bzbar...@mit.edu wrote:
On 3/5/13 3:30 PM, Ian Hickson wrote:
I'd be fine with having a Document descendant that is used for Documents
that have global scopes / browsing
On May 3, 2013, at 5:10 PM, Ian Hickson i...@hixie.ch wrote:
On Tue, 13 Nov 2012, Jeff Muizelaar wrote:
We have recently implemented isPointInStroke(x,y) in Firefox
(https://bugzilla.mozilla.org/show_bug.cgi?id=803124). This is a
parallel to isPointInPath(x,y) and returns true if the
On May 4, 2013, at 5:27 PM, Dirk Schulze dschu...@adobe.com wrote:
On May 3, 2013, at 5:10 PM, Ian Hickson i...@hixie.ch wrote:
On Tue, 13 Nov 2012, Jeff Muizelaar wrote:
We have recently implemented isPointInStroke(x,y) in Firefox
(https://bugzilla.mozilla.org/show_bug.cgi?id=803124
On Jun 24, 2013, at 8:38 AM, Jürg Lehni li...@scratchdisk.com wrote:
On Jun 17, 2013, at 17:55 , Rik Cabanier caban...@gmail.com wrote:
I think we need to get some browser vendors on board.
What's the process to do so?
However, I believe Firefox has been working on landing 'path' and
Hi,
The methods addText() and addPathByStrokingText() [1] take the
NoInterfaceObject CanvasDrawingStyle [2] as argument. I wonder if that is even
possible for WebIDL since there is no way to create it and no binding to
ECMAScript is exposed. Shouldn't it rather be a DrawingStyle object[3],
On Jul 3, 2013, at 7:17 AM, Ian Hickson i...@hixie.ch wrote:
On Tue, 2 Jul 2013, Dirk Schulze wrote:
The methods addText() and addPathByStrokingText() [1] take the
NoInterfaceObject CanvasDrawingStyle [2] as argument. I wonder if that
is even possible for WebIDL since there is no way
On Jul 24, 2013, at 7:19 AM, Rik Cabanier caban...@gmail.com wrote:
On Tue, Jul 23, 2013 at 6:20 PM, Glenn Maynard gl...@zewt.org wrote:
(The below is about Canvas only; I'm not very familiar with SVG. I think
they should be two separate discussions.)
Agreed. Sorry to confuse the
Hi,
If I understand HTML img fetching and the fetch spec right. The default
behavior on image fetching is No CORS with the mode tainted cross-origin.
For the example: img src=image.svg
and image.svg:
svg
image xlink:href=http://otherdomain.com/image.svg;
/svg
In this case the
On Sep 13, 2013, at 10:43 AM, Anne van Kesteren ann...@annevk.nl wrote:
On Fri, Sep 13, 2013 at 9:27 AM, Dirk Schulze dschu...@adobe.com wrote:
So, I wonder how that behavior could be described.
I think you'd have a mode switch and maybe a wrapper for Fetch that
only calls it for data
On Nov 3, 2013, at 3:22 PM, Glenn Maynard gl...@zewt.org wrote:
On Sat, Nov 2, 2013 at 9:03 PM, Rik Cabanier caban...@gmail.com wrote:
Does this mean that ctx.currentPath != ctx.currentPath?
Yes
That's bad!
Why would it be bad (apart from being different)?
It's strange to say
On Nov 5, 2013, at 5:22 AM, Rik Cabanier caban...@gmail.com wrote:
On Mon, Nov 4, 2013 at 7:29 PM, Rik Cabanier caban...@gmail.com wrote:
On Mon, Nov 4, 2013 at 5:21 PM, Robert O'Callahan
rob...@ocallahan.orgwrote:
If you return a path in user-space, what do you get if you call
On Nov 5, 2013, at 6:56 PM, Rik Cabanier
caban...@gmail.commailto:caban...@gmail.com wrote:
On Tue, Nov 5, 2013 at 4:29 AM, Dirk Schulze
dschu...@adobe.commailto:dschu...@adobe.com wrote:
On Nov 5, 2013, at 5:22 AM, Rik Cabanier
caban...@gmail.commailto:caban...@gmail.com wrote:
On Mon
Under the described circumstances, I agree that we should ha a getter and
setter for Path on CanvasRenderingContext2D.
Greetings,
Dirk
On Nov 5, 2013, at 4:29 AM, Rik Cabanier caban...@gmail.com wrote:
On Mon, Nov 4, 2013 at 5:21 PM, Robert O'Callahan rob...@ocallahan.orgwrote:
If you
Sent from my iPhone
On Nov 12, 2013, at 6:18 AM, Elliott Sprehn
espr...@gmail.commailto:espr...@gmail.com wrote:
On Mon, Nov 4, 2013 at 9:14 AM, Rik Cabanier
caban...@gmail.commailto:caban...@gmail.com wrote:
On Mon, Nov 4, 2013 at 2:07 AM, Jürg Lehni
On Nov 12, 2013, at 7:19 AM, Elliott Sprehn espr...@chromium.org wrote:
On Mon, Nov 11, 2013 at 2:52 PM, Dirk Schulze dschu...@adobe.com wrote:
...
The SVG WG would like to start using the 'Path' object for its objects as
well. We'd like this to be a generic object that can be used
On Nov 13, 2013, at 2:53 PM, Rik Cabanier caban...@gmail.com wrote:
[resending because of a bounced message]
DrawingPath is saying the same thing twice.
Maybe DOMDrawing is better? (with drawing the definition of
http://dictionary.cambridge.org/dictionary/british/drawing?q=drawing)
I
The document “SVG Integration Module Level 1” [1] is going to define the
specifics of fetching in SVG. I hope to find the time to add actual content in
January and would be happy for reviews after that.
Greetings,
Dirk
[1]
On Feb 1, 2014, at 9:03 PM, Cameron McCormack c...@mcc.id.au wrote:
Currently, HTML defines Document.title on SVG documents to defer to whatever
the SVG specification defines for SVGDocument.title. The SVGDocument
interface has gone away, so this will need to be updated. From some basic
On Feb 3, 2014, at 5:02 PM, Cameron McCormack c...@mcc.id.au wrote:
Jonas Sicking wrote:
An even simpler solution would be to say we choose the first
html:title orsvg:title in document order. That has the nice
property that we align SVG and HTML more.
Although as Dirk pointed out, SVG
On Mar 5, 2014, at 11:54 PM, Rik Cabanier caban...@gmail.com wrote:
On Wed, Mar 5, 2014 at 2:43 PM, Ian Hickson i...@hixie.ch wrote:
On Wed, 5 Mar 2014, Jeff Muizelaar wrote:
On Mar 5, 2014, at 5:34 PM, Ian Hickson i...@hixie.ch wrote:
On Wed, 5 Mar 2014, Rik Cabanier wrote:
To work
On Mar 10, 2014, at 3:44 AM, Rik Cabanier caban...@gmail.com wrote:
On Wed, Mar 5, 2014 at 1:46 PM, Rik Cabanier caban...@gmail.com wrote:
While implementing the Path2D object in mozilla, we ran into a performance
issue.
The mozilla implementation uses different backends for the
On Mar 10, 2014, at 7:02 PM, Rik Cabanier caban...@gmail.com wrote:
On Sun, Mar 9, 2014 at 10:52 PM, Dirk Schulze dschu...@adobe.com wrote:
On Mar 10, 2014, at 3:44 AM, Rik Cabanier caban...@gmail.com wrote:
On Wed, Mar 5, 2014 at 1:46 PM, Rik Cabanier caban...@gmail.com
wrote
On Mar 12, 2014, at 12:13 AM, Rik Cabanier caban...@gmail.com wrote:
On Tue, Mar 11, 2014 at 10:03 AM, Edward O'Connor eocon...@apple.comwrote:
Hi Rik,
You wrote:
Currently, the specification states that if you create a region and
then create another region that completely covers
Hi,
Apologize if it was already discussed but I couldn’t find a mail to this topic.
In one of the early drafts of Filter Effects we had filter operation support
for HTML Canvas. We deferred it and IMO it makes more sense to have it as part
of the Canvas specification text.
I would suggest a
On Mar 17, 2014, at 3:49 PM, Justin Novosad ju...@google.com wrote:
On Fri, Mar 14, 2014 at 4:50 PM, Ian Hickson i...@hixie.ch wrote:
On Fri, 7 Feb 2014, Justin Novosad wrote:
Current text: If the point (x0, y0) is equal to the point (x1, y1),
or if the point (x1, y1) is equal to the
On Mar 17, 2014, at 9:23 PM, Justin Novosad ju...@google.com wrote:
On Mon, Mar 17, 2014 at 2:06 PM, Rik Cabanier caban...@gmail.com wrote:
Make a clean cut and define that drawing operators are ignored when there's a
non-invertible matrix.
I could totally go for that, but
On Mar 18, 2014, at 10:38 AM, Jürg Lehni li...@scratchdisk.com wrote:
So is currentPath going away then for sure? Will there still be a way to to
retrieve a Path2D representation of the path being drawn by the long existing
drawing commands on the context?
I quite liked how I could use
Hi,
I just looked at the definition of Path.addPath[1]:
void addPath(Path path, SVGMatrix? transformation);
SVGMatrix is nullable but can not be omitted all together. Why isn’t it
optional as well? I think it should be optional, especially because creating an
SVGMatrix at the moment
Hi,
I just looked at the definition of Path.addPath[1]:
void addPath(Path path, SVGMatrix? transformation);
SVGMatrix is nullable but can not be omitted all together. Why isn’t it
optional as well? I think it should be optional, especially because creating an
SVGMatrix at the moment means
On Mar 19, 2014, at 10:48 PM, Rik Cabanier
caban...@gmail.commailto:caban...@gmail.com wrote:
On Wed, Mar 19, 2014 at 2:22 PM, Justin Novosad
ju...@google.commailto:ju...@google.com wrote:
On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze
dschu...@adobe.commailto:dschu...@adobe.com wrote
On Mar 20, 2014, at 6:31 PM, Rik Cabanier caban...@gmail.com wrote:
addPath is currently defined on the Path2D object. [1]
Is there a reason why it's not defined on CanvasPathMethods instead? That
way this method is available on the 2d contest so you can append a path to
the current graphics
, Dirk Schulze dschu...@adobe.com wrote:
On Mar 20, 2014, at 6:31 PM, Rik Cabanier caban...@gmail.com wrote:
addPath is currently defined on the Path2D object. [1]
Is there a reason why it's not defined on CanvasPathMethods instead? That
way this method is available on the 2d contest so you
;
context.scale(2, 2);
This behavior is probably not what most developers would expect.
I would like to propose changing this to a getter method instead. We
already have a setter method (setTransform).
In another thread entitled Canvas Path.addPath SVGMatrix not optimal,
Dirk Schulze
Gregorio
jcgrego...@google.commailto:jcgrego...@google.com wrote:
On Wed, Mar 19, 2014 at 4:46 PM, Dirk Schulze
dschu...@adobe.commailto:dschu...@adobe.com wrote:
Hi,
I just looked at the definition of Path.addPath[1]:
void addPath(Path path, SVGMatrix? transformation);
SVGMatrix is nullable
Hi,
I was reading the spec part about ImageData [1].
1)
I noticed that createImageData() is explicit that it represent a transparent
black rectangle. The constructor for ImageData is not that explicit.
2)
The last step of the 2nd constructor that takes an Uint8ClampedArray says:
•
On Mar 24, 2014, at 4:43 PM, Rik Cabanier caban...@gmail.com wrote:
On Mon, Mar 24, 2014 at 8:34 AM, Simon Sarris simon.sar...@gmail.com wrote:
On Mon, Mar 24, 2014 at 11:26 AM, Hwang, Dongseong
dongseong.hw...@intel.com wrote:
Looking over this thread, we make a consensus not to
Hi,
Independent if getter getTransform/getCTM or attribute currentTransform, what
should be returned for a CTM that is singular (not invertible)?
In WebKit we do not track all transformations of the CTM that caused a singular
matrix or are following a transformation that would have caused a
On Mar 25, 2014, at 8:46 PM, Rik Cabanier caban...@gmail.com wrote:
On Tue, Mar 25, 2014 at 12:35 PM, Justin Novosad ju...@google.com wrote:
On Tue, Mar 25, 2014 at 3:15 PM, Rik Cabanier caban...@gmail.com wrote:
I agree. That issue has the same root problem as currentTransform.
It
On Mar 26, 2014, at 1:07 PM, Hwang, Dongseong dongseong.hw...@intel.com wrote:
Maklng path primitives and draw calls no-ops when the
CTM is non-invertible is simple to spec, implement, test, and understand
for developers.
I strongly agree on Justin.
I agree as well.
I would suggest
Hi,
Canvas let you set alignment baselines with the textBaseline attribute [1].
One of the baseline values is ‘middle’. The description of the ‘middle’
baseline seems to be in conflict with the definition for the alignment-baseline
property in CSS[2].
Canvas: The middle of the em square
CSS:
unfortunate the confusion.
Greetings,
Dirk
On Sun, Mar 30, 2014 at 3:11 PM, Dirk Schulze dschu...@adobe.com wrote:
Hi,
Canvas let you set alignment baselines with the textBaseline attribute [1].
One of the baseline values is ‘middle’. The description of the ‘middle’
baseline seems
Hi,
I looked at the behavior of negative width or height for the rect() and
strokeRect() functions.
All browsers normalize the passed parameters for strokeRect() to have positive
width and height.
strokeRect(90,10,-80,80) — strokeRect(10,10,80,80)
http://jsfiddle.net/za945/
Just WebKit
On Apr 6, 2014, at 3:23 AM, Rik Cabanier caban...@gmail.com wrote:
On Sat, Apr 5, 2014 at 9:01 AM, Dirk Schulze dschu...@adobe.com wrote:
Hi,
I looked at the behavior of negative width or height for the rect() and
strokeRect() functions.
All browsers normalize the passed
Hi,
The spec says that the object TextMetrics[1] must return font and actual text
metrics. All things require information from the font or the font system. In
many cases either font or font system just do not provide these information.
Instead of assuming that all information are accessible by
On Apr 6, 2014, at 8:24 AM, Rik Cabanier caban...@gmail.com wrote:
On Sat, Apr 5, 2014 at 11:00 PM, Dirk Schulze dschu...@adobe.com wrote:
On Apr 6, 2014, at 3:23 AM, Rik Cabanier caban...@gmail.com wrote:
On Sat, Apr 5, 2014 at 9:01 AM, Dirk Schulze dschu...@adobe.com wrote
Hi,
contentEditable can be fairly useful in SVG as well. It partly works for inline
SVG content in web browsers today.
The question is, should SVGElement add support for
contentEditable/isContentEditable and add it to its interface? Or should both
attributes move to the Element interface
On Jun 24, 2014, at 5:25 AM, Robert O'Callahan rob...@ocallahan.org wrote:
On Thu, Jun 19, 2014 at 4:33 AM, Tab Atkins Jr. jackalm...@gmail.com
wrote:
Yes, increasing the set of name-alikes between html and svg is absolutely
not something we'll support. (I've unfortunately been out of the
On Jul 2, 2014, at 4:01 AM, Ryosuke Niwa rn...@apple.com wrote:
On May 15, 2014, at 10:01 AM, Elliott Sprehn espr...@chromium.org wrote:
On Tue, May 13, 2014 at 11:21 AM, Ian Hickson i...@hixie.ch wrote:
I would feel more comfortable putting things on SVG, MathML, and HTML
explicitly.
msta...@themasta.com wrote:
Hi,
I'd like to revive this discussion.
On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze dschu...@adobe.com wrote:
I would suggest a filter attribute that takes a list of filter operations
similar to the CSS Image filter function[1]. Similar to shadows[2], each
On Sep 30, 2014, at 6:45 AM, Rik Cabanier caban...@gmail.com wrote:
On Mon, Sep 29, 2014 at 8:52 PM, Robert O'Callahan rob...@ocallahan.org
wrote:
On Mon, Sep 29, 2014 at 2:12 PM, Rik Cabanier caban...@gmail.com wrote:
Can we limit it to just the set of CSS filter shorthands for now?
I
On Oct 1, 2014, at 12:28 PM, Mark Callow callow.m...@artspark.co.jp wrote:
On 30/09/2014 02:20, Markus Stange wrote:
Hi,
I'd like to revive this discussion.
On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze
dschu...@adobe.com
wrote:
I would suggest a filter attribute that takes
70 matches
Mail list logo