Searched defs:dx (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libtk/unix/
H A DtkUnixDraw.c26 int dx, dy; /* Amount by which window was shifted. */ member in struct:ScrollInfo
58 TkScrollWindow(tkwin, gc, x, y, width, height, dx, dy, damageRgn)
62 int dx, dy; /* Distance rectangle should be moved. */
70 x, y, (unsigned int) width, (unsigned int) height, x + dx, y + dy);
76 info.dx = dx;
163 rect.x += info->dx;
69 x, y, (unsigned int) width, (unsigned int) height, x + dx, y + dy); local
/ast/src/lib/libtk/generic/
H A Dtk3d.c766 int i, lightOnLeft, dx, dy, parallel, pointsSeen;
903 dx = poly[3].x - poly[0].x;
905 if (dx > 0) {
906 lightOnLeft = (dy <= dx);
908 lightOnLeft = (dy < dx);
1073 int dx, dy, dxNeg, dyNeg;
1107 dx = p2Ptr->x - p1Ptr->x;
1115 if (dx < 0) {
1117 dx = -dx;
754 int i, lightOnLeft, dx, dy, parallel, pointsSeen; local
1057 int dx, dy, dxNeg, dyNeg; local
[all...]
H A DtkCanvLine.c1340 double dx, dy, length, sinTheta, cosTheta, temp;
1378 dx = poly[0] - linePtr->coordPtr[2];
1380 length = hypot(dx, dy);
1385 cosTheta = dx/length;
1424 dx = poly[0] - coordPtr[0];
1426 length = hypot(dx, dy);
1431 cosTheta = dx/length;
1327 double dx, dy, length, sinTheta, cosTheta, temp; local

Completed in 17 milliseconds