We have tried to make a Graphics replacement candidate which uses SVG instead 
of canvas.  SVG should be more efficient than canvas for vector graphics, 
although benchmarking is ambiguous.

The roadblocks are:

 - embedding html in svg as a foreign object is extremely inconsistent across 
browsers
 - there is no good way of determining the size of text so that other graphics 
elements can flow around them

This makes text input impractical.  Note that text input was not robust across 
browsers in the old Graphics.

The first problem is not an ELM problem, but the second one seems solvable.

> On Jul 9, 2016, at 6:46 AM, Janis Voigtländer <janis.voigtlaen...@gmail.com> 
> wrote:
> 
> Richard, this is the post I had been remembering: 
> https://groups.google.com/d/msg/elm-discuss/Y1B6kKdXCNw/5Ky57c-IAQAJ 
> <https://groups.google.com/d/msg/elm-discuss/Y1B6kKdXCNw/5Ky57c-IAQAJ>
> Sounds like these are other folks, aside from CircuitHub, that have been 
> using Graphics.* in production (but I don’t know for sure what your 
> definition of “in production” is; does an in-house tool count?). And would 
> you agree that what you said in your message about continued ability to use 
> Graphics.* does not seem to be a reality for them?
> 
> BTW, it’s also remarkable that the plea for help/guidance expressed in that 
> posting didn’t get any response. At least not on the mailing list.
> 

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to