Lines Matching defs:bitsHeader
277 TranslatorBitmap bitsHeader;
278 bitsHeader.magic = B_TRANSLATOR_BITMAP;
279 bitsHeader.bounds.left = 0;
280 bitsHeader.bounds.top = 0;
281 bitsHeader.bounds.right = width - 1;
282 bitsHeader.bounds.bottom = height - 1;
283 bitsHeader.bounds.Set(0, 0, width - 1, height - 1);
284 bitsHeader.rowBytes = width * 4;
285 bitsHeader.colors = B_RGB32;
286 bitsHeader.dataSize = bitsHeader.rowBytes * height;
289 swap_data(B_UINT32_TYPE, &bitsHeader, sizeof(TranslatorBitmap), B_SWAP_HOST_TO_BENDIAN);
290 target.Write(&bitsHeader, sizeof(TranslatorBitmap));