プラグインは
確保するメモリー領域を指定して新規Pictureを作れます。
8bit grayscale, Indexed colorが使用可能
REALbasic 2.1用のpluginです。変更点(->1.2.0)
- 8bit grayscale, Indexed colorが使用可能になった。
新規Pictureを作る
mic_NewPicture( Width as Integer, Height as Integer, Depth as Integer, UseTemp as Integer ) as Picture
Depth:1, 2, 4, 8, 16, 32階調UseTemp:
0:アプリケーションヒープで確保、できなければテンポラリーで確保
1:テンポラリーで確保、できなければでアプリケーションヒープ確保
2:アプリケーションヒープで確保、できなければNILを返す
3:テンポラリーで確保、できなければNILを返す
新規8bit Indexed color Pictureを作る
Gray Scale
mic_NewGrayScalePicture( Width as Integer, Height as Integer, UseTemp as Integer ) as Picture
Red
mic_NewRedIndexedColorPicture( Width as Integer, Height as Integer, UseTemp as Integer ) as Picture
Green
mic_NewGreenIndexedColorPicture( Width as Integer, Height as Integer, UseTemp as Integer ) as Picture
Blue
mic_NewBlueIndexedColorPicture( Width as Integer, Height as Integer, UseTemp as Integer ) as Picture
Use 'clut' resource
mic_NewResCLUTIndexedColorPicture( Width as Integer, Height as Integer, clutID as Integer, UseTemp as Integer ) as Picture