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.
Afficher le fichier Open project: borisblizzard/arcreator

Méthodes publiques

Свойство Type Description
DefaultTransparentColor string

Méthodes publiques

Méthode 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 méthode

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.
Résultat List

ConvertToXPM() public static méthode

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
Résultat List

ConvertToXPM() public static méthode

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.
Résultat string

ConvertToXPM() public static méthode

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
Résultat string

Property Details

DefaultTransparentColor public_oe static_oe property

The default transparent Color
public static string DefaultTransparentColor
Résultat string