Quantcast
Channel: Made to Order Software Corporation - matrix
Viewing all articles
Browse latest Browse all 21

DefineScalingGrid

$
0
0
Tag Info
Tag Number: 
78
Tag Type: 
Define
Tag Flash Version: 
8
Tag Structure: 
struct swf_definescalinggrid {
	swf_tag				f_tag;		/* 78 */
	unsigned short			f_button_id_ref;
	swf_rect			f_rect;
};

This definition is used so the scaling factors applied on an object affects only the center of the object fully. The borders are only affected in one direction and the corners are not scaled (note, restrictions apply, see below.) This is quite useful to draw a scalable button or window.


Fig 1 — Sample button being scaled with a scaling grid

read more


Viewing all articles
Browse latest Browse all 21

Trending Articles