C# Class ARCed.Scintilla.XpmConverter

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM The XpmConverter class was based on code from flashdevelop.
ファイルを表示 Open project: borisblizzard/arcreator

Public Properties

Property Type Description
DefaultTransparentColor string

Public Methods

Method Description
ConvertToXPM ( ImageList imageList ) : List

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later. Uses the DefaultTransparentColor.

ConvertToXPM ( ImageList imageList, string transparentColor ) : List

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later

ConvertToXPM ( Bitmap bmp ) : string

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM. Uses the DefaultTransparentColor.

ConvertToXPM ( Bitmap bmp, string transparentColor ) : string

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM tColor: specified transparent color in format: "#00FF00".

Method Details

ConvertToXPM() public static method

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later. Uses the DefaultTransparentColor.
public static ConvertToXPM ( ImageList imageList ) : List
imageList System.Windows.Forms.ImageList The _srcTexture list to transform.
return List

ConvertToXPM() public static method

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later
public static ConvertToXPM ( ImageList imageList, string transparentColor ) : List
imageList System.Windows.Forms.ImageList The _srcTexture list to transform.
transparentColor string The overriding transparent Color
return List

ConvertToXPM() public static method

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM. Uses the DefaultTransparentColor.
public static ConvertToXPM ( Bitmap bmp ) : string
bmp System.Drawing.Bitmap The _srcTexture to transform.
return string

ConvertToXPM() public static method

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM tColor: specified transparent color in format: "#00FF00".
public static ConvertToXPM ( Bitmap bmp, string transparentColor ) : string
bmp System.Drawing.Bitmap The _srcTexture to transform.
transparentColor string The overriding transparent Color
return string

Property Details

DefaultTransparentColor public_oe static_oe property

The default transparent Color
public static string DefaultTransparentColor
return string