SvgImage (gb.qt4)
This class represents a SVG file loaded from a file into memory.
Static methods
Load
|
Load a SVG document from the file Path, and return it as a new SvgImage.
|
Properties
H
|
A synonymous of the Height property.
|
Height
|
Return or set the height of the SVG document in points.
|
W
|
A synonymous of the Width property.
|
Width
|
Return or set the width of the SVG document in points.
|
Methods
Clear
|
Clear the SVG document.
|
Paint
|
Public Sub DrawingArea1_Draw()
|
Resize
|
Resize the SVG document.
|
Save
|
Save the SVG image to disk as a SVG file.
|
SvgImage objects can be painted with the
Paint class, and saved back to the disk.
Example
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component
The SVG support of Qt has many bugs for years. I don't know if it will be better with Qt5.