Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SVG items with limited values

I am running into issues where SVG elements have limited values for some reason. for example. A nested SVG tag with an X or Y of > 300 will not render to screen. Even though it contains elements that are located with negative values and should display on screen. An x of 299 displays, an x of 300 does not display. 

 

Another: the gradient rectangle seems to have a max of 300 for gradient-x2 and gradient-y2.

 

These limits seem like a naive way to optimize graphics and put a limit on more sophisticated techniques. 

 

Are there any ways around this? Or any documentation for these limits?

 

Jason

Best Answer
0 Votes
2 REPLIES 2

There may well be some optimisations happening which prevent these from rendering.

If you can provide a simple example project I can get confirmation from the firmware team, and see if there are alternative solutions.

Best Answer
0 Votes

I've noticed this too. I found it necessary to crop some elements in my code, converting the original into one or more elements that completely fit on the screen. It's a lot of work (and maths!), and rather slow to run when many elements are involved.

Peter McLennan
Gondwana Software
Best Answer
0 Votes