C# Class BattleInfoPlugin.Models.Repositories.MapResourceExtensions

Show file Open project: Yoctillion/BattleInfoPlugin

Public Methods

Method Description
FindPoint ( this places, int num ) : Point
HasMapSwf ( this map ) : bool
MergeClosePoint ( this points ) : IEnumerable
ToBitmapFrame ( this tag ) : System.Windows.Media.Imaging.BitmapFrame
ToMergedPoint ( this point, IEnumerable points ) : Point
ToPoint ( this tag ) : Point
ToSwf ( this map ) : DDW.Swf.SwfCompilationUnit

Private Methods

Method Description
AlphaBlending ( System.Windows.Media.Imaging.BitmapSource bitmap, byte alphaData ) : System.Windows.Media.Imaging.BitmapSource
CreateNonTransparentAlphaData ( uint length ) : IEnumerable
GetMapSwfFilePath ( this map ) : string
RepairJpegData ( byte data ) : byte[]

Method Details

FindPoint() public static method

public static FindPoint ( this places, int num ) : Point
places this
num int
return Point

HasMapSwf() public static method

public static HasMapSwf ( this map ) : bool
map this
return bool

MergeClosePoint() public static method

public static MergeClosePoint ( this points ) : IEnumerable
points this
return IEnumerable

ToBitmapFrame() public static method

public static ToBitmapFrame ( this tag ) : System.Windows.Media.Imaging.BitmapFrame
tag this
return System.Windows.Media.Imaging.BitmapFrame

ToMergedPoint() public static method

public static ToMergedPoint ( this point, IEnumerable points ) : Point
point this
points IEnumerable
return Point

ToPoint() public static method

public static ToPoint ( this tag ) : Point
tag this
return Point

ToSwf() public static method

public static ToSwf ( this map ) : DDW.Swf.SwfCompilationUnit
map this
return DDW.Swf.SwfCompilationUnit