Searched refs:slope (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DParallelogramUtils.h57 #define PGRAM_INIT_X(starty, x, y, slope) \
58 (DblToLong((x) + (slope) * ((starty)+0.5 - (y))) + LongOneHalf - 1)
H A DDrawParallelogram.c50 jdouble slope; member in struct:__anon912
61 (pEDGE)->slope = (SLOPE); \
288 pLeft->slope);
291 pRight->slope);
/openjdk7/jdk/src/share/classes/java/awt/
H A DRadialGradientPaintContext.java324 * Equation of a line with slope m and y-intercept b:
342 // slope and y-intercept of the focus-perimeter line
343 double slope, yintcpt;
393 // slope and y-intercept of the focus-perimeter line
394 slope = (Y - focusY) / (X - focusX);
395 yintcpt = Y - (slope * X);
399 A = (slope * slope) + 1;
400 B = precalc3 + (-2 * slope * (centerY - yintcpt));
410 solutionY = (slope * solution
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcmsAdaptiveSizePolicy.hpp273 // These *slope() methods return the slope
285 return _remark_pause_old_estimator->slope();
289 return _initial_pause_old_estimator->slope();
293 return _remark_pause_young_estimator->slope();
297 return _initial_pause_young_estimator->slope();
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DadaptiveSizePolicy.hpp417 return _minor_pause_young_estimator->slope();
420 float minor_collection_slope() { return _minor_collection_estimator->slope();}
421 float major_collection_slope() { return _major_collection_estimator->slope();}
424 return _minor_pause_old_estimator->slope();
H A DgcUtil.hpp193 // y = intercept + slope * x
201 double _slope; // slope
211 double slope() { return _slope; } function in class:LinearLeastSquareFit
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgmt.c564 double h, slope; local
579 slope = Lab -> b / Lab -> a;
589 Lab -> b = amax * slope;
596 Lab -> a = bmax / slope;
602 Lab -> b = amin * slope;
609 Lab -> a = bmin / slope;
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsAdaptiveSizePolicy.hpp313 // Accessors for estimators. The slope of the linear fit is
327 float major_pause_old_slope() { return _major_pause_old_estimator->slope(); }
329 return _major_pause_young_estimator->slope();
331 float major_collection_slope() { return _major_collection_estimator->slope();}
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java1196 * of the array is the inverse slope (run/rise) of the caret, measured
1204 * @return a two-element array containing the position and slope of
1632 * This creates a line along the slope of the caret intersecting the
1643 double slope = info[1];
1657 if (slope >= 0) {
1666 y0 = pos + x0 * slope;
1667 y1 = pos + x1 * slope;
1673 if (slope <= 0 || y1 <= top) {
1680 x2 = x1 + (top-y1)/slope;
1687 if (slope >
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageScanPoly.c284 mlib_d64 x = dX1, slope = (dX2 - dX1) / (dY2 - dY1); local
304 x += slope * (y1 - dY1);
315 x += slope;
324 mlib_d64 x = dX1, slope = (dX2 - dX1) / (dY2 - dY1); local
344 x += slope * (y1 - dY1);
351 x += slope;
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DRenderer.java284 final float slope = (x2 - x1) / (y2 - y1);
286 if (slope > 0) { // <==> x1 < x2
298 edges[ptr+CURX] = x1 + (firstCrossing - y1) * slope;
299 edges[ptr+SLOPE] = slope;
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder3.java435 double slope = dYforT(t, 1);
436 if (slope == 0) {
440 double t2 = t + ((target - y) / slope);
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DCubicCurve2D.java1289 double slope = solveEqn(deriv, 2, t);
1291 double delta = - (y / slope);
1294 if (slope == 0 || y == 0 || t == newt) {
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DShapeSpanIterator.c974 jfloat dx, dy, slope; local
1016 slope = dx / dy;
1032 bumpx = (jint) floor(slope);
1034 bumperr = FRACTTOJINT(slope - floor(slope));

Completed in 290 milliseconds