Lines Matching refs:bmp_draw
411 static void ipa_bmp_draw(wmfAPI * API, wmfBMP_Draw_t * bmp_draw);
644 static void ipa_bmp_draw(wmfAPI *API, wmfBMP_Draw_t *bmp_draw) in ipa_bmp_draw() argument
665 if (bmp_draw->bmp.data == 0) in ipa_bmp_draw()
668 image = (Image*)bmp_draw->bmp.data; in ipa_bmp_draw()
673 if (bmp_draw->crop.x || bmp_draw->crop.y || in ipa_bmp_draw()
674 (bmp_draw->crop.w != bmp_draw->bmp.width) || in ipa_bmp_draw()
675 (bmp_draw->crop.h != bmp_draw->bmp.height)) in ipa_bmp_draw()
684 crop_info.x = bmp_draw->crop.x; in ipa_bmp_draw()
685 crop_info.y = bmp_draw->crop.y; in ipa_bmp_draw()
686 crop_info.width = bmp_draw->crop.w; in ipa_bmp_draw()
687 crop_info.height = bmp_draw->crop.h; in ipa_bmp_draw()
694 bmp_draw->bmp.data = (void*)image; in ipa_bmp_draw()
712 width = fabs(bmp_draw->pixel_width * (double) bmp_draw->crop.w); in ipa_bmp_draw()
713 height = fabs(bmp_draw->pixel_height * (double) bmp_draw->crop.h); in ipa_bmp_draw()
716 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y, in ipa_bmp_draw()
721 printf("bmp_draw->bmp.data = 0x%lx\n", (long)bmp_draw->bmp.data); in ipa_bmp_draw()
725 printf("bmp_draw->bmp WxH = %ix%i\n", bmp_draw->bmp.width, bmp_draw->bmp.height); in ipa_bmp_draw()
726 printf("bmp_draw->crop WxH = %ix%i\n", bmp_draw->crop.w, bmp_draw->crop.h); in ipa_bmp_draw()
727 printf("bmp_draw->crop x,y = %i,%i\n", bmp_draw->crop.x, bmp_draw->crop.y); in ipa_bmp_draw()
1411 FR->bmp_draw = ipa_bmp_draw; in ipa_functions()