Scaling Gradients

Scott Rossi scott at tactilemedia.com
Tue Jul 31 17:22:06 EDT 2012


Hi Alejandro:

Maybe the answer depends on how you're scaling the graphic.  I scale graphics that contain gradients all the time and the gradient scales with the graphic.

FWIW, the UI components in tmControl are all vector-based controls, with gradients -- no images (except for icons).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

-------- Original message --------
Subject: Scaling Gradients 
From: Alejandro Tejada <capellan2000 at gmail.com> 
To: use-revolution at lists.runrev.com 
CC:  

Hi all,

In principle, I posted this message in the message thread:
"The Screen Density Conundrum"

but, in retrospective, there is more probabiblity that
itwould get an answer, if I posted it
in a new thread...

Ideally, we should be able to use scalable vectors 
for the Interface. Icons, backgrounds, Text... 

A vector graphics interface created with all the excellent 
capabilities of vector graphics in this platform, would be 
a real delight to watch... 

In a quick test of scaling polygons with a gradient fill, 
the polygon scaled well, as expected, but the gradient 
just stay fixed in its place with the same original size. 

http://andregarzia.on-rev.com/alejandro/img/Gradients04.jpg

If I scale the same vector polygon with the pointer tool, 
the gradient changes sizes and positions, to keep up 
proportional with the graphic. 

Does exists some way to replicate the pointer tool 
behavior with gradients (scaling them correctly) 
using only a script? 

Solving this could facilitate the use of vectors instead 
of images in many interface elements. 

Al 



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list