I want to use GWT Canvas to draw a dashed border around a canvas element like Rectangle.
I like the style that the css attribute border: dashed produces, especially the way the corners are displayed, like seen here: https://developer.mozilla.org/en-US/docs/CSS/border-style
Can the “source” code of how this dashed line is produces be inspected somewhere?
Found this function in the Firefox source:
nsCSSRenderingBorders. I don’t understand the code, but the answer probably lies in there.http://mxr.mozilla.org/mozilla-central/source/layout/base/nsCSSRenderingBorders.cpp