Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Gnome/testsuite/svg/parser/   (Gnome Linux Desktop Version 4.23.2©)  Datei vom 30.5.2026 mit Größe 5 kB image not shown  

Bilddatei

pservers-grad-08-b.svg


products/Sources/formale Sprachen/C/Gnome/testsuite/svg/parser/pservers-grad-08-b.svg

Test that the viewer has basic capability to handle linear gradients on fills and stroke of text.

Both elements in this test use the same simple gradient. It is a linear gradient from blue (left) to lime (right). From top-down the appearance of objects is as follows.

The first item is a text string "Gradient on fill" with the gradient on the fill of the text.

The second item is a text string that is not filled. It has a 2 user unit stroke on which the gradient is applied.

Run the test. No interaction required.

The test passes if the rendering matches the reference image, apart from any differences in font choice due to CSS2 rules. Specifically:

  • The text string "Gradient on fill" must be filled with a gradient from blue on the left to lime on the right.
  • The text string "Gradient on stroke" must be unfilled and stroked with a gradient from blue on the left to lime on the right.
$RCSfile: pservers-grad-08-b.svg,v $ Gradient on fill Gradient on stroke Linear gradient on filled text Linear gradient on stroke of text $Revision: 1.13 $