Lines Matching refs:bmiHeader
289 bm_info.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
290 bm_info.bmiHeader.biWidth = bitmap.width();
291 bm_info.bmiHeader.biHeight = -bitmap.height(); // sets vertical orientation
292 bm_info.bmiHeader.biPlanes = 1;
293 bm_info.bmiHeader.biBitCount = 32;
294 bm_info.bmiHeader.biCompression = BI_RGB;
550 switch (bitmap->bmiHeader.biBitCount) {
554 color_table_length = bitmap->bmiHeader.biClrUsed
555 ? bitmap->bmiHeader.biClrUsed
556 : 1 << bitmap->bmiHeader.biBitCount;
560 if (bitmap->bmiHeader.biCompression == BI_BITFIELDS)
569 + bitmap->bmiHeader.biSize + color_table_length * sizeof(RGBQUAD);
571 gfx::Canvas canvas(gfx::Size(bitmap->bmiHeader.biWidth,
572 bitmap->bmiHeader.biHeight),
578 ::SetDIBitsToDevice(dc, 0, 0, bitmap->bmiHeader.biWidth,
579 bitmap->bmiHeader.biHeight, 0, 0, 0,
580 bitmap->bmiHeader.biHeight, bitmap_bits, bitmap,
595 bool has_invalid_alpha_channel = bitmap->bmiHeader.biBitCount < 32 ||