• Home
  • Raw
  • Download

Lines Matching refs:segment_info

2884     segment_info;  in XChopImage()  local
2902 (void) memset(&segment_info,0,sizeof(segment_info)); in XChopImage()
2980 segment_info.x1=(short int) event.xbutton.x; in XChopImage()
2981 segment_info.x2=(short int) event.xbutton.x; in XChopImage()
2982 segment_info.y1=(short int) event.xbutton.y; in XChopImage()
2983 segment_info.y2=(short int) event.xbutton.y; in XChopImage()
3087 windows->image.highlight_context,&segment_info); in XChopImage()
3098 windows->image.highlight_context,&segment_info); in XChopImage()
3103 segment_info.x2=(short int) event.xmotion.x; in XChopImage()
3104 segment_info.y2=(short int) event.xmotion.y; in XChopImage()
3112 segment_info.x2=(short int) event.xbutton.x; in XChopImage()
3113 segment_info.y2=(short int) event.xbutton.y; in XChopImage()
3121 segment_info.x2=(short int) event.xmotion.x; in XChopImage()
3122 segment_info.y2=(short int) event.xmotion.y; in XChopImage()
3130 if (segment_info.x2 < 0) in XChopImage()
3131 segment_info.x2=0; in XChopImage()
3133 if (segment_info.x2 > windows->image.ximage->width) in XChopImage()
3134 segment_info.x2=windows->image.ximage->width; in XChopImage()
3135 if (segment_info.y2 < 0) in XChopImage()
3136 segment_info.y2=0; in XChopImage()
3138 if (segment_info.y2 > windows->image.ximage->height) in XChopImage()
3139 segment_info.y2=windows->image.ximage->height; in XChopImage()
3141 (((segment_info.x2-segment_info.x1)*(segment_info.x2-segment_info.x1))+ in XChopImage()
3142 ((segment_info.y2-segment_info.y1)*(segment_info.y2-segment_info.y1))); in XChopImage()
3148 chop_info.width=(size_t) (segment_info.x2-segment_info.x1+1); in XChopImage()
3149 chop_info.x=(ssize_t) windows->image.x+segment_info.x1; in XChopImage()
3152 if (segment_info.x1 > (int) segment_info.x2) in XChopImage()
3154 chop_info.width=(size_t) (segment_info.x1-segment_info.x2+1); in XChopImage()
3155 chop_info.x=(ssize_t) windows->image.x+segment_info.x2; in XChopImage()
3161 chop_info.height=(size_t) (segment_info.y2-segment_info.y1+1); in XChopImage()
3163 chop_info.y=(ssize_t) windows->image.y+segment_info.y1; in XChopImage()
3164 if (segment_info.y1 > segment_info.y2) in XChopImage()
3166 chop_info.height=(size_t) (segment_info.y1-segment_info.y2+1); in XChopImage()
3167 chop_info.y=(ssize_t) windows->image.y+segment_info.y2; in XChopImage()