Lines Matching refs:ddata
645 *ddata = WMF_MAGICK_GetData(API); in ipa_bmp_draw() local
670 exception=ddata->exception; in ipa_bmp_draw()
698 if ( ddata->image_info->texture || in ipa_bmp_draw()
699 !(IsPixelInfoEquivalent(&ddata->image_info->background_color,&white)) || in ipa_bmp_draw()
700 ddata->image_info->background_color.alpha != OpaqueAlpha ) in ipa_bmp_draw()
714 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y, in ipa_bmp_draw()
715 width * ddata->scale_x, height * ddata->scale_y, magick_wand); in ipa_bmp_draw()
732 *ddata = WMF_MAGICK_GetData(API); in ipa_bmp_read() local
745 image_info=CloneImageInfo(ddata->image_info); in ipa_bmp_read()
746 exception=ddata->exception; in ipa_bmp_read()
792 *ddata = WMF_MAGICK_GetData (API); in ipa_device_open() local
794 ddata->pattern_id = 0; in ipa_device_open()
795 ddata->clipping = MagickFalse; in ipa_device_open()
796 ddata->clip_mask_id = 0; in ipa_device_open()
798 ddata->push_depth = 0; in ipa_device_open()
800 ddata->draw_wand = AcquireDrawingWand(ddata->draw_info,ddata->image); in ipa_device_open()
809 *ddata = WMF_MAGICK_GetData(API); in ipa_device_close() local
811 if (ddata->draw_wand != (DrawingWand *) NULL) in ipa_device_close()
813 DestroyDrawingWand(ddata->draw_wand); in ipa_device_close()
814 ddata->draw_wand=(DrawingWand *) NULL; in ipa_device_close()
816 if (ddata->draw_info != (DrawInfo *) NULL) in ipa_device_close()
818 DestroyDrawInfo(ddata->draw_info); in ipa_device_close()
819 ddata->draw_info=(DrawInfo *)NULL; in ipa_device_close()
833 *ddata = WMF_MAGICK_GetData(API); in ipa_device_begin() local
838 DrawSetViewbox(WmfDrawingWand, 0, 0, ddata->image->columns, ddata->image->rows ); in ipa_device_begin()
845 DrawScale(WmfDrawingWand, ddata->scale_x, ddata->scale_y); in ipa_device_begin()
848 DrawTranslate(WmfDrawingWand, ddata->translate_x, ddata->translate_y); in ipa_device_begin()
851 DrawRotate(WmfDrawingWand, ddata->rotate); in ipa_device_begin()
853 if (ddata->image_info->texture == NULL) in ipa_device_begin()
860 PixelSetPixelColor(background_color,&ddata->image->background_color); in ipa_device_begin()
864 XC(ddata->bbox.TL.x),YC(ddata->bbox.TL.y), in ipa_device_begin()
865 XC(ddata->bbox.BR.x),YC(ddata->bbox.BR.y)); in ipa_device_begin()
882 (void) CopyMagickString(image_info->filename,ddata->image_info->texture, in ipa_device_begin()
884 if ( ddata->image_info->size ) in ipa_device_begin()
885 CloneString(&image_info->size,ddata->image_info->size); in ipa_device_begin()
900 draw_pattern_push(API,ddata->pattern_id,image->columns,image->rows); in ipa_device_begin()
908 ddata->pattern_id); in ipa_device_begin()
910 ++ddata->pattern_id; in ipa_device_begin()
912 XC(ddata->bbox.TL.x),YC(ddata->bbox.TL.y), in ipa_device_begin()
913 XC(ddata->bbox.BR.x),YC(ddata->bbox.BR.y)); in ipa_device_begin()
937 *ddata = WMF_MAGICK_GetData(API); in ipa_device_end() local
940 if (ddata->clipping) in ipa_device_end()
942 ddata->clipping = MagickFalse; in ipa_device_end()
1338 *ddata = WMF_MAGICK_GetData (API); in ipa_region_clip() local
1341 if (ddata->clipping) in ipa_region_clip()
1343 ddata->clipping = MagickFalse; in ipa_region_clip()
1351 ddata->clip_mask_id++; in ipa_region_clip()
1354 ddata->clip_mask_id); in ipa_region_clip()
1370 ddata->clipping = MagickTrue; in ipa_region_clip()
1377 *ddata = 0; in ipa_functions() local
1419 ddata = (wmf_magick_t *) wmf_malloc(API, sizeof(wmf_magick_t)); in ipa_functions()
1423 (void) ResetMagickMemory((void *) ddata, 0, sizeof(wmf_magick_t)); in ipa_functions()
1424 API->device_data = (void *) ddata; in ipa_functions()
1429 ddata->image = 0; in ipa_functions()
1459 * ddata = WMF_MAGICK_GetData(API); in ipa_draw_text() local
1495 exception=ddata->exception; in ipa_draw_text()
1524 *image = ddata->image; in ipa_draw_text()
1529 draw_info=ddata->draw_info; in ipa_draw_text()
1540 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text()
1608 DrawScale(WmfDrawingWand, ddata->scale_y / ddata->scale_x, 1.0); in ipa_draw_text()
1637 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1658 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1723 *ddata = WMF_MAGICK_GetData(API); in util_set_brush() local
1768 draw_pattern_push(API, ddata->pattern_id, 8, 8); in util_set_brush()
1835 ddata->pattern_id); in util_set_brush()
1840 ++ddata->pattern_id; in util_set_brush()
1934 draw_pattern_push(API, ddata->pattern_id, brush_bmp->width, in util_set_brush()
1948 ddata->pattern_id); in util_set_brush()
1953 ++ddata->pattern_id; in util_set_brush()
1987 *ddata = WMF_MAGICK_GetData(API); in util_set_pen() local
2004 pixel_width = (((double) 1 / (ddata->scale_x)) + in util_set_pen()
2005 ((double) 1 / (ddata->scale_y))) / 2; in util_set_pen()
2137 *ddata = WMF_MAGICK_GetData(API); in util_pointsize() local
2140 *image = ddata->image; in util_pointsize()
2151 draw_info=ddata->draw_info; in util_pointsize()
2248 *ddata = WMF_MAGICK_GetData(API); in lite_font_stringwidth()
2251 *image = ddata->image; in lite_font_stringwidth()
2276 draw_info=ddata->draw_info; in lite_font_stringwidth()
2288 exception=ddata->exception; in lite_font_stringwidth()
2378 *ddata = WMF_MAGICK_GetData(API); in lite_font_map() local
2401 exception=ddata->exception; in lite_font_map()
2573 *ddata = 0; in ReadWMFImage() local
2629 ddata=WMF_MAGICK_GetData(API); in ReadWMFImage()
2630 ddata->image=image; in ReadWMFImage()
2631 ddata->image_info=image_info; in ReadWMFImage()
2632 ddata->draw_info=CloneDrawInfo(image_info,(const DrawInfo *) NULL); in ReadWMFImage()
2633 ddata->exception=exception; in ReadWMFImage()
2634 ddata->draw_info->font=(char *) in ReadWMFImage()
2635 RelinquishMagickMemory(ddata->draw_info->font); in ReadWMFImage()
2636 ddata->draw_info->text=(char *) in ReadWMFImage()
2637 RelinquishMagickMemory(ddata->draw_info->text); in ReadWMFImage()
2694 ddata->bbox=bbox; in ReadWMFImage()
2754 ddata->scale_x = image_width/bounding_width; in ReadWMFImage()
2755 ddata->translate_x = 0-bbox.TL.x; in ReadWMFImage()
2756 ddata->rotate = 0; in ReadWMFImage()
2763 ddata->scale_y = (image_height/bounding_height); in ReadWMFImage()
2764 ddata->translate_y = 0-bbox.TL.y; in ReadWMFImage()
2769 ddata->scale_y = (-image_height/bounding_height); in ReadWMFImage()
2770 ddata->translate_y = 0-bbox.BR.y; in ReadWMFImage()
2797 " Bounding box scale factor: %g,%g",ddata->scale_x, in ReadWMFImage()
2798 ddata->scale_y); in ReadWMFImage()
2801 ddata->translate_x, ddata->translate_y); in ReadWMFImage()
2906 DrawRender(ddata->draw_wand); in ReadWMFImage()