Mercurial > hg > dmlib
diff tools/libgfx.h @ 2221:b858ade0fb0b
Add some comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 09:04:15 +0300 |
parents | 7a0af15fbe97 |
children | 587b26cecf5b |
line wrap: on
line diff
--- a/tools/libgfx.h Fri Jun 14 08:33:18 2019 +0300 +++ b/tools/libgfx.h Fri Jun 14 09:04:15 2019 +0300 @@ -114,9 +114,11 @@ int pixfmt; // Target color format DM_PIXFMT_* int scaleX, scaleY; // Integer scale factors (1..) - int nplanes, bpp, mask; // number of planes, bits per PLANE, masking + int nplanes, bpp; // number of bitplanes to use, bits per PLANE to use + int mask; // masking BOOL planar; // use planar format if the format supports it int compression; // Use compression/compression level (0 = none, 9 = max) + // (not all formats support any, or more than on/off compression) } DMImageWriteSpec;