Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

render2d::render2d

Signature: render2d::render2d(framebuffer_t* target_framebuffer)
Attributes: undefined
Description: Constructor for the render2d class

Parameters:

render2d::put_pix

Signature: void render2d::put_pix(uint32_t x, uint32_t y, uint32_t colour)
Description: Puts a pixel on the screen

Parameters:

Return: void

render2d::load_bitmap

Signature: void render2d::load_bitmap(uint8_t data[], int y)
Description: Loads a bitmap

Parameters:

Return: void

render2d::load_bitmap

Signature: void render2d::load_bitmap(uint8_t data[], int y, int x)
Description: Loads a bitmap

Parameters:

Return: void

render2d::get_bitmap_info

Signature: renderer::point_t render2d::get_bitmap_info(uint8_t data[])
Description: Gets the bitmap info

Parameters:

Return: renderer::point_t

render2d::next_line

Signature: void render2d::next_line()
Description: Goes to the next line

Return: void

Show file on GitHub