Lines Matching refs:ddata
644 *ddata = WMF_MAGICK_GetData(API); in ipa_bmp_draw() local
669 exception=ddata->exception; in ipa_bmp_draw()
697 if ( ddata->image_info->texture || in ipa_bmp_draw()
698 !(IsPixelInfoEquivalent(&ddata->image_info->background_color,&white)) || in ipa_bmp_draw()
699 ddata->image_info->background_color.alpha != OpaqueAlpha ) in ipa_bmp_draw()
713 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y, in ipa_bmp_draw()
714 width * ddata->scale_x, height * ddata->scale_y, magick_wand); in ipa_bmp_draw()
731 *ddata = WMF_MAGICK_GetData(API); in ipa_bmp_read() local
744 image_info=CloneImageInfo(ddata->image_info); in ipa_bmp_read()
745 exception=ddata->exception; in ipa_bmp_read()
791 *ddata = WMF_MAGICK_GetData (API); in ipa_device_open() local
793 ddata->pattern_id = 0; in ipa_device_open()
794 ddata->clipping = MagickFalse; in ipa_device_open()
795 ddata->clip_mask_id = 0; in ipa_device_open()
797 ddata->push_depth = 0; in ipa_device_open()
799 ddata->draw_wand = AcquireDrawingWand(ddata->draw_info,ddata->image); in ipa_device_open()
808 *ddata = WMF_MAGICK_GetData(API); in ipa_device_close() local
810 if (ddata->draw_wand != (DrawingWand *) NULL) in ipa_device_close()
812 DestroyDrawingWand(ddata->draw_wand); in ipa_device_close()
813 ddata->draw_wand=(DrawingWand *) NULL; in ipa_device_close()
815 if (ddata->draw_info != (DrawInfo *) NULL) in ipa_device_close()
817 DestroyDrawInfo(ddata->draw_info); in ipa_device_close()
818 ddata->draw_info=(DrawInfo *)NULL; in ipa_device_close()
834 *ddata = WMF_MAGICK_GetData(API); in ipa_device_begin() local
839 DrawSetViewbox(WmfDrawingWand,0,0,ddata->image->columns,ddata->image->rows); in ipa_device_begin()
846 DrawScale(WmfDrawingWand, ddata->scale_x, ddata->scale_y); in ipa_device_begin()
849 DrawTranslate(WmfDrawingWand, ddata->translate_x, ddata->translate_y); in ipa_device_begin()
852 DrawRotate(WmfDrawingWand, ddata->rotate); in ipa_device_begin()
854 if (ddata->image_info->texture == NULL) in ipa_device_begin()
861 PixelSetPixelColor(background_color,&ddata->image->background_color); in ipa_device_begin()
865 XC(ddata->bbox.TL.x),YC(ddata->bbox.TL.y), in ipa_device_begin()
866 XC(ddata->bbox.BR.x),YC(ddata->bbox.BR.y)); in ipa_device_begin()
883 (void) CopyMagickString(image_info->filename,ddata->image_info->texture, in ipa_device_begin()
885 if ( ddata->image_info->size ) in ipa_device_begin()
886 CloneString(&image_info->size,ddata->image_info->size); in ipa_device_begin()
901 draw_pattern_push(API,ddata->pattern_id,image->columns,image->rows); in ipa_device_begin()
909 ddata->pattern_id); in ipa_device_begin()
911 ++ddata->pattern_id; in ipa_device_begin()
913 XC(ddata->bbox.TL.x),YC(ddata->bbox.TL.y), in ipa_device_begin()
914 XC(ddata->bbox.BR.x),YC(ddata->bbox.BR.y)); in ipa_device_begin()
938 *ddata = WMF_MAGICK_GetData(API); in ipa_device_end() local
941 if (ddata->clipping) in ipa_device_end()
943 ddata->clipping = MagickFalse; in ipa_device_end()
1339 *ddata = WMF_MAGICK_GetData (API); in ipa_region_clip() local
1342 if (ddata->clipping) in ipa_region_clip()
1344 ddata->clipping = MagickFalse; in ipa_region_clip()
1352 ddata->clip_mask_id++; in ipa_region_clip()
1355 ddata->clip_mask_id); in ipa_region_clip()
1371 ddata->clipping = MagickTrue; in ipa_region_clip()
1378 *ddata = 0; in ipa_functions() local
1420 ddata = (wmf_magick_t *) wmf_malloc(API, sizeof(wmf_magick_t)); in ipa_functions()
1424 (void) memset((void *) ddata, 0, sizeof(wmf_magick_t)); in ipa_functions()
1425 API->device_data = (void *) ddata; in ipa_functions()
1430 ddata->image = 0; in ipa_functions()
1464 * ddata = WMF_MAGICK_GetData(API); in ipa_draw_text() local
1502 exception=ddata->exception; in ipa_draw_text()
1529 *image = ddata->image; in ipa_draw_text()
1534 draw_info=ddata->draw_info; in ipa_draw_text()
1545 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text()
1613 DrawScale(WmfDrawingWand, ddata->scale_y / ddata->scale_x, 1.0); in ipa_draw_text()
1642 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1663 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1728 *ddata = WMF_MAGICK_GetData(API); in util_set_brush() local
1773 draw_pattern_push(API, ddata->pattern_id, 8, 8); in util_set_brush()
1840 ddata->pattern_id); in util_set_brush()
1845 ++ddata->pattern_id; in util_set_brush()
1939 draw_pattern_push(API, ddata->pattern_id, brush_bmp->width, in util_set_brush()
1953 ddata->pattern_id); in util_set_brush()
1958 ++ddata->pattern_id; in util_set_brush()
1992 *ddata = WMF_MAGICK_GetData(API); in util_set_pen() local
2009 pixel_width = (((double) 1 / (ddata->scale_x)) + in util_set_pen()
2010 ((double) 1 / (ddata->scale_y))) / 2; in util_set_pen()
2142 *ddata = WMF_MAGICK_GetData(API); in util_pointsize() local
2145 *image = ddata->image; in util_pointsize()
2156 draw_info=ddata->draw_info; in util_pointsize()
2221 *ddata = WMF_MAGICK_GetData(API); in lite_font_stringwidth()
2224 *image = ddata->image; in lite_font_stringwidth()
2249 draw_info=ddata->draw_info; in lite_font_stringwidth()
2261 exception=ddata->exception; in lite_font_stringwidth()
2351 *ddata = WMF_MAGICK_GetData(API); in lite_font_map() local
2374 exception=ddata->exception; in lite_font_map()
2559 *ddata = 0; in ReadWMFImage() local
2615 ddata=WMF_MAGICK_GetData(API); in ReadWMFImage()
2616 ddata->image=image; in ReadWMFImage()
2617 ddata->image_info=image_info; in ReadWMFImage()
2618 ddata->draw_info=CloneDrawInfo(image_info,(const DrawInfo *) NULL); in ReadWMFImage()
2619 ddata->exception=exception; in ReadWMFImage()
2620 ddata->draw_info->font=(char *) in ReadWMFImage()
2621 RelinquishMagickMemory(ddata->draw_info->font); in ReadWMFImage()
2622 ddata->draw_info->text=(char *) in ReadWMFImage()
2623 RelinquishMagickMemory(ddata->draw_info->text); in ReadWMFImage()
2681 ddata->bbox=bbox; in ReadWMFImage()
2747 ddata->scale_x = image_width/bounding_width; in ReadWMFImage()
2748 ddata->translate_x = 0-bbox.TL.x; in ReadWMFImage()
2749 ddata->rotate = 0; in ReadWMFImage()
2756 ddata->scale_y = (image_height/bounding_height); in ReadWMFImage()
2757 ddata->translate_y = 0-bbox.TL.y; in ReadWMFImage()
2762 ddata->scale_y = (-image_height/bounding_height); in ReadWMFImage()
2763 ddata->translate_y = 0-bbox.BR.y; in ReadWMFImage()
2790 " Bounding box scale factor: %g,%g",ddata->scale_x, in ReadWMFImage()
2791 ddata->scale_y); in ReadWMFImage()
2794 ddata->translate_x, ddata->translate_y); in ReadWMFImage()
2901 DrawRender(ddata->draw_wand); in ReadWMFImage()