Home
last modified time | relevance | path

Searched refs:lasty (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/dports/games/openglad/openglad-0.98/src/
H A Dweap.cpp149 newob->lasty = lasty; in death()
159 if (screenp->query_grid_passable(xpos+lastx, ypos+lasty, this)) in death()
164 if (screenp->query_grid_passable(xpos-lastx, ypos+lasty, this)) in death()
166 setxy(xpos-lastx, ypos+lasty); // bounce 'down-left' in death()
171 if (screenp->query_grid_passable(xpos+lastx, ypos-lasty, this)) in death()
173 setxy(xpos+lastx, ypos-lasty); // bounce 'up-right' in death()
174 lasty = -lasty; in death()
178 if (screenp->query_grid_passable(xpos-lastx, ypos-lasty, this)) in death()
180 setxy(xpos-lastx, ypos-lasty); in death()
182 lasty = -lasty; in death()
/dports/graphics/volpack/volpack-1.0b3/
H A Dvp_warp.c117 int lasty, nexty, y; local
182 lasty = -1;
183 while (lasty < out_height-1) {
210 (((int)floor(int_lft[ilft-1][1]) <= lasty || lasty == -1)
214 (((int)floor(int_rgt[irgt-1][1]) <= lasty || lasty == -1)
218 (((int)floor(ext_lft[elft-1][1]) <= lasty || lasty == -1)
222 (((int)floor(ext_rgt[ergt-1][1]) <= lasty || lasty == -1)
224 full_overlap[region].miny = lasty + 1;
226 part_overlap[region].miny = lasty + 1;
239 int_lft[ilft-1][0] + (lasty+1 - int_lft[ilft-1][1]) *
[all …]
/dports/graphics/swfmill/swfmill-0.3.6/src/
H A DSWFShapeMaker.cpp21 lastx = lasty = 0.0; in ShapeMaker()
64 lastx = _x; lasty = _y; in doSetup()
84 lastx += _x; lasty += _y; in lineToR()
94 smoothy = lasty + _cy; in curveToR()
109 lastx += ax; lasty += ay; in curveToR()
116 curveToR(cx - lastx, cy - lasty, ax - lastx, ay - lasty); in curveTo()
129 Point a(lastx,lasty); in cubicTo()
160 lastx = ax; lasty = ay; in cubicTo()
202 lastx + x2, lasty + y2, in cubicToR()
253 x += lastx; y += lasty; in setupR()
[all …]
/dports/graphics/swftools/swftools-0.9.2/lib/modules/
H A Dswfdraw.c13 SCOORD lasty; member
88 || sdraw->firsty != sdraw->lasty) { in fixEndPoint()
121 sdraw->firsty = sdraw->lasty = y; in swf_ShapeDrawerMoveTo()
133 if(sdraw->lasty < sdraw->bbox.ymin) sdraw->bbox.ymin = sdraw->lasty; in swf_ShapeDrawerLineTo()
135 if(sdraw->lasty > sdraw->bbox.ymax) sdraw->bbox.ymax = sdraw->lasty; in swf_ShapeDrawerLineTo()
140 swf_ShapeSetLine(sdraw->tag,sdraw->shape,x-sdraw->lastx,y-sdraw->lasty); in swf_ShapeDrawerLineTo()
142 sdraw->lasty = y; in swf_ShapeDrawerLineTo()
155 if(sdraw->lasty < sdraw->bbox.ymin) sdraw->bbox.ymin = sdraw->lasty; in swf_ShapeDrawerSplineTo()
157 if(sdraw->lasty > sdraw->bbox.ymax) sdraw->bbox.ymax = sdraw->lasty; in swf_ShapeDrawerSplineTo()
166 swf_ShapeSetCurve(sdraw->tag,sdraw->shape, tx-sdraw->lastx,ty-sdraw->lasty, x-tx,y-ty); in swf_ShapeDrawerSplineTo()
[all …]
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/examples/
H A Dfloor.asy10 static real lasty;
13 bool samebranch=first || lasty == y;
15 if(samebranch) lasty=x;
17 Close.push((x,lasty));
20 lasty=y;
/dports/math/asymptote/asymptote-2.67/examples/
H A Dfloor.asy10 static real lasty;
13 bool samebranch=first || lasty == y;
15 if(samebranch) lasty=x;
17 Close.push((x,lasty));
20 lasty=y;
/dports/games/90secondportraits/90-Second-Portraits-1.01b/
H A DCanvas.lua82 self.lasty = my
85 and self.lasty >= 0 and self.lasty < self.height then
90 self.lasty = my
97 and self.lasty >= 0 and self.lasty < self.height then
98 local radius = math.abs(my - self.lasty)
101 love.graphics.draw(self.splatter, self.lastx, self.lasty, rotation, scale, scale, 202, 152)
110 love.graphics.line(self.lastx, self.lasty, mx, my)
111 love.graphics.circle("fill", self.lastx, self.lasty, size/2, 32)
114 self.lastx, self.lasty = mx, my
162 love.graphics.draw(self.bucket_cursor, self.x+self.lastx, self.y+self.lasty, 0, 1, 1, 8, 8)
/dports/databases/jdb/jdb-1.14/
H A Ddb2dcliff124 my($lastx, $lasty, $thisx, $thisy);
128 my($lastx, $lasty, $thisx, $thisy) = @_;
130 @a[$STARTX, $STARTY, $ENDX, $ENDY] = ($lastx, $lasty, $thisx, $thisy);
131 @a[$RANGEX, $RANGEY] = ($thisx - $lastx, $thisy - $lasty);
150 if (defined($lastx) && defined($lasty)) {
151 $d[$n] = points_to_segment($lastx, $lasty, $thisx, $thisy);
153 if ($lastx > $thisx || $lasty > $thisy);
157 ($lastx, $lasty) = ($thisx, $thisy);
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java408 int lasty = ypoints[npoints - 1]; in contains() local
412 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
416 if (cury == lasty) { in contains()
434 if (cury < lasty) { in contains()
435 if (y < cury || y >= lasty) { in contains()
445 if (y < lasty || y >= cury) { in contains()
453 test2 = y - lasty; in contains()
456 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
469 int lasty = ypoints[npoints - 1]; in getCrossings() local
476 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/awt/
H A DPolygon.java404 int lasty = ypoints[npoints - 1]; in contains() local
408 for (int i = 0; i < npoints; lastx = curx, lasty = cury, i++) { in contains()
412 if (cury == lasty) { in contains()
430 if (cury < lasty) { in contains()
431 if (y < cury || y >= lasty) { in contains()
441 if (y < lasty || y >= cury) { in contains()
449 test2 = y - lasty; in contains()
452 if (test1 < (test2 / (lasty - cury) * (lastx - curx))) { in contains()
465 int lasty = ypoints[npoints - 1]; in getCrossings() local
472 if (cross.accumulateLine(lastx, lasty, curx, cury)) { in getCrossings()
[all …]
/dports/cad/jspice3/jspice3-2.5/src/lib/plot/
H A Dpostsc.c35 static int lastx ,lasty; variable
102 lasty = -1;
163 if (x1 == x2 && y1 == y2 && x1 == lastx && y1 == lasty)
176 if ((x1 != lastx) || (y1 != lasty) || !DEVDEP(currentgraph).strokecnt)
183 lasty = y2;
232 lasty = -1;
267 lasty = -1;
331 lasty = -1;
362 lasty = -1;
447 lasty = -1;
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/pqc/math/ntru/euclid/
H A DIntEuclidean.java27 int lasty = 0; in calculate() local
41 y = lasty - quotient * y; in calculate()
42 lasty = temp; in calculate()
47 result.y = lasty; in calculate()
/dports/lang/parrot/parrot-8.1.0/examples/nci/
H A Dxlibtest.rb41 lasty = 0
54 lasty = y
66 if x != lastx || y != lasty
67 window.DrawLine(lastx, lasty, x, y)
69 lasty = y
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/examples/rendering/
H A DRendering.cxx55 int lastx = -1, lasty = -1; variable
79 if (lastx != -1 && lasty != -1) in mouseMove()
82 vtkm::Float32 y1 = vtkm::Float32(lasty * 2) / vtkm::Float32(height) - 1.0f; in mouseMove()
98 lasty = y; in mouseMove()
115 lasty = -1; in mouseCall()
125 lastx = lasty = -1; in main()
/dports/math/z3/z3-z3-4.8.13/src/util/
H A Dext_gcd.h28 numeral lasty(0); in extended_gcd()
42 y = lasty - (quotient * y); in extended_gcd()
43 lasty = tmp; in extended_gcd()
47 y = lasty; in extended_gcd()
/dports/math/py-z3-solver/z3-z3-4.8.10/src/util/
H A Dext_gcd.h28 numeral lasty(0); in extended_gcd()
42 y = lasty - (quotient * y); in extended_gcd()
43 lasty = tmp; in extended_gcd()
47 y = lasty; in extended_gcd()
/dports/games/openomf/libShadowDive-b2c34a6/src/
H A Dsprite.c97 int lasty = 0; in sd_sprite_rgba_encode() local
131 if (y != lasty) { in sd_sprite_rgba_encode()
138 if (x != lastx+1 || y != lasty) { in sd_sprite_rgba_encode()
155 if (y != lasty || x != lastx+1) { in sd_sprite_rgba_encode()
167 } else if (lasty == 0 && x == 0) { in sd_sprite_rgba_encode()
172 lasty=y; in sd_sprite_rgba_encode()
352 int lasty = 0; in sd_sprite_vga_encode() local
384 if(y != lasty) { in sd_sprite_vga_encode()
389 if(x != lastx+1 || y != lasty) { in sd_sprite_vga_encode()
409 } else if(lasty == 0 && x == 0) { in sd_sprite_vga_encode()
[all …]

12345678910>>...38