C# Class FSO.IDE.Common.SpriteEncoderUtils

显示文件 Open project: RHY3756547/FreeSO

Public Methods

Method Description
GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight ) : System.Drawing.Image[]

Generates windows bitmaps for the appearance of this sprite.

GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight, Vector2 pos ) : System.Drawing.Image[]
QuantizeFrame ( SPR2Frame frame, byte &bytes ) : Microsoft.Xna.Framework.Color[]

Method Details

GetPixelAlpha() public static method

Generates windows bitmaps for the appearance of this sprite.
public static GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight ) : System.Drawing.Image[]
sprite FSO.Files.Formats.IFF.Chunks.SPR2Frame
tWidth int
tHeight int
return System.Drawing.Image[]

GetPixelAlpha() public static method

public static GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight, Vector2 pos ) : System.Drawing.Image[]
sprite FSO.Files.Formats.IFF.Chunks.SPR2Frame
tWidth int
tHeight int
pos Vector2
return System.Drawing.Image[]

QuantizeFrame() public static method

public static QuantizeFrame ( SPR2Frame frame, byte &bytes ) : Microsoft.Xna.Framework.Color[]
frame SPR2Frame
bytes byte
return Microsoft.Xna.Framework.Color[]