Home | History | Annotate | Download | only in MagickCore

Lines Matching full:rectangle_info

5485     rectangle_info;
5940 rectangle_info.x=(ssize_t) x;
5941 rectangle_info.y=(ssize_t) y;
5942 rectangle_info.width=0;
5943 rectangle_info.height=0;
5992 if ((rectangle_info.width > 3) && (rectangle_info.height > 3))
5998 " %.20gx%.20g%+.20g%+.20g",(double) rectangle_info.width,
5999 (double) rectangle_info.height,(double) rectangle_info.x,
6000 (double) rectangle_info.y);
6003 windows->image.highlight_context,&rectangle_info);
6016 if ((rectangle_info.width > 3) && (rectangle_info.height > 3))
6022 " %.20gx%.20g%+.20g%+.20g",(double) rectangle_info.width,
6023 (double) rectangle_info.height,(double) rectangle_info.x,
6024 (double) rectangle_info.y);
6027 windows->image.highlight_context,&rectangle_info);
6087 if ((rectangle_info.width > 3) && (rectangle_info.height > 3))
6089 windows->image.highlight_context,&rectangle_info);
6097 if ((rectangle_info.width > 3) && (rectangle_info.height > 3))
6099 windows->image.highlight_context,&rectangle_info);
6126 rectangle_info.x=(ssize_t) event.xbutton.x;
6127 rectangle_info.y=(ssize_t) event.xbutton.y;
6161 rectangle_info.x=(ssize_t) event.xmotion.x;
6162 rectangle_info.y=(ssize_t) event.xmotion.y;
6197 if ((((int) rectangle_info.x != x) && ((int) rectangle_info.y != y)) ||
6200 if (rectangle_info.x < 0)
6201 rectangle_info.x=0;
6203 if (rectangle_info.x > (ssize_t) windows->image.width)
6204 rectangle_info.x=(ssize_t) windows->image.width;
6205 if ((int) rectangle_info.x < x)
6206 rectangle_info.width=(unsigned int) (x-rectangle_info.x);
6209 rectangle_info.width=(unsigned int) (rectangle_info.x-x);
6210 rectangle_info.x=(ssize_t) x;
6212 if (rectangle_info.y < 0)
6213 rectangle_info.y=0;
6215 if (rectangle_info.y > (ssize_t) windows->image.height)
6216 rectangle_info.y=(ssize_t) windows->image.height;
6217 if ((int) rectangle_info.y < y)
6218 rectangle_info.height=(unsigned int) (y-rectangle_info.y);
6221 rectangle_info.height=(unsigned int) (rectangle_info.y-y);
6222 rectangle_info.y=(ssize_t) y;
6233 rectangle_info.x=(ssize_t) coordinate_info->x;
6234 rectangle_info.y=(ssize_t) coordinate_info->y;
6243 if ((ssize_t) coordinate_info[i].x < rectangle_info.x)
6244 rectangle_info.x=MagickMax((ssize_t) coordinate_info[i].x,0);
6245 if ((ssize_t) coordinate_info[i].y < rectangle_info.y)
6246 rectangle_info.y=MagickMax((ssize_t) coordinate_info[i].y,0);
6248 rectangle_info.width=(size_t) (x-rectangle_info.x);
6249 rectangle_info.height=(size_t) (y-rectangle_info.y);
6252 coordinate_info[i].x-=rectangle_info.x;
6253 coordinate_info[i].y-=rectangle_info.y;
6263 rectangle_info.width--;
6264 rectangle_info.height--;
6269 draw_info.x=(int) rectangle_info.x;
6270 draw_info.y=(int) rectangle_info.y;
6287 draw_info.width=(unsigned int) rectangle_info.width+(line_width << 1);
6290 draw_info.height=(unsigned int) rectangle_info.height+(line_width << 1);
6326 draw_info.rectangle_info=rectangle_info;
6327 if (draw_info.rectangle_info.x > (ssize_t) (line_width/2))
6328 draw_info.rectangle_info.x=(ssize_t) line_width/2;
6329 if (draw_info.rectangle_info.y > (ssize_t) (line_width/2))
6330 draw_info.rectangle_info.y=(ssize_t) line_width/2;