Домой Классы Статические функции Перечисления (ENUM) Структуры (STRUCTURE)

{Bitmap_direct}


CLASS {Bitmap_direct} , UNTESTED, BYTES :



IMPORT : {Bitmap} , {AL4_drawing} .

BASE CLASS {Bitmap} .


 

FUN New_bitmap_direct (
     
INT Pixels_w|idth ,
     
INT Pixels_h|eight ,
     
INT Bpp|_value ) ==> {Bitmap_direct} , NEW


{byte} Pixels|_array[*]


INT Row_width|_bytes , READ


   

METHOD Lock|_entire_bitmap ( {bool} Read|_from_source )



METHOD Lock_rows (
     
INT Y|_top_row ,
     
INT Height_rows ,
     
{bool} Read|_from_source )



METHOD Unlock|_bitmap ( {bool} Write|_back_to_bitmap )


END