1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-13 03:54:14 +01:00

4 Commits

Author SHA1 Message Date
Dmytro Poplavskiy
53d8fa4666 Added the border parameter to the svg image provider
it's useful to extent the image by 1 pixel sometimes,
so the AA area is not clipped.
2012-09-11 15:19:19 +10:00
Dmytro Poplavskiy
18a9ad3aa8 PFD: split the compass band to parts to fit the texture limit
On older graphics cards the texture size limit
may be smaller than the compass band width,
QML downscales the element to fit the texture.

To avoid this, split compass band to tiles.

Added parameter like hslice=2:8 to svg image provider
and SvgElementImage.
2012-09-11 15:16:58 +10:00
Dmytro Poplavskiy
4cc13c9eea GCS/PFDqml: use the correct sceneSize for svg element images
Pass the element source size instead of the scene source size
to ensure the element is not downscalled.
2012-09-09 16:58:54 +10:00
Dmytro Poplavskiy
69eb685d7b Moved svgimageprovider from qmlview plugin to utils lib
To be reused by other qml based plugins.
2012-07-23 15:36:53 +10:00