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

/PHP_TRUNK/ext/gd/libgd/
H A Dgdft.c821 int x1 = 0, y1 = 0; local
969 y1 = (int)(- penf.y * cos_a + 32) / 64;
983 y1 = (int)(- penf.y * cos_a + 32) / 64;
985 yb = y + y1;
1150 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_interpolation.c2226 int x1,y1; local
2230 y1 = r->y + r->height - 1;
2234 r->height = CLAMP(y1, c1y, c2y) - r->y + 1;
H A Dgd.c669 static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { argument
676 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
682 *y1 += (int)(m * (maxdim - *x1));
691 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
696 *y1 -= (int)(m * *x1);
703 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
704 *y1 += (int)(m * (maxdim - *x1));
709 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */
710 *y1 -= (int)(m * *x1);
795 int x1, y1, x local
1071 gdImageVLine(gdImagePtr im, int x, int y1, int y2, int col) argument
1091 gdImageLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
1287 gdImageAALine(gdImagePtr im, int x1, int y1, int x2, int y2, int col) argument
1398 gdImageDashedLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
2034 gdImageRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
2115 gdImageFilledRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color) argument
2619 int x1, y1; local
2978 gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2) argument
[all...]
/PHP_TRUNK/ext/date/lib/
H A Ddow.c45 timelib_sll c1, y1, m1, dow; local
51 y1 = positive_mod(y, 100);
53 dow = positive_mod((c1 + y1 + m1 + (y1 / 4) + d), 7);
/PHP_TRUNK/ext/gd/
H A Dgd.c489 ZEND_ARG_INFO(0, y1)
498 ZEND_ARG_INFO(0, y1)
507 ZEND_ARG_INFO(0, y1)
516 ZEND_ARG_INFO(0, y1)
3070 /* {{{ proto bool imageline(resource im, int x1, int y1, int x2, int y2, int col)
3075 zend_long x1, y1, x2, y2, col; local
3078 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlllll", &IM, &x1, &y1, &x2, &y2, &col) == FAILURE) {
3088 gdImageAALine(im, x1, y1, x2, y2, col);
3092 gdImageLine(im, x1, y1, x2, y2, col);
3098 /* {{{ proto bool imagedashedline(resource im, int x1, int y1, in
3103 zend_long x1, y1, x2, y2, col; local
3124 zend_long x1, y1, x2, y2, col; local
3145 zend_long x1, y1, x2, y2, col; local
[all...]

Completed in 19 milliseconds