Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / ResizeImage()

Author
Message
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 31st May 2016 10:04
One of the major issues with DBP was the inconsistency of keywords - make/create being the one that jumps to mind.
AGK has been excellent in that regards (so far) but I can't help thinking that ResizeImage() really ought to be SetImageSize() or we start to fall into the same hole that DBP was in.
AGK V2 user - Tier 1 (mostly)
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 6th Jun 2016 14:47
I see your point, but I think SetImageSize sounds too much like setting a property, like SetSpriteSize, which is quick. Whereas ResizeImage conveys that there is a process going on that might take some time.
Alex_Peres
AGK Master
14
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 6th Jun 2016 15:13
I agree with Paul. ResizeImage() is an exclusive command and SetImageSize() can only confuse some of us...
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 6th Jun 2016 16:20 Edited at: 7th Jun 2016 07:38
thinking as class/object i like this syntax/keywords (without space)

how about a compiler command for keyword aliases? alias ImageCopy = CopyImage

Image DeleteAll
Image Delete
Image Copy
Image Color
Image Render
Image Backbuffer
Image Exists
Image Filename
Image Height
Image Width
Image Load
Image Resize
Image LoadSub
Image Print
Image Save
Image MagFilter
Image Mask
Image MinFilter
Image SavePixels
Image TransparentColor
Image WrapU
Image WrapV
Image Chose
Image IsChoosing
Image Choose
Image Captured
Image IsCapturing
Image Capture
QRCode Decode
QRCode Encode
AGK (Steam) V2.0.18 : Windows 10 Pro 64 Bit : AMD (15.30.1025) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)

Login to post a reply

Server time is: 2024-04-23 08:06:44
Your offset time is: 2024-04-23 08:06:44