Lines Matching defs: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)
665 if (bmp_draw->bmp.data == 0)
668 image = (Image*)bmp_draw->bmp.data;
673 if (bmp_draw->crop.x || bmp_draw->crop.y ||
674 (bmp_draw->crop.w != bmp_draw->bmp.width) ||
675 (bmp_draw->crop.h != bmp_draw->bmp.height))
684 crop_info.x = bmp_draw->crop.x;
685 crop_info.y = bmp_draw->crop.y;
686 crop_info.width = bmp_draw->crop.w;
687 crop_info.height = bmp_draw->crop.h;
694 bmp_draw->bmp.data = (void*)image;
712 width = fabs(bmp_draw->pixel_width * (double) bmp_draw->crop.w);
713 height = fabs(bmp_draw->pixel_height * (double) bmp_draw->crop.h);
716 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y,
721 printf("bmp_draw->bmp.data = 0x%lx\n", (long)bmp_draw->bmp.data);
723 /* printf("pixel_width = %g\n", bmp_draw->pixel_width); */
724 /* printf("pixel_height = %g\n", bmp_draw->pixel_height); */
725 printf("bmp_draw->bmp WxH = %ix%i\n", bmp_draw->bmp.width, bmp_draw->bmp.height);
726 printf("bmp_draw->crop WxH = %ix%i\n", bmp_draw->crop.w, bmp_draw->crop.h);
727 printf("bmp_draw->crop x,y = %i,%i\n", bmp_draw->crop.x, bmp_draw->crop.y);
1406 FR->bmp_draw = ipa_bmp_draw;