pantson.Morph v1.0 |
pantson.morph: | Functions | Types | Modinfo |
CreateMorph | Create a new morph type. |
LoadMorph | Load a morph file. |
MorphImages | Generates an image that is [index] steps into the morph from 2 images. Handle moves with image. |
MorphPixmaps | Generates a pixmap that is [index] steps into the morph of 2 pixmaps. |
SaveMorph | Save a morph file. |
tmorph | The Morph type. |
Function CreateMorph:tmorph(w:Int,h:Int) | |
Description | Create a new morph type. |
Function LoadMorph:tmorph(file:String) | |
Description | Load a morph file. |
Function MorphImages:Timage(i1:Timage,m1:tmorph,i2:Timage,m2:tmorph,steps:Int,index:Int,frame1:Int=0,frame2:Int=0) | |
Description | Generates an image that is [index] steps into the morph from 2 images. Handle moves with image. |
Function MorphPixmaps:TPixmap(p1:TPixmap,m1:tmorph,p2:TPixmap,m2:tmorph,steps:Int,index:Int) | |
Description | Generates a pixmap that is [index] steps into the morph of 2 pixmaps. |
Function SaveMorph:Int(m:tmorph,file:String) | |
Description | Save a morph file. |
Type tmorph | |
Description | The Morph type. |
Fields Summary | |
---|---|
h , version , w , x , y |
Methods Summary | |
---|---|
load | Load a morph file. |
save | save a morph file. |
Field h:Int | |
Description | Height of morph grid. |
Field version:Int | |
Description | version of morph file. |
Field w:Int | |
Description | Width of morph grid. |
Field x:Float[] | |
Description | Array of x co-ords for grid. |
Field y:Float[] | |
Description | Array of y co-ords for grid. |
Method load:Int(file:String) | |
Description | Load a morph file. |
Method save:Int(file:String) | |
Description | save a morph file. |
Version | 1.00 |
---|---|
Author | Richard Hanson |
Modserver | pantson |