Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
why is panel.scale_x limited to -10... +10 ? #313789
03/03/10 17:16
03/03/10 17:16
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
The topic heading says it all. Why is that so? And can it be changed? I only noticed after getting weird results when scaling images.

I understand if this is trying to keep the beginner from scaling images too high and getting bad-looking results, but I've often had images that were only one pixel in hight and that I wanted to strech across half the screen, in height.

Right now I want to create a scrollbar that changes height when the screen resolution changes (and thus the scrollable area's size) and I can't scale it to the propper height.

Last edited by Germanunkol; 03/03/10 17:16.

~"I never let school interfere with my education"~
-Mark Twain
Re: why is panel.scale_x limited to -10... +10 ? [Re: Germanunkol] #313790
03/03/10 17:19
03/03/10 17:19
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
lmao, gamestudio strikes again ^^

Re: why is panel.scale_x limited to -10... +10 ? [Re: darkinferno] #313837
03/03/10 20:34
03/03/10 20:34
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
P.S.: can't use size_y because it repeats the thing, but with a black line of one pixel width between the bmap and the repeated bmap.


~"I never let school interfere with my education"~
-Mark Twain
Re: why is panel.scale_x limited to -10... +10 ? [Re: Germanunkol] #313934
03/04/10 16:07
03/04/10 16:07
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
maby you can use the workaround by using

bmp_createblack
and bmap_blit


"empty"
Re: why is panel.scale_x limited to -10... +10 ? [Re: Germanunkol] #313952
03/04/10 17:39
03/04/10 17:39
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: Germanunkol
P.S.: can't use size_y because it repeats the thing, but with a black line of one pixel width between the bmap and the repeated bmap.

The bitmap size must be power of two!


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: why is panel.scale_x limited to -10... +10 ? [Re: WretchedSid] #313956
03/04/10 18:19
03/04/10 18:19
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Thanks to both of you!
Will try the power of two. Sorry, I missed that in the manual, my bad.


~"I never let school interfere with my education"~
-Mark Twain

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1