clears the contents of the bmp
| 108 | |
| 109 | // clears the contents of the bmp |
| 110 | bool Bmp8::Clear() { |
| 111 | if (line_buff_ == NULL) { |
| 112 | return false; |
| 113 | } |
| 114 | |
| 115 | memset(line_buff_[0], 0xff, stride_ * hgt_ * sizeof(*line_buff_[0])); |
| 116 | return true; |
| 117 | } |
| 118 | |
| 119 | bool Bmp8::LoadFromCharDumpFile(CachedFile *fp) { |
| 120 | unsigned short wid; |
no outgoing calls
no test coverage detected