manpagez: man pages & more
man SWFMovieClip_setScalingGrid(3)
Home | html | info | man
SWFMovieClip_setScalingGrid(3)                  SWFMovieClip_setScalingGrid(3)




NAME

       SWFMovieClip_setScalingGrid - set a 9 slice scaling grid to this sprite
       / movieclip / button


SYNOPSIS

       #include <ming.h>

       void SWFMovieClip_setScalingGrid
       (
            SWFMovieClip clip,
            int x,
            int y,
            int w,
            int h
       );


PARAMETERS

       SWFMovieClip clip
              Not Documented.

       int x  Not Documented.

       int y  Not Documented.

       int w  Not Documented.

       int h  Not Documented.


DESCRIPTION

       This function sets a 9 slice  scaling  grid  to  buttons  /  sprites  /
       movieclips

       1 2 3 4 5 6 7 8 9

       x,  y, w and h define a rectangle, which is the dimension of the center
       slice (5).  All other slices  are  determined  out  of  the  characters
       bounds and the defined rect.  While slice 5 is scaled vertical and hor-
       izontal, slice 2 and 8 are only scaled horizontal.  Slice 4 and 6  only
       vertical. The 4 corner slices are not scaled (1, 3, 7, 9).



c2man movieclip.c                20 March 2008  SWFMovieClip_setScalingGrid(3)

ming 0.4.3 - Generated Wed Dec 8 18:48:16 CST 2010
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.