#include "MagickCore/studio.h"
#include "MagickCore/animate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/blob.h"
#include "MagickCore/cache.h"
#include "MagickCore/client.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colormap.h"
#include "MagickCore/composite.h"
#include "MagickCore/constitute.h"
#include "MagickCore/display.h"
#include "MagickCore/distort.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/identify.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/locale_.h"
#include "MagickCore/log.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/monitor.h"
#include "MagickCore/nt-base-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/resize.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/transform.h"
#include "MagickCore/transform-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/widget.h"
#include "MagickCore/widget-private.h"
#include "MagickCore/xwindow.h"
#include "MagickCore/xwindow-private.h"
#include "MagickCore/version.h"
#include <X11/Xproto.h>
#include <X11/Xlocale.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/shape.h>
Data Structures | |
struct | _DiversityPacket |
Defines | |
#define | XBlueGamma(color) |
#define | XGammaPacket(map, color) |
#define | XGammaPixel(image, map, color) |
#define | XGreenGamma(color) |
#define | XRedGamma(color) |
#define | XStandardPixel(map, color) |
#define | AccentuateModulate ScaleCharToQuantum(80) |
#define | HighlightModulate ScaleCharToQuantum(125) |
#define | ShadowModulate ScaleCharToQuantum(135) |
#define | DepthModulate ScaleCharToQuantum(185) |
#define | TroughModulate ScaleCharToQuantum(110) |
#define | XLIB_ILLEGAL_ACCESS 1 |
#define | XFD_SET fd_set |
#define | MaxStandardColormaps 7 |
#define | XVisualColormapSize(visual_info) |
#define | scope_height 17 |
#define | scope_x_hot 8 |
#define | scope_y_hot 8 |
#define | scope_width 17 |
#define | CheckOverflowException(length, width, height) (((height) != 0) && ((length)/((size_t) height) != ((size_t) width))) |
#define | MinWindowSize 64 |
#define | MinimumCropArea (unsigned int) 9 |
Typedefs | |
typedef struct _DiversityPacket | DiversityPacket |
Enumerations | |
enum | XColorFlags { DoRed = 0x0001, DoGreen = 0x0002, DoBlue = 0x0004, DoMatte = 0x0008 } |
Functions | |
static const char * | XVisualClassName (const int) |
static MagickBooleanType | XMakePixmap (Display *, const XResourceInfo *, XWindowInfo *) |
static void | XMakeImageLSBFirst (const XResourceInfo *, const XWindowInfo *, Image *, XImage *, XImage *, ExceptionInfo *) |
static void | XMakeImageMSBFirst (const XResourceInfo *, const XWindowInfo *, Image *, XImage *, XImage *, ExceptionInfo *) |
static Window | XSelectWindow (Display *, RectangleInfo *) |
MagickExport void | DestroyXResources (void) |
MagickPrivate MagickBooleanType | XAnnotateImage (Display *display, const XPixelInfo *pixel, XAnnotateInfo *annotate_info, Image *image, ExceptionInfo *exception) |
static char ** | FontToList (char *font) |
MagickPrivate XFontStruct * | XBestFont (Display *display, const XResourceInfo *resource_info, const MagickBooleanType text_font) |
MagickPrivate void | XBestIconSize (Display *display, XWindowInfo *window, Image *image) |
MagickPrivate void | XBestPixel (Display *display, const Colormap colormap, XColor *colors, unsigned int number_colors, XColor *color) |
MagickPrivate XVisualInfo * | XBestVisualInfo (Display *display, XStandardColormap *map_info, XResourceInfo *resource_info) |
MagickPrivate int | XCheckDefineCursor (Display *display, Window window, Cursor cursor) |
MagickPrivate void | XCheckRefreshWindows (Display *display, XWindows *windows) |
MagickPrivate void | XClientMessage (Display *display, const Window window, const Atom protocol, const Atom reason, const Time timestamp) |
static Window | XClientWindow (Display *display, Window target_window) |
MagickPrivate void | XComponentTerminus (void) |
MagickPrivate void | XConfigureImageColormap (Display *display, XResourceInfo *resource_info, XWindows *windows, Image *image, ExceptionInfo *exception) |
MagickPrivate void | XConstrainWindowPosition (Display *display, XWindowInfo *window_info) |
MagickPrivate void | XDelay (Display *display, const size_t milliseconds) |
MagickExport void | XDestroyResourceInfo (XResourceInfo *resource_info) |
MagickPrivate void | XDestroyWindowColors (Display *display, Window window) |
MagickPrivate void | XDisplayImageInfo (Display *display, const XResourceInfo *resource_info, XWindows *windows, Image *undo_image, Image *image, ExceptionInfo *exception) |
static void | XDitherImage (Image *image, XImage *ximage, ExceptionInfo *exception) |
MagickPrivate MagickBooleanType | XDrawImage (Display *display, const XPixelInfo *pixel, XDrawInfo *draw_info, Image *image, ExceptionInfo *exception) |
MagickExport int | XError (Display *display, XErrorEvent *error) |
MagickPrivate void | XFreeResources (Display *display, XVisualInfo *visual_info, XStandardColormap *map_info, XPixelInfo *pixel, XFontStruct *font_info, XResourceInfo *resource_info, XWindowInfo *window_info) |
MagickPrivate void | XFreeStandardColormap (Display *display, const XVisualInfo *visual_info, XStandardColormap *map_info, XPixelInfo *pixel) |
MagickPrivate void | XGetAnnotateInfo (XAnnotateInfo *annotate_info) |
MagickPrivate void | XGetMapInfo (const XVisualInfo *visual_info, const Colormap colormap, XStandardColormap *map_info) |
MagickPrivate void | XGetPixelInfo (Display *display, const XVisualInfo *visual_info, const XStandardColormap *map_info, const XResourceInfo *resource_info, Image *image, XPixelInfo *pixel) |
MagickExport char * | XGetResourceClass (XrmDatabase database, const char *client_name, const char *keyword, char *resource_default) |
MagickExport XrmDatabase | XGetResourceDatabase (Display *display, const char *client_name) |
MagickExport void | XGetResourceInfo (const ImageInfo *image_info, XrmDatabase database, const char *client_name, XResourceInfo *resource_info) |
MagickExport char * | XGetResourceInstance (XrmDatabase database, const char *client_name, const char *keyword, const char *resource_default) |
MagickExport char * | XGetScreenDensity (Display *display) |
static Window | XGetSubwindow (Display *display, Window window, int x, int y) |
MagickPrivate MagickBooleanType | XGetWindowColor (Display *display, XWindows *windows, char *name, ExceptionInfo *exception) |
static Image * | XGetWindowImage (Display *display, const Window window, const unsigned int borders, const unsigned int level, ExceptionInfo *exception) |
MagickPrivate void | XGetWindowInfo (Display *display, XVisualInfo *visual_info, XStandardColormap *map_info, XPixelInfo *pixel, XFontStruct *font_info, XResourceInfo *resource_info, XWindowInfo *window) |
MagickPrivate void | XHighlightEllipse (Display *display, Window window, GC annotate_context, const RectangleInfo *highlight_info) |
MagickPrivate void | XHighlightLine (Display *display, Window window, GC annotate_context, const XSegment *highlight_info) |
MagickPrivate void | XHighlightRectangle (Display *display, Window window, GC annotate_context, const RectangleInfo *highlight_info) |
MagickExport Image * | XImportImage (const ImageInfo *image_info, XImportInfo *ximage_info, ExceptionInfo *exception) |
MagickPrivate XWindows * | XInitializeWindows (Display *display, XResourceInfo *resource_info) |
MagickPrivate Cursor | XMakeCursor (Display *display, Window window, Colormap colormap, char *background_color, char *foreground_color) |
MagickPrivate MagickBooleanType | XMakeImage (Display *display, const XResourceInfo *resource_info, XWindowInfo *window, Image *image, unsigned int width, unsigned int height, ExceptionInfo *exception) |
MagickPrivate void | XMakeMagnifyImage (Display *display, XWindows *windows, ExceptionInfo *exception) |
static double | DiversityPixelIntensity (const DiversityPacket *pixel) |
static int | IntensityCompare (const void *x, const void *y) |
static int | PopularityCompare (const void *x, const void *y) |
static Quantum | ScaleXToQuantum (const size_t x, const size_t scale) |
MagickPrivate void | XMakeStandardColormap (Display *display, XVisualInfo *visual_info, XResourceInfo *resource_info, Image *image, XStandardColormap *map_info, XPixelInfo *pixel, ExceptionInfo *exception) |
MagickPrivate void | XMakeWindow (Display *display, Window parent, char **argv, int argc, XClassHint *class_hint, XWMHints *manager_hints, XWindowInfo *window_info) |
static const char * | GetLocaleMonitorMessage (const char *text) |
MagickPrivate MagickBooleanType | XMagickProgressMonitor (const char *tag, const MagickOffsetType quantum, const MagickSizeType span, void *magick_unused(client_data)) |
MagickPrivate MagickBooleanType | XQueryColorCompliance (const char *target, XColor *color) |
MagickPrivate void | XQueryPosition (Display *display, const Window window, int *x, int *y) |
MagickPrivate void | XRefreshWindow (Display *display, const XWindowInfo *window, const XEvent *event) |
MagickExport MagickBooleanType | XRemoteCommand (Display *display, const char *window, const char *filename) |
MagickPrivate MagickBooleanType | XRenderImage (Image *image, const DrawInfo *draw_info, const PointInfo *offset, TypeMetric *metrics, ExceptionInfo *exception) |
MagickExport void | XRetainWindowColors (Display *display, const Window window) |
MagickPrivate void | XSetCursorState (Display *display, XWindows *windows, const MagickStatusType state) |
MagickPrivate XWindows * | XSetWindows (XWindows *windows_info) |
MagickPrivate void | XUserPreferences (XResourceInfo *resource_info) |
MagickPrivate void | XWarning (const ExceptionType magick_unused(warning), const char *reason, const char *description) |
MagickPrivate Window | XWindowByID (Display *display, const Window root_window, const size_t id) |
MagickPrivate Window | XWindowByName (Display *display, const Window root_window, const char *name) |
MagickPrivate Window | XWindowByProperty (Display *display, const Window window, const Atom property) |
MagickPrivate MagickBooleanType | XComponentGenesis (void) |
MagickExport void | XGetImportInfo (XImportInfo *ximage_info) |
Variables | |
static MagickBooleanType | xerror_alert = MagickFalse |
static double | blue_gamma = 1.0 |
static double | green_gamma = 1.0 |
static double | red_gamma = 1.0 |
#define AccentuateModulate ScaleCharToQuantum(80) |
#define CheckOverflowException | ( | length, | |||
width, | |||||
height | ) | (((height) != 0) && ((length)/((size_t) height) != ((size_t) width))) |
Referenced by XMakeImage().
#define DepthModulate ScaleCharToQuantum(185) |
#define HighlightModulate ScaleCharToQuantum(125) |
#define MaxStandardColormaps 7 |
Referenced by XBestVisualInfo().
#define MinimumCropArea (unsigned int) 9 |
Referenced by XSelectWindow().
#define MinWindowSize 64 |
#define scope_height 17 |
Referenced by XMakeCursor().
#define scope_width 17 |
Referenced by XMakeCursor().
#define scope_x_hot 8 |
Referenced by XMakeCursor().
#define scope_y_hot 8 |
Referenced by XMakeCursor().
#define ShadowModulate ScaleCharToQuantum(135) |
#define TroughModulate ScaleCharToQuantum(110) |
#define XBlueGamma | ( | color | ) |
ClampToQuantum(blue_gamma == 1.0 ? (double) \ (color) : ((pow(((double) QuantumScale*(color)),1.0/(double) blue_gamma)* \ QuantumRange)))
Referenced by XMakeImageLSBFirst(), XMakeImageMSBFirst(), and XMakeStandardColormap().
#define XFD_SET fd_set |
Referenced by MagickDelay().
#define XGammaPacket | ( | map, | |||
color | ) |
(size_t) (map->base_pixel+ \ ((ScaleQuantumToShort(XRedGamma((color)->red))*map->red_max/65535L)* \ map->red_mult)+ \ ((ScaleQuantumToShort(XGreenGamma((color)->green))*map->green_max/65535L)* \ map->green_mult)+ \ ((ScaleQuantumToShort(XBlueGamma((color)->blue))*map->blue_max/65535L)* \ map->blue_mult))
Referenced by XGetPixelInfo().
#define XGammaPixel | ( | image, | |||
map, | |||||
color | ) |
(size_t) (map->base_pixel+ \ ((ScaleQuantumToShort(XRedGamma(GetPixelRed(image,color)))*map->red_max/65535L)* \ map->red_mult)+ \ ((ScaleQuantumToShort(XGreenGamma(GetPixelGreen(image,color)))*map->green_max/65535L)* \ map->green_mult)+ \ ((ScaleQuantumToShort(XBlueGamma(GetPixelBlue(image,color)))*map->blue_max/65535L)* \ map->blue_mult))
Referenced by XMakeImageLSBFirst(), and XMakeImageMSBFirst().
#define XGreenGamma | ( | color | ) |
ClampToQuantum(green_gamma == 1.0 ? (double) \ (color) : ((pow(((double) QuantumScale*(color)),1.0/(double) green_gamma)* \ QuantumRange)))
Referenced by XMakeImageLSBFirst(), XMakeImageMSBFirst(), and XMakeStandardColormap().
#define XLIB_ILLEGAL_ACCESS 1 |
#define XRedGamma | ( | color | ) |
ClampToQuantum(red_gamma == 1.0 ? (double) \ (color) : ((pow(((double) QuantumScale*(color)),1.0/(double) red_gamma)* \ QuantumRange)))
Referenced by XMakeImageLSBFirst(), XMakeImageMSBFirst(), and XMakeStandardColormap().
#define XStandardPixel | ( | map, | |||
color | ) |
(size_t) (map->base_pixel+ \ (((color)->red*map->red_max/65535L)*map->red_mult)+ \ (((color)->green*map->green_max/65535L)*map->green_mult)+ \ (((color)->blue*map->blue_max/65535L)*map->blue_mult))
Referenced by XGetPixelInfo(), and XMakeStandardColormap().
#define XVisualColormapSize | ( | visual_info | ) |
MagickMin((unsigned int) (\ (visual_info->klass == TrueColor) || (visual_info->klass == DirectColor) ? \ visual_info->red_mask | visual_info->green_mask | visual_info->blue_mask : \ (unsigned long) visual_info->colormap_size),1UL << visual_info->depth)
Referenced by XBestVisualInfo().
typedef struct _DiversityPacket DiversityPacket |
enum XColorFlags |
MagickExport void DestroyXResources | ( | void | ) |
References _XPixelInfo::annotate_context, _XWindows::backdrop, _XWindowInfo::busy_cursor, _XWindows::class_hints, _XWindows::command, _XWindows::context, _XWindowInfo::cursor, DestroyImage(), DestroyString(), DestroyXWidget(), _XWindows::display, _XWindows::font_info, _XWindows::group_leader, _XPixelInfo::highlight_context, _XWindowInfo::highlight_stipple, _XWindows::icon, _XWindows::icon_map, _XWindowInfo::icon_name, _XWindows::icon_pixel, _XWindows::icon_resources, _XWindows::icon_visual, _XWindowInfo::id, _XWindowInfo::image, _XWindows::image, _XWindows::info, MagickFalse, _XWindows::magnify, _XWindows::manager_hints, _XWindows::map_info, _XWindowInfo::mapped, _XWindowInfo::matte_image, _XWindowInfo::matte_pixmap, MaxXWindows, NewImageList(), _XWindows::pan, _XWindows::pixel_info, _XPixelInfo::pixels, _XWindowInfo::pixmap, _XWindows::popup, RelinquishMagickMemory(), _XWindowInfo::screen, _XWindowInfo::segment_info, _XWindowInfo::shadow_stipple, _XWindows::visual_info, _XWindows::widget, _XPixelInfo::widget_context, _XWindowInfo::ximage, and XSetWindows().
static double DiversityPixelIntensity | ( | const DiversityPacket * | pixel | ) | [inline, static] |
References _DiversityPacket::blue, _DiversityPacket::green, and _DiversityPacket::red.
Referenced by IntensityCompare().
static char** FontToList | ( | char * | font | ) | [static] |
References AcquireQuantumMemory(), CopyMagickString(), ResourceLimitError, and ThrowXWindowException.
Referenced by XBestFont().
static const char* GetLocaleMonitorMessage | ( | const char * | text | ) | [static] |
References CopyMagickString(), FormatLocaleString(), GetLocaleMessage(), and MagickPathExtent.
Referenced by XMagickProgressMonitor().
static int IntensityCompare | ( | const void * | x, | |
const void * | y | |||
) | [static] |
References DiversityPixelIntensity().
Referenced by XMakeStandardColormap().
static int PopularityCompare | ( | const void * | x, | |
const void * | y | |||
) | [static] |
References _DiversityPacket::count.
Referenced by XMakeStandardColormap().
static Quantum ScaleXToQuantum | ( | const size_t | x, | |
const size_t | scale | |||
) | [inline, static] |
References QuantumRange.
Referenced by XMakeStandardColormap().
MagickPrivate MagickBooleanType XAnnotateImage | ( | Display * | display, | |
const XPixelInfo * | pixel, | |||
XAnnotateInfo * | annotate_info, | |||
Image * | image, | |||
ExceptionInfo * | exception | |||
) |
References AcquireAuthenticCacheView(), AcquireImage(), _Image::alpha_trait, _Image::background_color, BackgroundStencil, BlendPixelTrait, _XPixelInfo::box_color, _Image::columns, CompositeImage(), CopyCompositeOp, _XAnnotateInfo::degrees, DestroyCacheView(), DestroyImage(), _XAnnotateInfo::font_info, ForegroundStencil, FormatLocaleString(), _XAnnotateInfo::geometry, GetCacheViewAuthenticPixels(), GetMagickModule, GetOneVirtualPixelInfo(), GetPixelChannels(), _XAnnotateInfo::height, LogMagickEvent(), magick_restrict, MagickFalse, MagickPathExtent, MagickTrue, OpaqueAlpha, OpaqueStencil, OverCompositeOp, _XPixelInfo::pen_color, RotateImage(), _Image::rows, ScaleShortToQuantum(), SetPixelAlpha(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), _XAnnotateInfo::stencil, SyncCacheViewAuthenticPixels(), _XAnnotateInfo::text, TraceEvent, TransformImage(), TransparentAlpha, UndefinedPixelTrait, UndefinedVirtualPixelMethod, and _XAnnotateInfo::width.
MagickPrivate XFontStruct* XBestFont | ( | Display * | display, | |
const XResourceInfo * | resource_info, | |||
const MagickBooleanType | text_font | |||
) |
References DestroyString(), _XResourceInfo::font, FontToList(), MagickFalse, RelinquishMagickMemory(), _XResourceInfo::text_font, ThrowXWindowException, and XServerError.
Referenced by XRenderImage(), and XTextViewWidget().
MagickPrivate void XBestIconSize | ( | Display * | display, | |
XWindowInfo * | window, | |||
Image * | image | |||
) |
MagickPrivate void XBestPixel | ( | Display * | display, | |
const Colormap | colormap, | |||
XColor * | colors, | |||
unsigned int | number_colors, | |||
XColor * | color | |||
) |
MagickPrivate XVisualInfo* XBestVisualInfo | ( | Display * | display, | |
XStandardColormap * | map_info, | |||
XResourceInfo * | resource_info | |||
) |
References _XResourceInfo::color_recovery, Colormap, _XResourceInfo::colors, FormatLocaleString(), GetMagickModule, _XResourceInfo::immutable, LocaleCompare(), LocaleUpper(), LogMagickEvent(), MagickFalse, MagickPathExtent, MagickTrue, _XResourceInfo::map_type, MaxStandardColormaps, ThrowXWindowException, TraceEvent, _XResourceInfo::visual_type, XServerError, XServerWarning, XVisualClassName(), and XVisualColormapSize.
Referenced by XInitializeWindows(), and XRenderImage().
MagickPrivate int XCheckDefineCursor | ( | Display * | display, | |
Window | window, | |||
Cursor | cursor | |||
) |
References GetMagickModule, LogMagickEvent(), and TraceEvent.
Referenced by XFileBrowserWidget(), XMakeImage(), XMakePixmap(), XMenuWidget(), and XSetCursorState().
MagickPrivate void XCheckRefreshWindows | ( | Display * | display, | |
XWindows * | windows | |||
) |
MagickPrivate void XClientMessage | ( | Display * | display, | |
const Window | window, | |||
const Atom | protocol, | |||
const Atom | reason, | |||
const Time | timestamp | |||
) |
References MagickFalse.
static Window XClientWindow | ( | Display * | display, | |
Window | target_window | |||
) | [static] |
References GetMagickModule, LogMagickEvent(), MagickFalse, MagickTrue, TraceEvent, and XWindowByProperty().
Referenced by XGetWindowColor(), and XImportImage().
MagickPrivate MagickBooleanType XComponentGenesis | ( | void | ) |
References MagickTrue.
MagickPrivate void XComponentTerminus | ( | void | ) |
References DestroyXResources().
MagickPrivate void XConfigureImageColormap | ( | Display * | display, | |
XResourceInfo * | resource_info, | |||
XWindows * | windows, | |||
Image * | image, | |||
ExceptionInfo * | exception | |||
) |
References Colormap, _XWindows::command, _XWindowInfo::id, _XWindows::im_protocols, _XWindows::im_update_colormap, _XWindows::image, MagickFalse, MagickTrue, _XWindows::magnify, _XWindows::map_info, _XWindowInfo::mapped, _XWindows::pan, _XWindows::pixel_info, _XWindows::visual_info, _XWindows::widget, XCheckRefreshWindows(), XClientMessage(), XMakeStandardColormap(), and XSetCursorState().
MagickPrivate void XConstrainWindowPosition | ( | Display * | display, | |
XWindowInfo * | window_info | |||
) |
MagickPrivate void XDelay | ( | Display * | display, | |
const size_t | milliseconds | |||
) |
References MagickDelay().
MagickExport void XDestroyResourceInfo | ( | XResourceInfo * | resource_info | ) |
MagickPrivate void XDestroyWindowColors | ( | Display * | display, | |
Window | window | |||
) |
References GetMagickModule, LogMagickEvent(), MagickFalse, MagickTrue, ThrowXWindowException, TraceEvent, and XServerError.
MagickPrivate void XDisplayImageInfo | ( | Display * | display, | |
const XResourceInfo * | resource_info, | |||
XWindows * | windows, | |||
Image * | undo_image, | |||
Image * | image, | |||
ExceptionInfo * | exception | |||
) |
References AcquireUniqueFileResource(), _XResourceInfo::colormap, _Image::columns, _XWindowInfo::crop_geometry, _Image::debug, DestroyString(), _XResourceInfo::display_gamma, _Image::filename, FileToString(), _XResourceInfo::font, FormatLocaleFile(), FormatLocaleString(), _XResourceInfo::gamma_correct, GetMagickModule, GetPreviousImageInList(), _XWindowInfo::id, IdentifyImage(), _XWindows::image, _XWindows::info, _Image::list, LogMagickEvent(), MagickFalse, MagickPathExtent, MagickTrue, _XWindowInfo::pixmap, RelinquishMagickMemory(), RelinquishUniqueFileResource(), _Image::rows, _XWindowInfo::screen, _XWindowInfo::shape, _XWindowInfo::shared_memory, SharedColormap, _XWindowInfo::storage_class, StringToList(), _XResourceInfo::text_font, TraceEvent, _XResourceInfo::undo_cache, _XWindows::visual_info, _XWindowInfo::ximage, XNoticeWidget(), XTextViewWidget(), and XVisualClassName().
static void XDitherImage | ( | Image * | image, | |
XImage * | ximage, | |||
ExceptionInfo * | exception | |||
) | [static] |
References AcquireCriticalMemory(), AcquireVirtualCacheView(), _PixelInfo::blue, ClampToQuantum(), _Image::columns, DestroyCacheView(), GetCacheViewVirtualPixels(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelRed(), _PixelInfo::green, _PixelInfo::red, RelinquishMagickMemory(), _Image::rows, and ScaleQuantumToChar().
Referenced by XMakeImageLSBFirst(), and XMakeImageMSBFirst().
MagickPrivate MagickBooleanType XDrawImage | ( | Display * | display, | |
const XPixelInfo * | pixel, | |||
XDrawInfo * | draw_info, | |||
Image * | image, | |||
ExceptionInfo * | exception | |||
) |
References AcquireAuthenticCacheView(), AcquireImage(), _Image::alpha_trait, _Image::background_color, BlendPixelTrait, CircleElement, _Image::columns, CompositeImage(), _XDrawInfo::coordinate_info, CopyAlphaCompositeOp, _Image::debug, _XDrawInfo::degrees, DestroyCacheView(), DestroyImage(), DirectClass, _XDrawInfo::element, EllipseElement, FillCircleElement, FillEllipseElement, FillPolygonElement, FillRectangleElement, FormatLocaleString(), _XDrawInfo::geometry, GetCacheViewAuthenticPixels(), GetMagickModule, GetOneVirtualPixelInfo(), GetPixelAlpha(), GetPixelChannels(), _RectangleInfo::height, _XDrawInfo::height, _XDrawInfo::line_info, _XDrawInfo::line_width, LineElement, LogMagickEvent(), magick_restrict, MagickFalse, MagickPathExtent, MagickTrue, _XDrawInfo::number_coordinates, OpaqueAlpha, OpaqueStencil, OverCompositeOp, _XPixelInfo::pen_color, PointElement, PolygonElement, QueueCacheViewAuthenticPixels(), _XDrawInfo::rectangle_info, RectangleElement, RotateImage(), _Image::rows, ScaleShortToQuantum(), SetImageStorageClass(), SetPixelAlpha(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), SetPixelViaPixelInfo(), _XDrawInfo::stencil, _XDrawInfo::stipple, SyncCacheViewAuthenticPixels(), TraceEvent, TransformImage(), TransparentAlpha, TransparentStencil, UndefinedVirtualPixelMethod, _RectangleInfo::width, _XDrawInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
MagickExport int XError | ( | Display * | display, | |
XErrorEvent * | error | |||
) |
References GetMagickModule, LogMagickEvent(), MagickFalse, MagickTrue, TraceEvent, and xerror_alert.
Referenced by XImportImage(), and XRenderImage().
MagickPrivate void XFreeResources | ( | Display * | display, | |
XVisualInfo * | visual_info, | |||
XStandardColormap * | map_info, | |||
XPixelInfo * | pixel, | |||
XFontStruct * | font_info, | |||
XResourceInfo * | resource_info, | |||
XWindowInfo * | window_info | |||
) |
References _XWindowInfo::annotate_context, _XWindowInfo::busy_cursor, _XResourceInfo::close_server, _XWindowInfo::cursor, GetMagickModule, _XWindowInfo::highlight_context, _XWindowInfo::id, LogMagickEvent(), MagickFalse, _XResourceInfo::map_type, TraceEvent, _XWindowInfo::widget_context, XFreeStandardColormap(), and _XWindowInfo::ximage.
MagickPrivate void XFreeStandardColormap | ( | Display * | display, | |
const XVisualInfo * | visual_info, | |||
XStandardColormap * | map_info, | |||
XPixelInfo * | pixel | |||
) |
References Colormap, _XPixelInfo::colors, GetMagickModule, LogMagickEvent(), _XPixelInfo::pixels, RelinquishMagickMemory(), and TraceEvent.
MagickPrivate void XGetAnnotateInfo | ( | XAnnotateInfo * | annotate_info | ) |
References _XAnnotateInfo::degrees, _XAnnotateInfo::font_info, ForegroundStencil, _XAnnotateInfo::geometry, GetMagickModule, _XAnnotateInfo::height, LogMagickEvent(), _XAnnotateInfo::next, _XAnnotateInfo::previous, _XAnnotateInfo::stencil, _XAnnotateInfo::text, TraceEvent, _XAnnotateInfo::width, _XAnnotateInfo::x, and _XAnnotateInfo::y.
MagickExport void XGetImportInfo | ( | XImportInfo * | ximage_info | ) |
MagickPrivate void XGetMapInfo | ( | const XVisualInfo * | visual_info, | |
const Colormap | colormap, | |||
XStandardColormap * | map_info | |||
) |
References GetMagickModule, LogMagickEvent(), and TraceEvent.
MagickPrivate void XGetPixelInfo | ( | Display * | display, | |
const XVisualInfo * | visual_info, | |||
const XStandardColormap * | map_info, | |||
const XResourceInfo * | resource_info, | |||
Image * | image, | |||
XPixelInfo * | pixel | |||
) |
References AcquireQuantumMemory(), _XResourceInfo::background_color, _XPixelInfo::background_color, blue_gamma, _XResourceInfo::border_color, _XPixelInfo::border_color, BorderColor, _XPixelInfo::box_color, _XPixelInfo::box_index, _Image::colormap, Colormap, _Image::colors, _XPixelInfo::colors, _XPixelInfo::depth_color, DepthModulate, _XResourceInfo::display_gamma, DoBlue, DoGreen, DoRed, _Image::filename, _XResourceInfo::foreground_color, _XPixelInfo::foreground_color, ForegroundColor, _Image::gamma, _XResourceInfo::gamma_correct, GetMagickModule, green_gamma, _XPixelInfo::highlight_color, HighlightModulate, LogMagickEvent(), MagickFalse, MagickMax, _XResourceInfo::matte_color, _XPixelInfo::matte_color, MaxNumberPens, ParseGeometry(), _XPixelInfo::pen_color, _XResourceInfo::pen_colors, _XPixelInfo::pen_colors, _XPixelInfo::pen_index, _XPixelInfo::pixels, PseudoClass, QuantumRange, red_gamma, RelinquishMagickMemory(), ResourceLimitFatalError, _GeometryInfo::rho, ScaleQuantumToShort(), _XPixelInfo::shadow_color, ShadowModulate, _GeometryInfo::sigma, SigmaValue, _Image::storage_class, ThrowXWindowException, ThrowXWindowFatalException, TraceEvent, _XPixelInfo::trough_color, TroughModulate, XGammaPacket, _GeometryInfo::xi, XiValue, XServerError, and XStandardPixel.
MagickExport char* XGetResourceClass | ( | XrmDatabase | database, | |
const char * | client_name, | |||
const char * | keyword, | |||
char * | resource_default | |||
) |
References FormatLocaleString(), and MagickPathExtent.
MagickExport XrmDatabase XGetResourceDatabase | ( | Display * | display, | |
const char * | client_name | |||
) |
References ExpandFilename(), FormatLocaleString(), MagickFalse, MagickPathExtent, and X11_PREFERENCES_PATH.
Referenced by XRenderImage().
MagickExport void XGetResourceInfo | ( | const ImageInfo * | image_info, | |
XrmDatabase | database, | |||
const char * | client_name, | |||
XResourceInfo * | resource_info | |||
) |
References AcquireString(), _XResourceInfo::backdrop, _XResourceInfo::background_color, _XResourceInfo::border_color, _XResourceInfo::border_width, BorderColor, _XResourceInfo::client_name, CloneQuantizeInfo(), _XResourceInfo::close_server, _XResourceInfo::color_recovery, _XResourceInfo::colormap, _XResourceInfo::confirm_edit, _XResourceInfo::confirm_exit, ConstantString(), _XResourceInfo::delay, _XResourceInfo::display_gamma, _XResourceInfo::display_warnings, _XResourceInfo::font, _XResourceInfo::font_name, _XResourceInfo::foreground_color, ForegroundColor, _XResourceInfo::gamma_correct, GetMagickModule, _XResourceInfo::gravity, _XResourceInfo::home_directory, _XResourceInfo::icon_geometry, _XResourceInfo::iconic, _XResourceInfo::image_geometry, _XResourceInfo::image_info, _XResourceInfo::immutable, IsStringTrue(), LocaleCompare(), LogMagickEvent(), MagickFalse, MagickGravityOptions, MagickPathExtent, MagickTrue, _XResourceInfo::magnify, _XResourceInfo::map_type, _XResourceInfo::matte_color, _XResourceInfo::name, OptionError, ParseCommandOption(), _XResourceInfo::pause, _XResourceInfo::pen_colors, PrivateColormap, _XResourceInfo::quantize_info, _XResourceInfo::quantum, _XResourceInfo::resource_database, SetImageInfoProgressMonitor(), SharedColormap, StringToLong(), StringToUnsignedLong(), _XResourceInfo::text_font, ThrowXWindowException, _XResourceInfo::title, TraceEvent, UndefinedColormap, _XResourceInfo::undo_cache, _XResourceInfo::update, _XResourceInfo::use_pixmap, _XResourceInfo::use_shared_memory, _XResourceInfo::visual_type, _XResourceInfo::window_group, _XResourceInfo::window_id, _XResourceInfo::write_filename, XGetResourceClass(), XGetResourceInstance(), and XMagickProgressMonitor().
MagickExport char* XGetResourceInstance | ( | XrmDatabase | database, | |
const char * | client_name, | |||
const char * | keyword, | |||
const char * | resource_default | |||
) |
References FormatLocaleString(), and MagickPathExtent.
MagickExport char* XGetScreenDensity | ( | Display * | display | ) |
References FormatLocaleString(), GetPageGeometry(), and MagickPathExtent.
static Window XGetSubwindow | ( | Display * | display, | |
Window | window, | |||
int | x, | |||
int | y | |||
) | [static] |
Referenced by XSelectWindow().
MagickPrivate MagickBooleanType XGetWindowColor | ( | Display * | display, | |
XWindows * | windows, | |||
char * | name, | |||
ExceptionInfo * | exception | |||
) |
References _PixelInfo::alpha, _PixelInfo::blue, GetMagickModule, _PixelInfo::green, _XWindowInfo::image, _XWindows::image, LogMagickEvent(), MagickFalse, MagickTrue, OpaqueAlpha, QueryColorname(), _PixelInfo::red, ScaleShortToQuantum(), TraceEvent, _RectangleInfo::x, X11Compliance, XClientWindow(), XSelectWindow(), and _RectangleInfo::y.
static Image* XGetWindowImage | ( | Display * | display, | |
const Window | window, | |||
const unsigned int | borders, | |||
const unsigned int | level, | |||
ExceptionInfo * | exception | |||
) | [static] |
References AcquireAuthenticCacheView(), AcquireImage(), AcquireImageColormap(), AcquireMagickMemory(), AcquireQuantumMemory(), _PixelInfo::blue, _Image::colormap, Colormap, _Image::colors, _Image::columns, CompositeImage(), CopyCompositeOp, DestroyCacheView(), DestroyImage(), DirectClass, GetMagickModule, GetPixelChannels(), _PixelInfo::green, _RectangleInfo::height, LogMagickEvent(), magick_restrict, MagickFalse, MagickTrue, NewImageList(), PseudoClass, QueueCacheViewAuthenticPixels(), _PixelInfo::red, RelinquishMagickMemory(), ResizeQuantumMemory(), ResourceLimitError, _Image::rows, ScaleShortToQuantum(), SetPixelBlue(), SetPixelGreen(), SetPixelIndex(), SetPixelRed(), SetPixelViaPixelInfo(), _Image::storage_class, SyncCacheViewAuthenticPixels(), ThrowXWindowException, TraceEvent, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by XImportImage().
MagickPrivate void XGetWindowInfo | ( | Display * | display, | |
XVisualInfo * | visual_info, | |||
XStandardColormap * | map_info, | |||
XPixelInfo * | pixel, | |||
XFontStruct * | font_info, | |||
XResourceInfo * | resource_info, | |||
XWindowInfo * | window | |||
) |
References AcquireCriticalMemory(), AcquireString(), _XPixelInfo::annotate_context, _XWindowInfo::annotate_context, _XWindowInfo::attributes, _XPixelInfo::background_color, _XPixelInfo::border_color, _XResourceInfo::border_width, _XWindowInfo::border_width, _XWindowInfo::busy_cursor, CloneString(), _XWindowInfo::crop_geometry, _XWindowInfo::cursor, _XWindowInfo::data, _XWindowInfo::depth, _XWindowInfo::flags, _XWindowInfo::font_info, ForgetGravity, _XWindowInfo::geometry, GetMagickModule, _XWindowInfo::height, _XWindowInfo::height_inc, _XPixelInfo::highlight_context, _XWindowInfo::highlight_context, _XWindowInfo::highlight_stipple, _XResourceInfo::icon_geometry, _XWindowInfo::icon_geometry, _XWindowInfo::icon_name, _XWindowInfo::id, _XWindowInfo::immutable, LogMagickEvent(), MagickFalse, MagickTrue, _XWindowInfo::map_info, _XWindowInfo::mapped, _XWindowInfo::mask, _XWindowInfo::matte_image, _XWindowInfo::matte_pixmap, _XWindowInfo::min_height, _XWindowInfo::min_width, _XWindowInfo::name, NorthWestGravity, _XWindowInfo::orphan, _XWindowInfo::pixel_info, _XWindowInfo::pixmap, _XWindowInfo::root, _XWindowInfo::screen, _XWindowInfo::segment_info, _XWindowInfo::shadow_stipple, _XWindowInfo::shape, _XWindowInfo::shared_memory, _XWindowInfo::stasis, _XWindowInfo::storage_class, TraceEvent, _XWindowInfo::use_pixmap, _XWindowInfo::visual, _XWindowInfo::visual_info, _XPixelInfo::widget_context, _XWindowInfo::widget_context, _XWindowInfo::width, _XWindowInfo::width_inc, _XWindowInfo::x, _XWindowInfo::ximage, and _XWindowInfo::y.
MagickPrivate void XHighlightEllipse | ( | Display * | display, | |
Window | window, | |||
GC | annotate_context, | |||
const RectangleInfo * | highlight_info | |||
) |
MagickPrivate void XHighlightLine | ( | Display * | display, | |
Window | window, | |||
GC | annotate_context, | |||
const XSegment * | highlight_info | |||
) |
References GetMagickModule, LogMagickEvent(), and TraceEvent.
MagickPrivate void XHighlightRectangle | ( | Display * | display, | |
Window | window, | |||
GC | annotate_context, | |||
const RectangleInfo * | highlight_info | |||
) |
MagickExport Image* XImportImage | ( | const ImageInfo * | image_info, | |
XImportInfo * | ximage_info, | |||
ExceptionInfo * | exception | |||
) |
References _XImportInfo::borders, Colormap, CopyMagickString(), CropImage(), _ImageInfo::debug, _XImportInfo::descend, DestroyImage(), _Image::filename, _ImageInfo::filename, _XImportInfo::frame, GetMagickModule, _RectangleInfo::height, LocaleCompare(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickPathExtent, MagickTrue, _XImportInfo::screen, _ImageInfo::server_name, _ImageInfo::signature, _XImportInfo::silent, ThrowXWindowException, TraceEvent, _RectangleInfo::width, _RectangleInfo::x, XClientWindow(), XError(), XGetWindowImage(), XSelectWindow(), XServerError, XWindowByID(), XWindowByName(), and _RectangleInfo::y.
MagickPrivate XWindows* XInitializeWindows | ( | Display * | display, | |
XResourceInfo * | resource_info | |||
) |
References AcquireMagickMemory(), _XPixelInfo::annotate_context, _XWindows::class_hints, _XResourceInfo::colormap, Colormap, _XWindows::display, _XWindows::dnd_protocols, _XWindows::font_info, GetMagickModule, GetMagickVersion(), _XWindows::group_leader, _XPixelInfo::highlight_context, _XWindows::icon_map, _XWindows::icon_pixel, _XWindows::icon_resources, _XWindows::icon_visual, _XWindowInfo::id, _XWindows::im_exit, _XWindows::im_former_image, _XWindows::im_next_image, _XWindows::im_protocols, _XWindows::im_remote_command, _XWindows::im_retain_colors, _XWindows::im_update_colormap, _XWindows::im_update_widget, IsEventLogging(), LogMagickEvent(), MagickFalse, MagickTrue, _XWindows::manager_hints, _XWindows::map_info, _XWindows::pixel_info, _XPixelInfo::pixels, ResourceLimitFatalError, SharedColormap, ThrowXWindowFatalException, _XWindows::visual_info, _XResourceInfo::visual_type, _XPixelInfo::widget_context, _XResourceInfo::window_group, _XWindows::wm_delete_window, _XWindows::wm_protocols, _XWindows::wm_take_focus, X11Event, XBestVisualInfo(), XServerFatalError, XVisualClassName(), XWindowByID(), and XWindowByName().
MagickPrivate MagickBooleanType XMagickProgressMonitor | ( | const char * | tag, | |
const MagickOffsetType | quantum, | |||
const MagickSizeType | span, | |||
void * | magick_unusedclient_data | |||
) |
MagickPrivate Cursor XMakeCursor | ( | Display * | display, | |
Window | window, | |||
Colormap | colormap, | |||
char * | background_color, | |||
char * | foreground_color | |||
) |
References Colormap, GetMagickModule, LogMagickEvent(), scope_height, scope_width, scope_x_hot, scope_y_hot, ThrowXWindowException, TraceEvent, and XServerError.
Referenced by XSelectWindow().
MagickPrivate MagickBooleanType XMakeImage | ( | Display * | display, | |
const XResourceInfo * | resource_info, | |||
XWindowInfo * | window, | |||
Image * | image, | |||
unsigned int | width, | |||
unsigned int | height, | |||
ExceptionInfo * | exception | |||
) |
References AcquireQuantumMemory(), _Image::alpha_trait, _XWindowInfo::busy_cursor, CheckOverflowException, _XPixelInfo::colors, _Image::columns, _XWindowInfo::crop_geometry, CropImage(), _XWindowInfo::cursor, _XWindowInfo::depth, _XWindowInfo::destroy, DestroyImage(), _Image::filter, GetMagickModule, _XWindowInfo::height, _XWindowInfo::id, _XWindowInfo::image, IsEventLogging(), LogMagickEvent(), MAGICKCORE_HAVE_SHARED_MEMORY, MagickFalse, MagickTrue, _XWindowInfo::matte_image, _XWindowInfo::matte_pixmap, NewImageList(), _Image::page, ParsePageGeometry(), _XWindowInfo::pixel_info, PseudoClass, ResizeImage(), _Image::rows, SampleImage(), _XWindowInfo::screen, _XWindowInfo::segment_info, _XWindowInfo::shape, _XWindowInfo::shared_memory, _XWindowInfo::stasis, _Image::storage_class, ThumbnailImage(), TraceEvent, UndefinedPixelTrait, _XWindowInfo::visual, _XWindowInfo::width, _RectangleInfo::x, X11Event, XCheckDefineCursor(), xerror_alert, _XWindowInfo::ximage, XMakeImageLSBFirst(), XMakeImageMSBFirst(), XMakePixmap(), and _RectangleInfo::y.
static void XMakeImageLSBFirst | ( | const XResourceInfo * | resource_info, | |
const XWindowInfo * | window, | |||
Image * | image, | |||
XImage * | ximage, | |||
XImage * | matte_image, | |||
ExceptionInfo * | exception | |||
) | [static] |
References AcquireImageInfo(), AcquireVirtualCacheView(), _Image::alpha_trait, _XPixelInfo::background_color, blue_gamma, CloneImage(), _XResourceInfo::color_recovery, _Image::colormap, _XPixelInfo::colors, _Image::colors, _Image::columns, CompositeImage(), ConstantString(), CopyMagickString(), _Image::debug, DestroyCacheView(), DestroyImage(), DestroyImageInfo(), DirectClass, _QuantizeInfo::dither_method, DstOverCompositeOp, _ImageInfo::filename, _Image::filename, _XPixelInfo::foreground_color, FormatLocaleString(), GetCacheViewVirtualPixels(), GetMagickModule, GetPixelAlpha(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIndex(), GetPixelInfoIntensity(), GetPixelRed(), green_gamma, _XResourceInfo::image_info, _XWindowInfo::immutable, LogMagickEvent(), MagickFalse, MagickPathExtent, MagickTrue, _XWindowInfo::map_info, NoDitherMethod, _XWindowInfo::pixel_info, _XPixelInfo::pixels, _XResourceInfo::quantize_info, QuantumRange, ReadImage(), red_gamma, _Image::rows, ScaleQuantumToChar(), _ImageInfo::size, _Image::storage_class, _ImageInfo::texture, TraceEvent, UndefinedPixelTrait, XBlueGamma, XDitherImage(), XGammaPixel, XGreenGamma, XPixelIntensity(), and XRedGamma.
Referenced by XMakeImage().
static void XMakeImageMSBFirst | ( | const XResourceInfo * | resource_info, | |
const XWindowInfo * | window, | |||
Image * | image, | |||
XImage * | ximage, | |||
XImage * | matte_image, | |||
ExceptionInfo * | exception | |||
) |
References AcquireImageInfo(), AcquireVirtualCacheView(), _Image::alpha_trait, _XPixelInfo::background_color, blue_gamma, CloneImage(), _XResourceInfo::color_recovery, _Image::colormap, _XPixelInfo::colors, _Image::colors, _Image::columns, CompositeImage(), ConstantString(), CopyMagickString(), _Image::debug, DestroyCacheView(), DestroyImage(), DestroyImageInfo(), DirectClass, _QuantizeInfo::dither_method, DstOverCompositeOp, _ImageInfo::filename, _Image::filename, _XPixelInfo::foreground_color, FormatLocaleString(), GetCacheViewVirtualPixels(), GetMagickModule, GetPixelAlpha(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIndex(), GetPixelInfoIntensity(), GetPixelRed(), green_gamma, _XResourceInfo::image_info, _XWindowInfo::immutable, LogMagickEvent(), MagickFalse, MagickPathExtent, MagickTrue, _XWindowInfo::map_info, NoDitherMethod, _XWindowInfo::pixel_info, _XPixelInfo::pixels, _XResourceInfo::quantize_info, QuantumRange, ReadImage(), red_gamma, _Image::rows, ScaleQuantumToChar(), _ImageInfo::size, _Image::storage_class, _ImageInfo::texture, TraceEvent, UndefinedPixelTrait, XBlueGamma, XDitherImage(), XGammaPixel, XGreenGamma, XPixelIntensity(), and XRedGamma.
Referenced by XMakeImage().
MagickPrivate void XMakeMagnifyImage | ( | Display * | display, | |
XWindows * | windows, | |||
ExceptionInfo * | exception | |||
) |
References _PixelInfo::alpha_trait, AlphaPixelChannel, _XWindowInfo::annotate_context, _XPixelInfo::background_color, BlackPixelChannel, BluePixelChannel, CMYKColorspace, _PixelInfo::colorspace, ConcatenateColorComponent(), ConcatenateMagickString(), _XWindowInfo::data, _XWindowInfo::depth, _XWindowInfo::font_info, _XPixelInfo::foreground_color, FormatLocaleString(), GetColorTuple(), GetMagickModule, GetOneVirtualPixelInfo(), GreenPixelChannel, _RectangleInfo::height, _XWindowInfo::height, _XWindowInfo::highlight_context, _XWindowInfo::id, _XWindowInfo::image, _XWindows::image, LogMagickEvent(), MagickPathExtent, MagickTrue, _XWindows::magnify, _XWindowInfo::name, _XWindowInfo::pixel_info, _XWindowInfo::pixmap, QueryColorname(), RedPixelChannel, SVGCompliance, Swap, TileVirtualPixelMethod, TraceEvent, UndefinedPixelTrait, _RectangleInfo::width, _XWindowInfo::width, _RectangleInfo::x, _XWindowInfo::x, X11Compliance, _XWindowInfo::ximage, XPixelIntensity(), XRefreshWindow(), _RectangleInfo::y, and _XWindowInfo::y.
static MagickBooleanType XMakePixmap | ( | Display * | display, | |
const XResourceInfo * | resource_info, | |||
XWindowInfo * | window | |||
) | [static] |
References _XWindowInfo::annotate_context, _XWindowInfo::busy_cursor, _XWindowInfo::cursor, _XWindowInfo::depth, GetMagickModule, _XWindowInfo::id, IsEventLogging(), LogMagickEvent(), MagickFalse, MagickTrue, _XWindowInfo::pixmap, _XWindowInfo::shared_memory, TraceEvent, _XWindowInfo::use_pixmap, X11Event, XCheckDefineCursor(), and _XWindowInfo::ximage.
Referenced by XMakeImage().
MagickPrivate void XMakeStandardColormap | ( | Display * | display, | |
XVisualInfo * | visual_info, | |||
XResourceInfo * | resource_info, | |||
Image * | image, | |||
XStandardColormap * | map_info, | |||
XPixelInfo * | pixel, | |||
ExceptionInfo * | exception | |||
) |
References AcquireAuthenticCacheView(), AcquireImage(), AcquireQuantumMemory(), _Image::alpha_trait, _XPixelInfo::background_color, _DiversityPacket::blue, _PixelInfo::blue, _XPixelInfo::border_color, ClampToQuantum(), _XResourceInfo::color_recovery, _XResourceInfo::colormap, _Image::colormap, Colormap, _XPixelInfo::colors, _Image::colors, _Image::columns, _DiversityPacket::count, _XPixelInfo::depth_color, DestroyCacheView(), DestroyImage(), DirectClass, _QuantizeInfo::dither_method, DoBlue, DoGreen, DoRed, _Image::filename, _XPixelInfo::foreground_color, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannels(), GetPixelIndex(), _DiversityPacket::green, _PixelInfo::green, _XPixelInfo::highlight_color, _DiversityPacket::index, IntensityCompare(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickFalse, MagickMax, MagickMin, MagickTrue, _XResourceInfo::map_type, _XPixelInfo::matte_color, MaxColormapSize, MaxNumberPens, NoDitherMethod, _QuantizeInfo::number_colors, _XPixelInfo::pen_colors, _XPixelInfo::pixels, PopularityCompare(), PrivateColormap, _XResourceInfo::quantize_info, QuantizeImage(), QueueAuthenticPixels(), _DiversityPacket::red, _PixelInfo::red, RelinquishMagickMemory(), RemapImage(), ResourceLimitFatalError, _Image::rows, ScaleQuantumToShort(), ScaleXToQuantum(), SetImageStorageClass(), SetPixelAlpha(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), _XPixelInfo::shadow_color, SharedColormap, _Image::storage_class, SyncAuthenticPixels(), ThrowXWindowFatalException, TraceEvent, TransparentAlpha, _XPixelInfo::trough_color, UndefinedPixelTrait, X11Event, XBestPixel(), XBlueGamma, XFreeStandardColormap(), XGetMapInfo(), XGetPixelInfo(), XGreenGamma, XPixelIntensity(), XRedGamma, and XStandardPixel.
MagickPrivate void XMakeWindow | ( | Display * | display, | |
Window | parent, | |||
char ** | argv, | |||
int | argc, | |||
XClassHint * | class_hint, | |||
XWMHints * | manager_hints, | |||
XWindowInfo * | window_info | |||
) |
References _XWindowInfo::attributes, _XWindowInfo::border_width, CopyMagickString(), _XWindowInfo::depth, _XWindowInfo::destroy, _XWindowInfo::flags, FormatLocaleString(), _XWindowInfo::geometry, GetMagickModule, _XWindowInfo::height, _XWindowInfo::height_inc, HeightValue, _XWindowInfo::icon_geometry, _XWindowInfo::icon_name, _XWindowInfo::id, _XWindowInfo::image, _XWindowInfo::immutable, LogMagickEvent(), MagickFalse, MagickPathExtent, _XWindowInfo::mask, _XWindowInfo::min_height, _XWindowInfo::min_width, _XWindowInfo::name, NewImageList(), NorthWestGravity, _XWindowInfo::screen, _XWindowInfo::shape, _XWindowInfo::shared_memory, ThrowXWindowFatalException, TraceEvent, _XWindowInfo::visual, _XWindowInfo::width, _XWindowInfo::width_inc, WidthValue, _XWindowInfo::x, XServerFatalError, XValue, _XWindowInfo::y, and YValue.
MagickPrivate MagickBooleanType XQueryColorCompliance | ( | const char * | target, | |
XColor * | color | |||
) |
References Colormap, DoBlue, DoGreen, DoRed, MagickFalse, MagickTrue, ThrowXWindowException, and XServerError.
MagickPrivate void XQueryPosition | ( | Display * | display, | |
const Window | window, | |||
int * | x, | |||
int * | y | |||
) |
References GetMagickModule, LogMagickEvent(), and TraceEvent.
MagickPrivate void XRefreshWindow | ( | Display * | display, | |
const XWindowInfo * | window, | |||
const XEvent * | event | |||
) |
References _XWindowInfo::annotate_context, _XWindowInfo::depth, GetMagickModule, _XWindowInfo::height, _XWindowInfo::highlight_context, _XWindowInfo::id, LogMagickEvent(), MagickFalse, MagickTrue, _XWindowInfo::matte_pixmap, _XWindowInfo::pixmap, _XWindowInfo::shape, _XWindowInfo::shared_memory, TraceEvent, _XWindowInfo::width, _XWindowInfo::x, _XWindowInfo::ximage, and _XWindowInfo::y.
MagickExport MagickBooleanType XRemoteCommand | ( | Display * | display, | |
const char * | window, | |||
const char * | filename | |||
) |
MagickPrivate MagickBooleanType XRenderImage | ( | Image * | image, | |
const DrawInfo * | draw_info, | |||
const PointInfo * | offset, | |||
TypeMetric * | metrics, | |||
ExceptionInfo * | exception | |||
) |
References AcquireImageInfo(), AcquireString(), _DrawInfo::affine, _PixelInfo::alpha, _XPixelInfo::annotate_context, AnnotateEvent, _TypeMetric::ascent, _XResourceInfo::background_color, _PixelInfo::blue, _TypeMetric::bounds, ClampToQuantum(), CloneString(), _XResourceInfo::close_server, Colormap, _XResourceInfo::colormap, _Image::debug, _XAnnotateInfo::degrees, _TypeMetric::descent, ExpandAffine(), _Image::filename, _DrawInfo::fill, _DrawInfo::font, _XResourceInfo::font, _XAnnotateInfo::font_info, _XResourceInfo::foreground_color, ForegroundStencil, FormatLocaleString(), _XAnnotateInfo::geometry, GetClientName(), GetMagickModule, _PixelInfo::green, _TypeMetric::height, _XAnnotateInfo::height, _DrawInfo::interline_spacing, LogMagickEvent(), MagickEpsilon, MagickFalse, MagickPathExtent, MagickPI, MagickTrue, _TypeMetric::max_advance, _XPixelInfo::pen_color, _XPixelInfo::pixels, _TypeMetric::pixels_per_em, _DrawInfo::pointsize, PrivateColormap, _PixelInfo::red, _DrawInfo::render, ResourceLimitError, _AffineMatrix::rx, _AffineMatrix::ry, ScaleQuantumToShort(), _DrawInfo::server_name, _XAnnotateInfo::stencil, _AffineMatrix::sx, _AffineMatrix::sy, _DrawInfo::text, _XAnnotateInfo::text, ThrowXWindowException, TransparentAlpha, _TypeMetric::underline_position, _TypeMetric::underline_thickness, _TypeMetric::width, _XAnnotateInfo::width, _PointInfo::x, _SegmentInfo::x1, _SegmentInfo::x2, XAnnotateImage(), XBestFont(), XBestVisualInfo(), XError(), XFreeResources(), XGetAnnotateInfo(), XGetMapInfo(), XGetPixelInfo(), XGetResourceDatabase(), XGetResourceInfo(), XServerError, _PointInfo::y, _SegmentInfo::y1, and _SegmentInfo::y2.
Referenced by RenderX11().
MagickExport void XRetainWindowColors | ( | Display * | display, | |
const Window | window | |||
) |
References GetMagickModule, LogMagickEvent(), MagickFalse, ThrowXWindowException, TraceEvent, and XServerError.
static Window XSelectWindow | ( | Display * | display, | |
RectangleInfo * | crop_info | |||
) | [static] |
References GetMagickModule, _RectangleInfo::height, LogMagickEvent(), MagickFalse, MinimumCropArea, ThrowXWindowException, TraceEvent, _RectangleInfo::width, _RectangleInfo::x, XGetSubwindow(), XMakeCursor(), XServerError, and _RectangleInfo::y.
Referenced by XGetWindowColor(), XImportImage(), and XWindowByID().
MagickPrivate void XSetCursorState | ( | Display * | display, | |
XWindows * | windows, | |||
const MagickStatusType | state | |||
) |
References _XWindowInfo::busy_cursor, _XWindows::command, _XWindowInfo::cursor, GetMagickModule, _XWindowInfo::id, _XWindows::image, _XWindows::info, LogMagickEvent(), MagickFalse, _XWindows::magnify, _XWindowInfo::mapped, _XWindows::pan, _XWindowInfo::screen, TraceEvent, _XWindows::widget, and XCheckDefineCursor().
References RelinquishMagickMemory().
Referenced by DestroyXResources(), XMagickProgressMonitor(), and XWarning().
MagickPrivate void XUserPreferences | ( | XResourceInfo * | resource_info | ) |
References _XResourceInfo::backdrop, _XResourceInfo::colormap, _XResourceInfo::confirm_edit, _XResourceInfo::confirm_exit, _XResourceInfo::display_warnings, _QuantizeInfo::dither_method, ExpandFilename(), FormatLocaleString(), _XResourceInfo::gamma_correct, GetClientName(), MagickPathExtent, NoDitherMethod, _XResourceInfo::quantize_info, SharedColormap, _XResourceInfo::undo_cache, _XResourceInfo::use_pixmap, and X11_PREFERENCES_PATH.
static const char * XVisualClassName | ( | const int | visual_class | ) | [static] |
Referenced by XBestVisualInfo(), XDisplayImageInfo(), and XInitializeWindows().
MagickPrivate void XWarning | ( | const ExceptionType | magick_unusedwarning, | |
const char * | reason, | |||
const char * | description | |||
) |
MagickPrivate Window XWindowByID | ( | Display * | display, | |
const Window | root_window, | |||
const size_t | id | |||
) |
References GetMagickModule, LogMagickEvent(), TraceEvent, XSelectWindow(), and XWindowByID().
MagickPrivate Window XWindowByName | ( | Display * | display, | |
const Window | root_window, | |||
const char * | name | |||
) |
References GetMagickModule, LocaleCompare(), LogMagickEvent(), TraceEvent, and XWindowByName().
MagickPrivate Window XWindowByProperty | ( | Display * | display, | |
const Window | window, | |||
const Atom | property | |||
) |
References GetMagickModule, LogMagickEvent(), MagickFalse, TraceEvent, and XWindowByProperty().
Referenced by XClientWindow(), XRemoteCommand(), and XWindowByProperty().
double blue_gamma = 1.0 [static] |
Referenced by XGetPixelInfo(), XMakeImageLSBFirst(), and XMakeImageMSBFirst().
double green_gamma = 1.0 [static] |
Referenced by XGetPixelInfo(), XMakeImageLSBFirst(), and XMakeImageMSBFirst().
double red_gamma = 1.0 [static] |
Referenced by XGetPixelInfo(), XMakeImageLSBFirst(), and XMakeImageMSBFirst().
MagickBooleanType xerror_alert = MagickFalse [static] |
Referenced by XError(), and XMakeImage().