Lines Matching refs:ddata

647     *ddata = WMF_MAGICK_GetData(API);  in ipa_bmp_draw()  local
672 exception=ddata->exception; in ipa_bmp_draw()
700 if ( ddata->image_info->texture || in ipa_bmp_draw()
701 !(IsPixelInfoEquivalent(&ddata->image_info->background_color,&white)) || in ipa_bmp_draw()
702 ddata->image_info->background_color.alpha != OpaqueAlpha ) 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()
717 width * ddata->scale_x, height * ddata->scale_y, magick_wand); in ipa_bmp_draw()
734 *ddata = WMF_MAGICK_GetData(API); in ipa_bmp_read() local
747 image_info=CloneImageInfo(ddata->image_info); in ipa_bmp_read()
748 exception=ddata->exception; in ipa_bmp_read()
794 *ddata = WMF_MAGICK_GetData (API); in ipa_device_open() local
796 ddata->pattern_id = 0; in ipa_device_open()
797 ddata->clipping = MagickFalse; in ipa_device_open()
798 ddata->clip_mask_id = 0; in ipa_device_open()
800 ddata->push_depth = 0; in ipa_device_open()
802 ddata->draw_wand = AcquireDrawingWand(ddata->draw_info,ddata->image); in ipa_device_open()
811 *ddata = WMF_MAGICK_GetData(API); in ipa_device_close() local
813 if (ddata->draw_wand != (DrawingWand *) NULL) in ipa_device_close()
815 DestroyDrawingWand(ddata->draw_wand); in ipa_device_close()
816 ddata->draw_wand=(DrawingWand *) NULL; in ipa_device_close()
818 if (ddata->draw_info != (DrawInfo *) NULL) in ipa_device_close()
820 DestroyDrawInfo(ddata->draw_info); in ipa_device_close()
821 ddata->draw_info=(DrawInfo *)NULL; in ipa_device_close()
838 *ddata = WMF_MAGICK_GetData(API); in ipa_device_begin() local
843 DrawSetViewbox(WmfDrawingWand,0,0,ddata->image->columns,ddata->image->rows); in ipa_device_begin()
852 DrawScale(WmfDrawingWand, ddata->scale_x, ddata->scale_y); in ipa_device_begin()
855 DrawTranslate(WmfDrawingWand, ddata->translate_x, ddata->translate_y); in ipa_device_begin()
858 DrawRotate(WmfDrawingWand, ddata->rotate); in ipa_device_begin()
860 if (ddata->image_info->texture == NULL) in ipa_device_begin()
867 PixelSetPixelColor(background_color,&ddata->image->background_color); in ipa_device_begin()
871 XC(ddata->bbox.TL.x),YC(ddata->bbox.TL.y), in ipa_device_begin()
872 XC(ddata->bbox.BR.x),YC(ddata->bbox.BR.y)); in ipa_device_begin()
889 (void) CopyMagickString(image_info->filename,ddata->image_info->texture, in ipa_device_begin()
891 if ( ddata->image_info->size ) in ipa_device_begin()
892 CloneString(&image_info->size,ddata->image_info->size); in ipa_device_begin()
907 draw_pattern_push(API,ddata->pattern_id,image->columns,image->rows); in ipa_device_begin()
915 ddata->pattern_id); in ipa_device_begin()
917 ++ddata->pattern_id; in ipa_device_begin()
919 XC(ddata->bbox.TL.x),YC(ddata->bbox.TL.y), in ipa_device_begin()
920 XC(ddata->bbox.BR.x),YC(ddata->bbox.BR.y)); in ipa_device_begin()
944 *ddata = WMF_MAGICK_GetData(API); in ipa_device_end() local
947 if (ddata->clipping) in ipa_device_end()
949 ddata->clipping = MagickFalse; in ipa_device_end()
1345 *ddata = WMF_MAGICK_GetData (API); in ipa_region_clip() local
1348 if (ddata->clipping) in ipa_region_clip()
1350 ddata->clipping = MagickFalse; in ipa_region_clip()
1358 ddata->clip_mask_id++; in ipa_region_clip()
1361 ddata->clip_mask_id); in ipa_region_clip()
1377 ddata->clipping = MagickTrue; in ipa_region_clip()
1384 *ddata = 0; in ipa_functions() local
1426 ddata = (wmf_magick_t *) wmf_malloc(API, sizeof(wmf_magick_t)); in ipa_functions()
1430 (void) memset((void *) ddata, 0, sizeof(wmf_magick_t)); in ipa_functions()
1431 API->device_data = (void *) ddata; in ipa_functions()
1436 ddata->image = 0; in ipa_functions()
1466 * ddata = WMF_MAGICK_GetData(API); in ipa_draw_text() local
1502 exception=ddata->exception; in ipa_draw_text()
1531 *image = ddata->image; in ipa_draw_text()
1536 draw_info=ddata->draw_info; in ipa_draw_text()
1547 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text()
1615 DrawScale(WmfDrawingWand, ddata->scale_y / ddata->scale_x, 1.0); in ipa_draw_text()
1644 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1665 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1730 *ddata = WMF_MAGICK_GetData(API); in util_set_brush() local
1775 draw_pattern_push(API, ddata->pattern_id, 8, 8); in util_set_brush()
1842 ddata->pattern_id); in util_set_brush()
1847 ++ddata->pattern_id; in util_set_brush()
1941 draw_pattern_push(API, ddata->pattern_id, brush_bmp->width, in util_set_brush()
1955 ddata->pattern_id); in util_set_brush()
1960 ++ddata->pattern_id; in util_set_brush()
1994 *ddata = WMF_MAGICK_GetData(API); in util_set_pen() local
2011 pixel_width = (((double) 1 / (ddata->scale_x)) + in util_set_pen()
2012 ((double) 1 / (ddata->scale_y))) / 2; in util_set_pen()
2144 *ddata = WMF_MAGICK_GetData(API); in util_pointsize() local
2147 *image = ddata->image; in util_pointsize()
2158 draw_info=ddata->draw_info; in util_pointsize()
2255 *ddata = WMF_MAGICK_GetData(API); in lite_font_stringwidth()
2258 *image = ddata->image; in lite_font_stringwidth()
2283 draw_info=ddata->draw_info; in lite_font_stringwidth()
2295 exception=ddata->exception; in lite_font_stringwidth()
2385 *ddata = WMF_MAGICK_GetData(API); in lite_font_map() local
2408 exception=ddata->exception; in lite_font_map()
2580 *ddata = 0; in ReadWMFImage() local
2636 ddata=WMF_MAGICK_GetData(API); in ReadWMFImage()
2637 ddata->image=image; in ReadWMFImage()
2638 ddata->image_info=image_info; in ReadWMFImage()
2639 ddata->draw_info=CloneDrawInfo(image_info,(const DrawInfo *) NULL); in ReadWMFImage()
2640 ddata->exception=exception; in ReadWMFImage()
2641 ddata->draw_info->font=(char *) in ReadWMFImage()
2642 RelinquishMagickMemory(ddata->draw_info->font); in ReadWMFImage()
2643 ddata->draw_info->text=(char *) in ReadWMFImage()
2644 RelinquishMagickMemory(ddata->draw_info->text); in ReadWMFImage()
2702 ddata->bbox=bbox; in ReadWMFImage()
2762 ddata->scale_x = image_width/bounding_width; in ReadWMFImage()
2763 ddata->translate_x = 0-bbox.TL.x; in ReadWMFImage()
2764 ddata->rotate = 0; in ReadWMFImage()
2771 ddata->scale_y = (image_height/bounding_height); in ReadWMFImage()
2772 ddata->translate_y = 0-bbox.TL.y; in ReadWMFImage()
2777 ddata->scale_y = (-image_height/bounding_height); in ReadWMFImage()
2778 ddata->translate_y = 0-bbox.BR.y; in ReadWMFImage()
2805 " Bounding box scale factor: %g,%g",ddata->scale_x, in ReadWMFImage()
2806 ddata->scale_y); in ReadWMFImage()
2809 ddata->translate_x, ddata->translate_y); in ReadWMFImage()
2914 DrawRender(ddata->draw_wand); in ReadWMFImage()