class Crpreview::Canvas
- Crpreview::Canvas
- Reference
- Object
Overview
Wrapper around ChafaCanvas
with methods to create, draw and print images.
Defined in:
image_renderer.crConstructors
Instance Method Summary
- #close : Void
- #draw_all_pixels(pixels : Pointer(UInt8), width : LibC::Int, height : LibC::Int, rowstride : LibC::Int) : Void
- #print : String
Constructor Detail
Instance Method Detail
def draw_all_pixels(pixels : Pointer(UInt8), width : LibC::Int, height : LibC::Int, rowstride : LibC::Int) : Void
#