UIng::Image
Inherits Reference < Object
Constructors
new(width : Number, height : Number)
Sourcenew(ref_ptr : Pointer(LibUI::Image))
SourceInstance methods
append(pixels : Bytes, pixel_width : Int32, pixel_height : Int32, byte_stride : Int32) : Nil
Sourceappend(pixels : Pointer, pixel_width : Int32, pixel_height : Int32, byte_stride : Int32) : Nil
The caller is responsible for ensuring that the pointer references at least
byte_stride * pixel_height readable bytes.
free
Sourceto_unsafe
Source