C# Class NScumm.Core.Graphics.ColorHelper

Afficher le fichier Open project: scemino/nscumm

Méthodes publiques

Méthode Description
ColorToRGB ( ushort color, byte &r, byte &g, byte &b ) : void
RGBToColor ( byte r, byte g, byte b ) : ushort

Private Methods

Méthode Description
Expand5 ( int value ) : int

Method Details

ColorToRGB() public static méthode

public static ColorToRGB ( ushort color, byte &r, byte &g, byte &b ) : void
color ushort
r byte
g byte
b byte
Résultat void

RGBToColor() public static méthode

public static RGBToColor ( byte r, byte g, byte b ) : ushort
r byte
g byte
b byte
Résultat ushort