C# 클래스 NScumm.Core.Graphics.ColorHelper

파일 보기 프로젝트 열기: scemino/nscumm

공개 메소드들

메소드 설명
ColorToRGB ( ushort color, byte &r, byte &g, byte &b ) : void
RGBToColor ( byte r, byte g, byte b ) : ushort

비공개 메소드들

메소드 설명
Expand5 ( int value ) : int

메소드 상세

ColorToRGB() 공개 정적인 메소드

public static ColorToRGB ( ushort color, byte &r, byte &g, byte &b ) : void
color ushort
r byte
g byte
b byte
리턴 void

RGBToColor() 공개 정적인 메소드

public static RGBToColor ( byte r, byte g, byte b ) : ushort
r byte
g byte
b byte
리턴 ushort