Searched refs:y1 (Results 51 - 75 of 110) sorted by relevance

12345

/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp482 float x, y, x1, y1, x2, y2, rx, ry, angle; local
556 y1 = GetFloat(&ptr);
564 y1 = GetFloat(&ptr);
571 y1 += pos.y;
580 controlPoints[0].Set(x1, y1);
595 y1 = GetFloat(&ptr);
601 y1 = GetFloat(&ptr);
606 y1 += pos.y;
614 pos.y + 2.0f / 3.0f * (y1 - pos.y));
616 y1
[all...]
/haiku/headers/libs/agg/
H A Dagg_rasterizer_scanline_aa.h84 // vertices, i.e. move_to(x1, y1); line_to(x2, y2); line_to(x3, y3);
155 void clip_box(double x1, double y1, double x2, double y2);
183 void edge(int x1, int y1, int x2, int y2);
184 void edge_d(double x1, double y1, double x2, double y2);
340 void rasterizer_scanline_aa<Clip>::clip_box(double x1, double y1, argument
344 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1),
431 void rasterizer_scanline_aa<Clip>::edge(int x1, int y1, int x2, int y2) argument
434 m_clipper.move_to(conv_type::downscale(x1), conv_type::downscale(y1));
443 void rasterizer_scanline_aa<Clip>::edge_d(double x1, double y1, argument
447 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1));
[all...]
H A Dagg_trans_affine.h109 trans_affine(double x1, double y1, double x2, double y2, argument
112 rect_to_parl(x1, y1, x2, y2, parl);
117 double x1, double y1, double x2, double y2)
119 parl_to_rect(parl, x1, y1, x2, y2);
130 // pointers to arrays of three points (double[6], x1,y1,...) that
133 // to x1,y1, x2,y2, x3,y3 where the coordinates are:
137 // /(x1,y1) (x2,y2)/
142 const trans_affine& rect_to_parl(double x1, double y1,
147 double x1, double y1,
461 // x1,y1,x
116 trans_affine(const double* parl, double x1, double y1, double x2, double y2) argument
465 trans_affine_line_segment(double x1, double y1, double x2, double y2, double dist) argument
[all...]
H A Dagg_rasterizer_cells_aa.h70 void line(int x1, int y1, int x2, int y2);
102 void render_hline(int ey, int x1, int y1, int x2, int y2);
212 int x1, int y1,
224 if(y1 == y2)
233 delta = y2 - y1;
241 p = (poly_subpixel_scale - fx1) * (y2 - y1);
249 p = fx1 * (y2 - y1);
269 y1 += delta;
273 p = poly_subpixel_scale * (y2 - y1 + delta);
297 y1
211 render_hline(int ey, int x1, int y1, int x2, int y2) argument
316 line(int x1, int y1, int x2, int y2) argument
[all...]
H A Dagg_span_gouraud.h49 double x1, double y1,
56 triangle(x1, y1, x2, y2, x3, y3, d);
74 void triangle(double x1, double y1, argument
80 m_coord[0].y = m_y[0] = y1;
46 span_gouraud(const color_type& c1, const color_type& c2, const color_type& c3, double x1, double y1, double x2, double y2, double x3, double y3, double d) argument
H A Dagg_trans_perspective.h60 trans_perspective(double x1, double y1, double x2, double y2,
65 double x1, double y1, double x2, double y2);
72 // x1,y1, x2,y2, x3,y3, x4,y4
75 bool rect_to_quad(double x1, double y1,
80 double x1, double y1,
382 inline bool trans_perspective::rect_to_quad(double x1, double y1, argument
389 r[1] = r[3] = y1;
396 double x1, double y1,
402 r[1] = r[3] = y1;
408 inline trans_perspective::trans_perspective(double x1, double y1, argument
395 quad_to_rect(const double* q, double x1, double y1, double x2, double y2) argument
416 trans_perspective(const double* quad, double x1, double y1, double x2, double y2) argument
691 double y1 = 0.0; local
710 double y1 = 0.0; local
[all...]
H A Dagg_span_interpolator_linear.h63 int y1 = iround(ty * subpixel_scale); local
72 m_li_y = dda2_line_interpolator(y1, y2, len);
174 int y1 = iround(ty * subpixel_scale); local
181 m_li_y = dda2_line_interpolator(y1, iround(ty * subpixel_scale), len);
H A Dagg_rasterizer_compound_aa.h125 void clip_box(double x1, double y1, double x2, double y2);
137 void edge(int x1, int y1, int x2, int y2);
138 void edge_d(double x1, double y1, double x2, double y2);
318 void rasterizer_compound_aa<Clip>::clip_box(double x1, double y1, argument
322 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1),
407 void rasterizer_compound_aa<Clip>::edge(int x1, int y1, int x2, int y2) argument
410 m_clipper.move_to(conv_type::downscale(x1), conv_type::downscale(y1));
418 void rasterizer_compound_aa<Clip>::edge_d(double x1, double y1, argument
422 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1));
H A Dagg_path_storage_integer.h172 bounds.x1 = bounds.y1 = bounds.x2 = bounds.y2 = 0.0;
182 if(y < bounds.y1) bounds.y1 = y;
/haiku/src/system/libroot/os/arch/sparc/
H A Dfpu_div.c157 u_int r0, r1, r2, r3, d0, d1, d2, d3, y0, y1, y2, y3; local
207 FPU_SUBCS(d1, r1, y1); FPU_SUBC(d0, r0, y0)
244 y1 = y->fp_mant[1];
H A Dfpu_sqrt.c192 u_int y0, y1, y2, y3; local
293 y1 = 0;
307 t1 = y1 | bit;
313 y1 |= bit << 1;
320 /* calculate q2. note (y1&1)==0; y0 (aka t0) is fixed. */
321 #define t1 y1
334 y1 |= 1; /* now t1, y1 are set in concrete */
353 /* calculate q3. y0, t0, y1, t1 all fixed; y2, t2, almost done. */
/haiku/headers/os/add-ons/graphics/
H A DGraphicsCard.h95 int16 y1; member in struct:__anon8
104 int16 y1; member in struct:__anon9
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentLayout.h95 float& x1, float& y1,
99 float& x1, float& y1,
H A DTextDocumentLayout.cpp273 TextDocumentLayout::GetLineBounds(int32 lineIndex, float& x1, float& y1, argument
280 info.layout->GetLineBounds(lineIndex, x1, y1, x2, y2);
281 y1 += info.y;
287 y1 = 0.0f;
294 TextDocumentLayout::GetTextBounds(int32 textOffset, float& x1, float& y1, argument
300 info.layout->GetTextBounds(textOffset, x1, y1, x2, y2);
301 y1 += info.y;
307 y1 = 0.0f;
H A DTextEditor.cpp402 float y1; local
405 fLayout->GetLineBounds(lineIndex , x1, y1, x2, y2);
408 int32 textOffset = fLayout->TextOffsetAt(fCaretAnchorX, (y1 + y2) / 2,
451 float y1; local
455 fLayout->GetTextBounds(caret, x1, y1, x2, y2);
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp158 // Calculate (x1, y1)
161 double y1 = -sin_a * dx2 + cos_a * dy2; local
168 double py1 = y1 * y1;
187 double cx1 = coef * ((rx * y1) / ry);
201 double uy = (y1 - cy1) / ry;
203 double vy = (-y1 - cy1) / ry;
/haiku/src/servers/app/drawing/Painter/
H A Dagg_rasterizer_scanline_aa_subpix.h75 void clip_box(double x1, double y1, double x2, double y2);
103 void edge(int x1, int y1, int x2, int y2);
104 void edge_d(double x1, double y1, double x2, double y2);
378 void rasterizer_scanline_aa_subpix<Clip>::clip_box(double x1, double y1, argument
382 m_clipper.clip_box(3 * conv_type::downscale(x1), conv_type::upscale(y1),
469 void rasterizer_scanline_aa_subpix<Clip>::edge(int x1, int y1, int x2, int y2) argument
472 m_clipper.move_to(conv_type::downscale(x1), conv_type::downscale(y1));
481 void rasterizer_scanline_aa_subpix<Clip>::edge_d(double x1, double y1, argument
485 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1));
/haiku/src/kits/interface/
H A DAffineTransform.cpp601 double y1 = 0.0; local
604 Apply(&x1, &y1);
606 return atan2(y2 - y1, x2 - x1);
623 double y1 = 0.0; local
628 t.Apply(&x1, &y1);
633 *_sy = y2 - y1;
662 double y1 = 0.0; local
672 t.Apply(&x1, &y1);
676 double shearX = y2 - y1;
681 y1
[all...]
/haiku/src/add-ons/accelerants/ati/
H A Drage128_overlay.cpp116 int32 y1 = window->v_start; local
130 tmp = (y1 & 0x0000ffff) + 0x00018000;
142 OUTREG(R128_OV0_Y_X_START, x1 | y1 << 16);
/haiku/src/system/libroot/posix/musl/math/
H A Dj1.c12 /* j1(x), y1(x)
22 * y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
38 * Method -- y1(x):
39 * 1. screen out x<=0 cases: y1(0)=-inf, y1(x<0)=NaN
42 * y1(x) = 2/pi*(j1(x)*(ln(x/2)+Euler)-1/x-x/2+5/64*x^3-...)
43 * therefore y1(x)-2/pi*j1(x)*ln(x)-1/x is an odd function.
44 * We use the following function to approximate y1,
45 * y1(x) = x*U(z)/V(z) + (2/pi)*(j1(x)*ln(x)-1/x), z= x^2
49 * Note: For tiny x, 1/x dominate y1 an
65 common(uint32_t ix, double x, int y1, int sign) argument
152 double y1(double x) function
[all...]
H A Dj1f.c25 static float common(uint32_t ix, float x, int y1, int sign) argument
30 if (y1)
42 if (y1)
H A Djn.c18 * y0(0)=y1(0)=yn(n,0) = -inf with division by zero signal;
19 * y0(-ve)=y1(-ve)=yn(n,-ve) are NaN with invalid signal.
242 return sign ? -y1(x) : y1(x);
268 b = y1(x);
/haiku/src/apps/terminal/
H A DTermView.cpp526 TermView::_InvalidateTextRect(int32 x1, int32 y1, int32 x2, int32 y2) argument
529 BRect rect(x1 * fFontWidth, _LineOffset(y1),
1038 TermView::_DrawLinePart(float x1, float y1, Attributes attr, argument
1049 float y2 = y1 + fFontHeight;
1081 inView->FillRect(BRect(x1, y1, x2 - 1, y2 - 1));
1090 inView->MovePenTo(x1, y1 + fFontAscent + 1);
1091 inView->StrokeLine(BPoint(x1 , y1 + fFontAscent + 1),
1092 BPoint(x2 , y1 + fFontAscent + 1));
1095 inView->MovePenTo(x1, y1 + fFontAscent);
1096 inView->StrokeLine(BPoint(x1 , y1
1368 int32 y1 = _LineAt(updateRect.top); local
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.cpp22 point_line_distance(double x1, double y1, double x2, double y2, double x, argument
26 double dy = y2 - y1;
/haiku/src/preferences/screensaver/
H A DPreviewView.cpp48 scale2(int x1, int x2, int y1, int y2, BRect area) argument
50 return scale_direct(sampleX[x1], sampleX[x2], sampleY[y1], sampleY[y2],

Completed in 353 milliseconds

12345