GitOS
Operating system exercise
Loading...
Searching...
No Matches
BMPFile Class Reference

#include <BMPFile.hpp>

Public Member Functions

 BMPFile (uint8_t *data, uint32_t sz)
 
bool has_color_table () const
 
const uint32_t * get_raster () const
 
uint32_t get_pixel (uint32_t x, uint32_t y) const
 
uint32_t get_width () const
 
uint32_t get_height () const
 

Constructor & Destructor Documentation

◆ BMPFile()

BMPFile ( uint8_t *  data,
uint32_t  sz 
)

References data, and debug_printf().

Member Function Documentation

◆ get_height()

uint32_t get_height ( ) const

◆ get_pixel()

uint32_t get_pixel ( uint32_t  x,
uint32_t  y 
) const

References debug_printf(), and width.

◆ get_raster()

const uint32_t * get_raster ( ) const

◆ get_width()

uint32_t get_width ( ) const

◆ has_color_table()

bool has_color_table ( ) const

The documentation for this class was generated from the following files: