Gambas: SVG

Aus Wikibooks


zurück zu Gambas


Gambas und SVG[Bearbeiten]

Gambas sollte Unterstützung für SVG Icons und Grafiken haben. Bis jetzt finde ich nichts.

Nach Angaben im Changelog von Gambas kann das Picture Steuerelement SVG Dateien laden.

The Picture class can manage SVG files now ! Its interface has gained a Type property and behaves a bit differently.

Dies kann man mit der Picturebox überprüfen. Es funktioniert nicht, sondern nur für folgende Bildformate: JPEG, PNG, BMP, GIF und XPM. Siehe PictureLoad ( Bild Laden ) Gambas:_Bilder#Laden_Sie_ein_Bild_mit_Dialog_in_eine_Picturebox

Ein SVG File wird bislang nur als Textfile in eine Textarea geladen.

Vielleicht muß man die Gambas XML Komponenten dazuladen:

  • gb.xml.libxml - XML tools based on libxml
  • gb.xml.libxml.rpc - XML-RPC client based on libxml and libcurl
  • gb.xml.libxml.xslt - XSLT tools based on libxslt

Ich würde die Frage auch hier posten:

Quellen[Bearbeiten]

Scalable Vector Graphics -- or SVG -- is the new XML-based graphics standard from the W3C that will enable Web documents to be smaller, faster and more interactive.

Siehe