Lines Matching refs:magnify
3585 (event.xbutton.window != windows->magnify.id)) in XColorEditImage()
3602 (event.xbutton.window != windows->magnify.id)) in XColorEditImage()
3623 if (event.xkey.window == windows->magnify.id) in XColorEditImage()
3628 window=windows->magnify.id; in XColorEditImage()
3687 if (event.xany.window == windows->magnify.id) in XColorEditImage()
3689 x=windows->magnify.x-windows->image.x; in XColorEditImage()
3690 y=windows->magnify.y-windows->image.y; in XColorEditImage()
4442 windows->magnify.x=(int) in XConfigureImage()
4443 width*windows->magnify.x/windows->image.ximage->width; in XConfigureImage()
4444 windows->magnify.y=(int) in XConfigureImage()
4445 height*windows->magnify.y/windows->image.ximage->height; in XConfigureImage()
4487 if (windows->magnify.mapped != MagickFalse ) in XConfigureImage()
9051 if (windows->magnify.mapped != MagickFalse ) in XMagickCommand()
9052 (void) XRaiseWindow(display,windows->magnify.id); in XMagickCommand()
9059 (void) XMapRaised(display,windows->magnify.id); in XMagickCommand()
9366 (void) XCheckDefineCursor(display,windows->image.id,windows->magnify.cursor); in XMagnifyImage()
9370 windows->magnify.x=(int) windows->image.x+x; in XMagnifyImage()
9371 windows->magnify.y=(int) windows->image.y+y; in XMagnifyImage()
9393 windows->magnify.x,windows->magnify.y); in XMagnifyImage()
9496 (void) XWithdrawWindow(display,windows->magnify.id, in XMagnifyWindowCommand()
9497 windows->magnify.screen); in XMagnifyWindowCommand()
9503 windows->magnify.x=(int) windows->image.width/2; in XMagnifyWindowCommand()
9504 windows->magnify.y=(int) windows->image.height/2; in XMagnifyWindowCommand()
9510 if (windows->magnify.x > 0) in XMagnifyWindowCommand()
9511 windows->magnify.x-=quantum; in XMagnifyWindowCommand()
9517 if (windows->magnify.y > 0) in XMagnifyWindowCommand()
9518 windows->magnify.y-=quantum; in XMagnifyWindowCommand()
9524 if (windows->magnify.x < (int) (windows->image.ximage->width-1)) in XMagnifyWindowCommand()
9525 windows->magnify.x+=quantum; in XMagnifyWindowCommand()
9531 if (windows->magnify.y < (int) (windows->image.ximage->height-1)) in XMagnifyWindowCommand()
9532 windows->magnify.y+=quantum; in XMagnifyWindowCommand()
9546 windows->magnify.data=(key_symbol-XK_0); in XMagnifyWindowCommand()
9560 windows->magnify.data=(key_symbol-XK_KP_0); in XMagnifyWindowCommand()
9954 (event.xbutton.window != windows->magnify.id)) in XMatteEditImage()
9971 (event.xbutton.window != windows->magnify.id)) in XMatteEditImage()
9995 if (event.xkey.window == windows->magnify.id) in XMatteEditImage()
10000 window=windows->magnify.id; in XMatteEditImage()
10059 if (event.xany.window == windows->magnify.id) in XMatteEditImage()
10061 x=windows->magnify.x-windows->image.x; in XMatteEditImage()
10062 y=windows->magnify.y-windows->image.y; in XMatteEditImage()
12764 windows->magnify.x=(int) windows->image.x+x; in XScreenEvent()
12770 windows->magnify.y=windows->image.y+y; in XScreenEvent()
12771 if (windows->magnify.mapped == MagickFalse) in XScreenEvent()
12772 (void) XMapRaised(display,windows->magnify.id); in XScreenEvent()
12790 if (event->xclient.window == windows->magnify.id) in XScreenEvent()
12792 (void) XWithdrawWindow(display,windows->magnify.id, in XScreenEvent()
12793 windows->magnify.screen); in XScreenEvent()
12800 if (event->xconfigure.window == windows->magnify.id) in XScreenEvent()
12803 magnify; in XScreenEvent() local
12808 windows->magnify.width=(unsigned int) event->xconfigure.width; in XScreenEvent()
12809 windows->magnify.height=(unsigned int) event->xconfigure.height; in XScreenEvent()
12810 if (windows->magnify.mapped == MagickFalse) in XScreenEvent()
12812 magnify=1; in XScreenEvent()
12813 while ((int) magnify <= event->xconfigure.width) in XScreenEvent()
12814 magnify<<=1; in XScreenEvent()
12815 while ((int) magnify <= event->xconfigure.height) in XScreenEvent()
12816 magnify<<=1; in XScreenEvent()
12817 magnify>>=1; in XScreenEvent()
12818 if (((int) magnify != event->xconfigure.width) || in XScreenEvent()
12819 ((int) magnify != event->xconfigure.height)) in XScreenEvent()
12824 window_changes.width=(int) magnify; in XScreenEvent()
12825 window_changes.height=(int) magnify; in XScreenEvent()
12826 (void) XReconfigureWMWindow(display,windows->magnify.id, in XScreenEvent()
12827 windows->magnify.screen,(unsigned int) (CWWidth | CWHeight), in XScreenEvent()
12849 if (event->xexpose.window == windows->magnify.id) in XScreenEvent()
12865 if (event->xkey.window != windows->magnify.id) in XScreenEvent()
12878 if (event->xmap.window == windows->magnify.id) in XScreenEvent()
12880 windows->magnify.mapped=MagickTrue; in XScreenEvent()
12895 if (windows->magnify.mapped != MagickFalse ) in XScreenEvent()
12907 windows->magnify.x=(int) windows->image.x+x; in XScreenEvent()
12913 windows->magnify.y=windows->image.y+y; in XScreenEvent()
12920 if (event->xunmap.window == windows->magnify.id) in XScreenEvent()
12922 windows->magnify.mapped=MagickFalse; in XScreenEvent()
14577 magick_windows[number_windows++]=(&windows->magnify); in XDisplayImage()
14959 resource_info,&windows->magnify); in XDisplayImage()
14961 windows->magnify.shared_memory=MagickFalse; in XDisplayImage()
14964 windows->magnify.geometry=XGetResourceClass(resource_info->resource_database, in XDisplayImage()
14966 (void) FormatLocaleString(windows->magnify.name,MagickPathExtent,"Magnify %uX", in XDisplayImage()
14967 resource_info->magnify); in XDisplayImage()
14968 if (windows->magnify.cursor != (Cursor) NULL) in XDisplayImage()
14969 (void) XFreeCursor(display,windows->magnify.cursor); in XDisplayImage()
14970 windows->magnify.cursor=XMakeCursor(display,windows->image.id, in XDisplayImage()
14973 if (windows->magnify.cursor == (Cursor) NULL) in XDisplayImage()
14976 windows->magnify.width=MagnifySize; in XDisplayImage()
14977 windows->magnify.height=MagnifySize; in XDisplayImage()
14978 windows->magnify.flags|=PPosition; in XDisplayImage()
14979 windows->magnify.min_width=MagnifySize; in XDisplayImage()
14980 windows->magnify.min_height=MagnifySize; in XDisplayImage()
14981 windows->magnify.width_inc=MagnifySize; in XDisplayImage()
14982 windows->magnify.height_inc=MagnifySize; in XDisplayImage()
14983 windows->magnify.data=resource_info->magnify; in XDisplayImage()
14984 windows->magnify.attributes.cursor=windows->magnify.cursor; in XDisplayImage()
14985 windows->magnify.attributes.event_mask=ButtonPressMask | ButtonReleaseMask | in XDisplayImage()
14993 &windows->magnify); in XDisplayImage()
14996 "Window id: 0x%lx (magnify)",windows->magnify.id); in XDisplayImage()
14997 (void) XSetTransientForHint(display,windows->magnify.id,windows->image.id); in XDisplayImage()
15047 windows->magnify.shape=MagickFalse; in XDisplayImage()
15058 status=XMakeImage(display,resource_info,&windows->magnify,(Image *) NULL, in XDisplayImage()
15059 windows->magnify.width,windows->magnify.height,exception); in XDisplayImage()
15063 if (windows->magnify.mapped != MagickFalse ) in XDisplayImage()
15064 (void) XMapRaised(display,windows->magnify.id); in XDisplayImage()
15145 (windows->magnify.stasis == MagickFalse)) in XDisplayImage()
15150 windows->magnify.stasis=MagickTrue; in XDisplayImage()
15303 if (event.xbutton.window == windows->magnify.id) in XDisplayImage()
15595 if (windows->magnify.geometry == (char *) NULL) in XDisplayImage()
15596 if (windows->magnify.mapped == MagickFalse) in XDisplayImage()
15598 windows->magnify.x=event.xconfigure.x+ in XDisplayImage()
15600 windows->magnify.y=event.xconfigure.y; in XDisplayImage()
15601 XConstrainWindowPosition(display,&windows->magnify); in XDisplayImage()
15602 window_changes.x=windows->magnify.x; in XDisplayImage()
15603 window_changes.y=windows->magnify.y; in XDisplayImage()
15604 (void) XReconfigureWMWindow(display,windows->magnify.id, in XDisplayImage()
15605 windows->magnify.screen,(unsigned int) (CWX | CWY), in XDisplayImage()
15614 windows->magnify.height+50; in XDisplayImage()
15661 if (event.xconfigure.window == windows->magnify.id) in XDisplayImage()
15664 magnify; in XDisplayImage() local
15669 windows->magnify.width=(unsigned int) event.xconfigure.width; in XDisplayImage()
15670 windows->magnify.height=(unsigned int) event.xconfigure.height; in XDisplayImage()
15671 if (windows->magnify.mapped == MagickFalse) in XDisplayImage()
15673 magnify=1; in XDisplayImage()
15674 while ((int) magnify <= event.xconfigure.width) in XDisplayImage()
15675 magnify<<=1; in XDisplayImage()
15676 while ((int) magnify <= event.xconfigure.height) in XDisplayImage()
15677 magnify<<=1; in XDisplayImage()
15678 magnify>>=1; in XDisplayImage()
15679 if (((int) magnify != event.xconfigure.width) || in XDisplayImage()
15680 ((int) magnify != event.xconfigure.height)) in XDisplayImage()
15682 window_changes.width=(int) magnify; in XDisplayImage()
15683 window_changes.height=(int) magnify; in XDisplayImage()
15684 (void) XReconfigureWMWindow(display,windows->magnify.id, in XDisplayImage()
15685 windows->magnify.screen,(unsigned int) (CWWidth | CWHeight), in XDisplayImage()
15689 if (windows->magnify.mapped != MagickFalse && in XDisplayImage()
15690 windows->magnify.stasis != MagickFalse ) in XDisplayImage()
15692 status=XMakeImage(display,resource_info,&windows->magnify, in XDisplayImage()
15693 display_image,windows->magnify.width,windows->magnify.height, in XDisplayImage()
15699 if (windows->magnify.mapped != MagickFalse && in XDisplayImage()
15769 if ((event.xexpose.window == windows->magnify.id) && in XDisplayImage()
15770 windows->magnify.mapped != MagickFalse) in XDisplayImage()
15810 if (event.xkey.window == windows->magnify.id) in XDisplayImage()
15879 if (event.xmap.window == windows->magnify.id) in XDisplayImage()
15882 windows->magnify.mapped=MagickTrue; in XDisplayImage()
16015 if (event.xunmap.window == windows->magnify.id) in XDisplayImage()
16017 windows->magnify.mapped=MagickFalse; in XDisplayImage()
16106 if (windows->magnify.mapped != MagickFalse ) in XDisplayImage()
16107 (void) XWithdrawWindow(display,windows->magnify.id, in XDisplayImage()
16108 windows->magnify.screen); in XDisplayImage()