Searched defs:y1 (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgdft.c786 int x1 = 0, y1 = 0; local
931 y1 = (int)(- penf.y * cos_a + 32) / 64;
945 y1 = (int)(- penf.y * cos_a + 32) / 64;
947 yb = y + y1;
1104 gdft_draw_bitmap(tc_cache, im, fg, bm->bitmap, x + x1 + ((pen.x + 31) >> 6) + bm->left, y + y1 + ((pen.y + 31) >> 6) - bm->top);
H A Dgd.c671 static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { argument
678 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
684 *y1 += (int)(m * (maxdim - *x1));
693 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
698 *y1 -= (int)(m * *x1);
705 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
706 *y1 += (int)(m * (maxdim - *x1));
711 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
712 *y1 -= (int)(m * *x1);
797 int x1, y1, x local
1073 gdImageVLine(gdImagePtr im, int x, int y1, int y2, int col) argument
1093 gdImageLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
1289 gdImageAALine(gdImagePtr im, int x1, int y1, int x2, int y2, int col) argument
1400 gdImageDashedLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
2032 gdImageRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
2107 gdImageFilledRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
2611 int x1, y1; local
2970 gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2) argument
[all...]
H A Dgd_interpolation.c2232 int x1,y1; local
2236 y1 = r->y + r->height - 1;
2240 r->height = CLAMP(y1, c1y, c2y) - r->y + 1;
/PHP_TRUNK/ext/date/lib/
H A Ddow.c36 timelib_sll c1, y1, m1, dow; local
45 y1 = (y % 100);
47 dow = (c1 + y1 + m1 + (y1 / 4) + d) % 7;
/PHP_TRUNK/ext/gd/
H A Dgd.c495 ZEND_ARG_INFO(0, y1)
504 ZEND_ARG_INFO(0, y1)
513 ZEND_ARG_INFO(0, y1)
522 ZEND_ARG_INFO(0, y1)
3107 /* {{{ proto bool imageline(resource im, int x1, int y1, int x2, int y2, int col)
3112 long x1, y1, x2, y2, col; local
3115 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlllll", &IM, &x1, &y1, &x2, &y2, &col) == FAILURE) {
3123 gdImageAALine(im, x1, y1, x2, y2, col);
3127 gdImageLine(im, x1, y1, x2, y2, col);
3133 /* {{{ proto bool imagedashedline(resource im, int x1, int y1, in
3138 long x1, y1, x2, y2, col; local
3156 long x1, y1, x2, y2, col; local
3174 long x1, y1, x2, y2, col; local
4265 int x1, y1, x2, y2, x3, y3, x4, y4; local
[all...]

Completed in 21 milliseconds