class Boleite::Image
- Boleite::Image
- Reference
- Object
Included Modules
- CrystalClear
Defined in:
boleite/graphics/image.crConstructors
- .new(width : UInt32, height : UInt32, bpp : UInt32, pixels)
- .new(width, height, bpp = 32_u32)
- .new(file : String)
- .new(native : Pointer(LibFreeImage::FIBITMAP))
Class Method Summary
Instance Method Summary
- #bpp
- #byte_size : UInt64
- #clone
- #contract_ensures_get_pixel(return_value, x, y)
- #contract_ensures_set_pixel(return_value, x, y, color : Colori)
- #contract_ensures_set_pixel(return_value, x, y, color : Colorf)
- #contract_post_get_pixel(check_depth, return_value, x, y)
- #contract_post_set_pixel(check_depth, return_value, x, y, color : Colori)
- #contract_post_set_pixel(check_depth, return_value, x, y, color : Colorf)
- #contract_pre_get_pixel(check_depth, x, y)
- #contract_pre_set_pixel(check_depth, x, y, color : Colori)
- #contract_pre_set_pixel(check_depth, x, y, color : Colorf)
- #contract_requires_get_pixel(x, y)
- #contract_requires_set_pixel(x, y, color : Colori)
- #contract_requires_set_pixel(x, y, color : Colorf)
- #convert_16bit(pixel, index) : Void
- #convert_24bit(pixel, index) : Void
- #convert_32bit(pixel, index) : Void
- #fill(color : Colori)
- #get_pixel(x, y)
- #height
- #pixels
- #set_pixel(x, y, color : Colori)
- #set_pixel(x, y, color : Colorf)
- #size
- #test_invariant_contracts(method = "")
- #update(x, y, w, h, color : Colori)
- #update(rect, color : Colori)
- #width