Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Ripple General Settings-Alphamania
Smooth / transparent windows and more! (odd shape windows part2)
FileFlex
Interface Colors in all palettes
MelixDB Xtra version 1.0 released.
Foundation Flash 5
Binary Opperations
External Casts in Shockwave
CD Door Close, Open - MCI
Control direction of velocity
MediaMacros Xtras Mall
 

 

 

Behavior Scale Vertexlist

Added on 2/7/2006

 

Compatibilities:
D8 D8_5 D9 Mac PC

This item has not yet been rated

Author: Chunick (website)

This custom handler will scale a vertex list directly. The power of it is demonstrated if you have ever tried the generateOutlines() undocumented command with a font member. It works in conjunction with this method to get around the size limiation all vectorshapes have because generateOutlines() returns a vertexList which is not affected by the limitation (only the member is). So, if you scale the vertexList first then you can set it to a vector shape member.

on scaleVectorShape vertList, vScale
  vScale = vScale / 100.0
  vertList = vertList * vScale
  aItem = [#newCurve] * vScale
  
  repeat while True
    vertList[vertList.getOne(aItem)] = [#newCurve]
    if vertList.getOne(aItem) = 0 then exit repeat
  end repeat
  
  return vertList
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail