add some docs to old functions

This commit is contained in:
Adam D. Ruppe 2022-10-24 16:32:10 -04:00
parent 2e74c02216
commit 47ccc450a4
3 changed files with 486 additions and 166 deletions

5
bmp.d
View file

@ -555,6 +555,11 @@ void main() {
}
+/
/++
Writes a bitmap file to a delegate, byte by byte, with data from the given image.
If `prependFileHeader` is `true`, it will add the bitmap file header too.
+/
void writeBmpIndirect(MemoryImage img, scope void delegate(ubyte) fwrite, bool prependFileHeader) {
void write4(uint what){