Search found 84 matches
- Sunday 25th April 2021 8:22am
- Forum: General
- Topic: The benefits of using vector graphics
- Replies: 8
- Views: 4821
The benefits of using vector graphics
This isn’t about posting a new problem, but why and how to use a solved one. The problem was ‘Vector graphics support’ as you may find in the Component section. Thanks to the solution provided by Bruce we now can easily ‘stretch’ a graphic to the size we want. And I say ‘graphic’ because ‘picture’ a...
- Sunday 25th April 2021 8:11am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
Congratulations Bruce! That one needed some thinking over indeed. There is unfortunately almost nothing to be found on how to use ‘stretch’ in the Gambas documentation, certainly no example code. Now that the right way of using the ‘stretch’ property has been found, I’d like to explain why I wanted ...
- Thursday 22nd April 2021 11:58am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
Hi PJBlack
I already tried that and even a whole new project.
Same - negative - result.
To all : I'll be away for a couple of days.
I already tried that and even a whole new project.
Same - negative - result.
To all : I'll be away for a couple of days.
- Wednesday 21st April 2021 2:30pm
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
Nope. Still black is black.
Tried with other graphics formats as well.
Sigh
Tried with other graphics formats as well.
Sigh
- Wednesday 21st April 2021 5:39am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
I never considered the Stretch option, so I tried it now. I thought the following code could get a ‘stretched’ Image into a control, also in one that only accepts Pictures. Problem solved? NO. The code runs without errors, but the result is just an empty black graphic. I am obviously forgetting some...
- Tuesday 20th April 2021 6:08am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
Hi Bruce This SvgImage seems to be useless for actual resizing an .svg image. The example in gb.qt4 does work, but both setting width & height or using Resize give as result a cropped section of somewhere in the middle of the original image. Resize should apply to the entire image. If would have...
- Monday 19th April 2021 11:17am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
OK Bruce, I'll have a go at it.
- Monday 19th April 2021 7:38am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Re: Vector graphics support ?
Hi Cogier. After changing the filter to ‘All Files’ you can indeed use any vector graphics, also as Form background and Controls with the ‘Picture’ property. Unfortunately the result is not what I hoped for, namely that such vector graphics would adapt automatically to their container’s size – like ...
- Sunday 18th April 2021 6:17am
- Forum: Component
- Topic: Vector graphics support ?
- Replies: 16
- Views: 18839
Vector graphics support ?
I was wondering, does Gambas support vector graphics (.AI, .EPS., .SVG, .DRW)? I tried to use some, but Gambas doesn’t seem to know them. It would be ideal for setting quality stable backgrounds, buttons and such. Certainly when you would be using resizable controls or background pictures for small ...
- Thursday 15th April 2021 1:44pm
- Forum: Beginners
- Topic: Insert Image , Smilies?
- Replies: 6
- Views: 4932
Re: Insert Image , Smilies?
Right. That simple. Once you know it.
Thanks again Steve.
Cogier, as you will notice on my keyboard the 'Return' key and 'Enter' key are both named 'Enter'.
That's why I kept looking at Key.Enter and not getting the result I wanted.
Thanks again Steve.
Cogier, as you will notice on my keyboard the 'Return' key and 'Enter' key are both named 'Enter'.
That's why I kept looking at Key.Enter and not getting the result I wanted.