Home
last modified time | relevance | path

Searched refs:imgfilew (Results 1 – 12 of 12) sorted by relevance

/dports/graphics/xpx/xpx/
H A Dmag.c78 w = (imgfilew+7)/8; in alloc_compress_work()
79 pixelbuf = (unsigned char *)malloc((imgfilew+1)/2*imgfileh); in alloc_compress_work()
142 w = (imgfilew+7)/8; in mag_compress()
161 for (x = 0; x < imgfilew; x += 8) { in mag_compress()
251 flagAsize = ((imgfilew+3)/4+1)/2;
256 pixelsize = ((imgfilew*imgfileh+3)/4) * 2;
265 setleshort(buf+8, imgposx+imgfilew-1);
295 for (x = 0; x < imgfilew; x += 4) {
H A Dimage.c143 imgfilew = w;
286 if ((imgofsx+x >= imgfilew*zoomfactor)||
306 i = x + w - (imgfilew*zoomfactor - imgofsx);
353 gen_image_sub(0, 0, imgfilew, imgfileh); in image_update_all()
360 gen_image_col(0, 0, imgfilew, imgfileh); in image_update_col()
400 if (imgofsx + *dx + imgwinwidth >= imgfilew*zoomfactor)
401 *dx = imgfilew*zoomfactor - (imgofsx + imgwinwidth);
453 i = imgfilew - imgwinwidth/2/zoomfactor; in img_scroll_posreset()
H A Dpaint.c48 while (x < imgfilew) {
68 while (x < imgfilew) {
H A Dedit.c425 undo_push_area(0, 0, imgfilew, imgfileh);
512 if (x + copydst.w > imgfilew)
513 x = imgfilew - copydst.w;
694 undo_push_area(0, 0, imgfilew, imgfileh);
696 area_update(0, 0, imgfilew, imgfileh);
813 if (x >= imgfilew)
814 x = imgfilew;
H A Dscrl.c230 i *= imgfilew*zoomfactor - imgwinwidth;
311 i = (imgfilew * zoomfactor) - imgwinwidth; in calc_hslider_pos()
346 if (imgfilew)
347 i /= imgfilew*zoomfactor;
H A Darea.c151 if (p->x < 0 || p->x >= imgfilew || p->w <= 0 || in get_area()
154 p->w = imgfilew; in get_area()
157 if (p->x + p->w > imgfilew) in get_area()
158 p->w = imgfilew - p->x; in get_area()
H A Dnbn.c39 w = imgfilew; /* for image size hint */
H A Dinfo.c229 info_parm_set(infomenu+INFOMENU_IMGWIDTH, imgfilew); in info_imgsize_set()
302 ZPixmap, 0, None, imgfilew, imgfileh, 32, 0); in alloc_vimg()
330 gen_image_subv(0, 0, imgfilew, imgfileh); in make_view_image()
H A Dtim.c238 i = (imgfiledepth == 4) ? imgfilew/4 : imgfilew/2;
H A Dconvert.c627 for (x = 0; x < imgfilew; x++) { in get_celofs_y()
639 for (x = 0; x < imgfilew; x++) { in get_celofs_x()
655 w = imgfilew;
721 fprintf(fp, "%d %d\n", imgfilew, imgfileh);
725 for (x = 0; x < imgfilew; x++) {
772 w = imgfilew;
H A Dwork.c52 int imgfilew = 0; variable
H A Dwork.h49 extern int imgfilew;