Home
last modified time | relevance | path

Searched refs:resource_info (Results 1 – 9 of 9) sorted by relevance

/external/ImageMagick/MagickCore/
Dresource.c107 resource_info = variable
188 resource_info.area=(MagickOffsetType) size; in AcquireMagickResource()
189 limit=resource_info.area_limit; in AcquireMagickResource()
190 status=(resource_info.area_limit == MagickResourceInfinity) || in AcquireMagickResource()
192 (void) FormatMagickSize((MagickSizeType) resource_info.area,MagickFalse, in AcquireMagickResource()
194 (void) FormatMagickSize(resource_info.area_limit,MagickFalse,"B", in AcquireMagickResource()
200 resource_info.memory+=size; in AcquireMagickResource()
201 limit=resource_info.memory_limit; in AcquireMagickResource()
202 status=(resource_info.memory_limit == MagickResourceInfinity) || in AcquireMagickResource()
203 ((MagickSizeType) resource_info.memory < limit) ? MagickTrue : in AcquireMagickResource()
[all …]
Danimate.c296 resource_info; in AnimateImages() local
315 (void) ResetMagickMemory(&resource_info,0,sizeof(XResourceInfo)); in AnimateImages()
316 XGetResourceInfo(image_info,resource_database,GetClientName(),&resource_info); in AnimateImages()
318 resource_info.image_geometry=AcquireString(image_info->page); in AnimateImages()
319 resource_info.immutable=MagickTrue; in AnimateImages()
321 (void) XAnimateImages(display,&resource_info,argv,1,images,exception); in AnimateImages()
326 XDestroyResourceInfo(&resource_info); in AnimateImages()
370 static Image *XMagickCommand(Display *display,XResourceInfo *resource_info, in XMagickCommand() argument
413 if (resource_info->immutable != MagickFalse) in XMagickCommand()
445 read_info=CloneImageInfo(resource_info->image_info); in XMagickCommand()
[all …]
Ddisplay.c1674 resource_info; in DisplayImages() local
1693 (void) ResetMagickMemory(&resource_info,0,sizeof(resource_info)); in DisplayImages()
1694 XGetResourceInfo(image_info,resource_database,GetClientName(),&resource_info); in DisplayImages()
1696 resource_info.image_geometry=AcquireString(image_info->page); in DisplayImages()
1697 resource_info.immutable=MagickTrue; in DisplayImages()
1705 (void) XDisplayImage(display,&resource_info,argv,1,&image,&state,exception); in DisplayImages()
1711 XDestroyResourceInfo(&resource_info); in DisplayImages()
1806 XResourceInfo *resource_info,XWindows *windows,Image *image, in XAnnotateEditImage() argument
1961 FontMenu[i]=resource_info->font_name[i]; in XAnnotateEditImage()
1979 resource_info->font_name[font_number]=font_name; in XAnnotateEditImage()
[all …]
Dxwindow.c791 const XResourceInfo *resource_info,const MagickBooleanType text_font) in XBestFont() argument
825 font_name=resource_info->font; in XBestFont()
827 font_name=resource_info->text_font; in XBestFont()
1148 XStandardColormap *map_info,XResourceInfo *resource_info) in XBestVisualInfo() argument
1185 assert(resource_info != (XResourceInfo *) NULL); in XBestVisualInfo()
1186 map_type=resource_info->map_type; in XBestVisualInfo()
1187 visual_type=resource_info->visual_type; in XBestVisualInfo()
1192 if ((resource_info->immutable != MagickFalse) && (resource_info->colors != 0)) in XBestVisualInfo()
1193 if (resource_info->colors <= (one << (size_t) visual_template.depth)) in XBestVisualInfo()
1275 resource_info->color_recovery=MagickFalse; in XBestVisualInfo()
[all …]
Dwidget.c8418 XResourceInfo *resource_info,XWindows *windows) in XPreferencesWidget() argument
8482 assert(resource_info != (XResourceInfo *) NULL); in XPreferencesWidget()
8564 preferences_info[0].raised=resource_info->backdrop == in XPreferencesWidget()
8566 preferences_info[1].raised=resource_info->confirm_exit == in XPreferencesWidget()
8568 preferences_info[2].raised=resource_info->confirm_edit == in XPreferencesWidget()
8570 preferences_info[3].raised=resource_info->gamma_correct == in XPreferencesWidget()
8572 preferences_info[4].raised=resource_info->display_warnings == in XPreferencesWidget()
8575 resource_info->quantize_info->dither_method == NoDitherMethod ? in XPreferencesWidget()
8577 preferences_info[6].raised=resource_info->colormap != in XPreferencesWidget()
8579 preferences_info[7].raised=resource_info->use_pixmap == in XPreferencesWidget()
[all …]
/external/ImageMagick/MagickWand/
Ddisplay.c277 XDestroyResourceInfo(&resource_info); \ in DisplayImageCommand()
344 resource_info; in DisplayImageCommand() local
379 (void) ResetMagickMemory(&resource_info,0,sizeof(resource_info)); in DisplayImageCommand()
428 &resource_info); in DisplayImageCommand()
429 quantize_info=resource_info.quantize_info; in DisplayImageCommand()
525 resource_info.quantum=1; in DisplayImageCommand()
526 if (resource_info.window_id != (char *) NULL) in DisplayImageCommand()
531 status=XDisplayBackgroundImage(display,&resource_info, in DisplayImageCommand()
550 if (resource_info.delay != 1) in DisplayImageCommand()
551 display_image->delay=resource_info.delay; in DisplayImageCommand()
[all …]
Danimate.c235 XDestroyResourceInfo(&resource_info); \ in AnimateImageCommand()
241 XDestroyResourceInfo(&resource_info); \ in AnimateImageCommand()
297 resource_info; in AnimateImageCommand() local
330 (void) ResetMagickMemory(&resource_info,0,sizeof(XResourceInfo)); in AnimateImageCommand()
371 &resource_info); in AnimateImageCommand()
372 quantize_info=resource_info.quantize_info; in AnimateImageCommand()
477 resource_info.alpha_color=argv[i]; in AnimateImageCommand()
495 resource_info.backdrop=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
505 resource_info.background_color=argv[i]; in AnimateImageCommand()
515 resource_info.border_color=argv[i]; in AnimateImageCommand()
[all …]
Dimport.c219 XDestroyResourceInfo(&resource_info); \ in ImportImageCommand()
286 resource_info; in ImportImageCommand() local
317 (void) ResetMagickMemory(&resource_info,0,sizeof(resource_info)); in ImportImageCommand()
361 &resource_info); in ImportImageCommand()
362 quantize_info=resource_info.quantize_info; in ImportImageCommand()
368 resource_info.delay=(unsigned int) StringToUnsignedLong(resource_value); in ImportImageCommand()
395 resource_info.pause=(unsigned int) StringToUnsignedLong(resource_value); in ImportImageCommand()
456 MagickDelay(1000*resource_info.pause); in ImportImageCommand()
1006 resource_info.pause=0; in ImportImageCommand()
1014 resource_info.pause=(unsigned int) StringToUnsignedLong(argv[i]); in ImportImageCommand()
/external/ImageMagick/coders/
Ddps.c143 resource_info; in ReadDPSImage() local
183 XGetResourceInfo(image_info,resource_database,client_name,&resource_info); in ReadDPSImage()
196 (void) CloneString(&resource_info.visual_type,"default"); in ReadDPSImage()
197 visual_info=XBestVisualInfo(display,map_info,&resource_info); in ReadDPSImage()
205 (XFontStruct *) NULL,&resource_info,(XWindowInfo *) NULL); in ReadDPSImage()
223 (XFontStruct *) NULL,&resource_info,(XWindowInfo *) NULL); in ReadDPSImage()
237 (XFontStruct *) NULL,&resource_info,(XWindowInfo *) NULL); in ReadDPSImage()
250 (XFontStruct *) NULL,&resource_info,(XWindowInfo *) NULL); in ReadDPSImage()
263 (XFontStruct *) NULL,&resource_info,(XWindowInfo *) NULL); in ReadDPSImage()
428 (XFontStruct *) NULL,&resource_info,(XWindowInfo *) NULL); in ReadDPSImage()
[all …]