Lines Matching refs:bitsHeader
262 TranslatorBitmap bitsHeader;
263 bitsHeader.magic = B_TRANSLATOR_BITMAP;
264 bitsHeader.bounds.left = 0;
265 bitsHeader.bounds.top = 0;
266 bitsHeader.bounds.right = fWidth - 1;
267 bitsHeader.bounds.bottom = fHeight - 1;
272 bitsHeader.rowBytes = rowBytes;
273 bitsHeader.dataSize = channelBytes;
274 bitsHeader.colors = B_GRAY1;
276 bitsHeader.rowBytes = sizeof(uint32) * fWidth;
277 bitsHeader.colors = B_RGBA32;
278 bitsHeader.dataSize = bitsHeader.rowBytes * fHeight;
281 if (swap_data(B_UINT32_TYPE, &bitsHeader,
286 target->Write(&bitsHeader, sizeof(TranslatorBitmap));