comparison 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
comparison
equal deleted inserted replaced
2220:a8b4e9c9f337 2221:b858ade0fb0b
112 { 112 {
113 int fmtid; // DM_IMGFMT_* of target format (a bit of a kludge here) 113 int fmtid; // DM_IMGFMT_* of target format (a bit of a kludge here)
114 int pixfmt; // Target color format DM_PIXFMT_* 114 int pixfmt; // Target color format DM_PIXFMT_*
115 int scaleX, scaleY; // Integer scale factors (1..) 115 int scaleX, scaleY; // Integer scale factors (1..)
116 116
117 int nplanes, bpp, mask; // number of planes, bits per PLANE, masking 117 int nplanes, bpp; // number of bitplanes to use, bits per PLANE to use
118 int mask; // masking
118 BOOL planar; // use planar format if the format supports it 119 BOOL planar; // use planar format if the format supports it
119 int compression; // Use compression/compression level (0 = none, 9 = max) 120 int compression; // Use compression/compression level (0 = none, 9 = max)
121 // (not all formats support any, or more than on/off compression)
120 } DMImageWriteSpec; 122 } DMImageWriteSpec;
121 123
122 124
123 typedef struct 125 typedef struct
124 { 126 {