Searched refs:ry (Results 1 - 25 of 27) sorted by relevance

12

/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.h50 unsigned rx, unsigned ry) const;
54 unsigned rx, unsigned ry) const;
H A DStackBlurFilter.cpp151 int32 bpr, unsigned rx, unsigned ry) const
306 if (ry > 0) {
307 if (ry > 254)
308 ry = 254;
309 div = ry * 2 + 1;
310 mul_sum = stack_blur_tables<int>::g_stack_blur8_mul[ry];
311 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[ry];
330 for (i = 0; i <= ry; i++) {
345 for (i = 1; i <= ry; i++) {
348 stack_pix_ptr = &stack[i + ry];
[all...]
/haiku/headers/libs/agg/
H A Dagg_bezier_arc.h30 void arc_to_bezier(double cx, double cy, double rx, double ry,
45 double rx, double ry,
49 init(x, y, rx, ry, start_angle, sweep_angle);
54 double rx, double ry,
94 // orientation of the ellipse are defined by two radii (rx, ry)
108 double rx, double ry,
115 init(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2);
120 double rx, double ry,
44 bezier_arc(double x, double y, double rx, double ry, double start_angle, double sweep_angle) argument
107 bezier_arc_svg(double x1, double y1, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2) argument
H A Dagg_arc.h38 double rx, double ry,
43 double rx, double ry,
H A Dagg_ellipse_bresenham.h34 ellipse_bresenham_interpolator(int rx, int ry) : argument
36 m_ry2(ry * ry),
42 m_inc_y(-ry * m_two_rx2),
H A Dagg_ellipse.h37 ellipse(double x, double y, double rx, double ry, argument
39 m_x(x), m_y(y), m_rx(rx), m_ry(ry), m_scale(1.0),
45 void init(double x, double y, double rx, double ry,
66 inline void ellipse::init(double x, double y, double rx, double ry, argument
72 m_ry = ry;
H A Dagg_renderer_primitives.h82 void ellipse(int x, int y, int rx, int ry) argument
84 ellipse_bresenham_interpolator ei(rx, ry);
86 int dy = -ry;
101 void solid_ellipse(int x, int y, int rx, int ry) argument
103 ellipse_bresenham_interpolator ei(rx, ry);
105 int dy = -ry;
128 void outlined_ellipse(int x, int y, int rx, int ry) argument
130 ellipse_bresenham_interpolator ei(rx, ry);
132 int dy = -ry;
H A Dagg_span_image_filter.h218 AGG_INLINE void adjust_scale(int* rx, int* ry) argument
221 if(*ry < image_subpixel_scale) *ry = image_subpixel_scale;
226 if(*ry > image_subpixel_scale * m_scale_limit)
228 *ry = image_subpixel_scale * m_scale_limit;
231 *ry = (*ry * m_blur_y) >> image_subpixel_shift;
233 if(*ry < image_subpixel_scale) *ry = image_subpixel_scale;
H A Dagg_blur.h355 void stack_blur_gray8(Img& img, unsigned rx, unsigned ry) argument
447 if(ry > 0)
449 if(ry > 254) ry = 254;
450 div = ry * 2 + 1;
451 mul_sum = stack_blur_tables<int>::g_stack_blur8_mul[ry];
452 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[ry];
462 for(i = 0; i <= ry; i++)
468 for(i = 1; i <= ry; i++)
472 stack[i + ry]
520 stack_blur_rgb24(Img& img, unsigned rx, unsigned ry) argument
774 stack_blur_rgba32(Img& img, unsigned rx, unsigned ry) argument
[all...]
H A Dagg_rounded_rect.h40 void radius(double rx, double ry);
H A Dagg_path_storage.h635 void arc_to(double rx, double ry,
641 void arc_rel(double rx, double ry,
899 void path_base<VC>::arc_to(double rx, double ry, argument
913 ry = fabs(ry);
917 if(rx < epsilon || ry < epsilon)
929 bezier_arc_svg a(x0, y0, rx, ry, angle, large_arc_flag, sweep_flag, x, y);
947 void path_base<VC>::arc_rel(double rx, double ry, argument
954 arc_to(rx, ry, angle, large_arc_flag, sweep_flag, dx, dy);
H A Dagg_span_image_filter_gray.h674 int ry; local
678 base_type::interpolator().local_scale(&rx, &ry);
679 base_type::adjust_scale(&rx, &ry);
682 ry_inv = image_subpixel_scale * image_subpixel_scale / ry;
685 int radius_y = (diameter * ry) >> 1;
H A Dagg_span_image_filter_rgb.h806 int ry; local
810 base_type::interpolator().local_scale(&rx, &ry);
811 base_type::adjust_scale(&rx, &ry);
814 ry_inv = image_subpixel_scale * image_subpixel_scale / ry;
817 int radius_y = (diameter * ry) >> 1;
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp38 void arc_to_bezier(double cx, double cy, double rx, double ry, argument
64 curve[i * 2 + 1] = cy + ry * (px[i] * sn + py[i] * cs);
72 double rx, double ry,
85 m_vertices[1] = y + ry * sin(start_angle);
87 m_vertices[3] = y + ry * sin(start_angle + sweep_angle);
122 arc_to_bezier(x, y, rx, ry,
138 double rx, double ry,
147 if(ry < 0.0) ry = -rx;
166 double pry = ry * r
71 init(double x, double y, double rx, double ry, double start_angle, double sweep_angle) argument
137 init(double x0, double y0, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2) argument
[all...]
H A Dagg_arc.cpp28 double rx, double ry,
31 m_x(x), m_y(y), m_rx(rx), m_ry(ry), m_scale(1.0)
38 double rx, double ry,
43 m_rx = rx; m_ry = ry;
27 arc(double x, double y, double rx, double ry, double a1, double a2, bool ccw) argument
37 init(double x, double y, double rx, double ry, double a1, double a2, bool ccw) argument
H A Dagg_rounded_rect.cpp54 void rounded_rect::radius(double rx, double ry) argument
57 m_ry1 = m_ry2 = m_ry3 = m_ry4 = ry;
/haiku/src/apps/glteapot/
H A DGLObject.h49 void Spin(float rx, float ry);
50 void RotateWorldSpace(float rx, float ry);
H A DGLObject.cpp172 GLObject::Spin(float rx, float ry) argument
175 spinY = ry;
180 GLObject::RotateWorldSpace(float rx, float ry) argument
183 fRotation = Quaternion(Vector3(1.0f, 0.0f, 0.0f), 0.01f * ry) * fRotation;
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp482 float x, y, x1, y1, x2, y2, rx, ry, angle; local
633 ry = GetFloat(&ptr);
645 ry = GetFloat(&ptr);
662 if (rx == 0.0f || ry == 0.0f) {
670 if (ry < 0.0)
671 ry = -ry;
681 double root, numerator = rx * rx * ry * ry - rx * rx * y1dash * y1dash -
682 ry * r
1003 float ry = GetFloatAttribute(attributes, "ry"); local
[all...]
/haiku/headers/os/interface/
H A DShape.h34 virtual status_t IterateArcTo(float& rx, float& ry,
77 status_t ArcTo(float rx, float ry,
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h2070 float rx, ry, rotx; local
2081 ry = fabsf(args[1]); // x radius
2098 if (d < 1e-6f || rx < 1e-6f || ry < 1e-6f) {
2114 d = nsvg__sqr(x1p)/nsvg__sqr(rx) + nsvg__sqr(y1p)/nsvg__sqr(ry);
2118 ry *= d;
2122 sa = nsvg__sqr(rx)*nsvg__sqr(ry) - nsvg__sqr(rx)*nsvg__sqr(y1p) - nsvg__sqr(ry)*nsvg__sqr(x1p);
2123 sb = nsvg__sqr(rx)*nsvg__sqr(y1p) + nsvg__sqr(ry)*nsvg__sqr(x1p);
2129 cxp = s * rx * y1p / ry;
2130 cyp = s * -ry * x1
2322 float ry = -1.0f; local
2405 float ry = 0.0f; local
[all...]
/haiku/src/add-ons/screen_savers/nebula/
H A DNebula.cpp232 float rx, ry, rz; local
274 ry = gal[i].y;
277 mulvec(&mr, &rx, &ry, &rz);
280 ry += ob;
287 y = (int)(15 * ry/ (rz / 5 + 1)) + gHeight / 2;
/haiku/src/kits/interface/
H A DRegionSupport.cpp1576 int ry = prect->top;
1591 if (pbox->bottom <= ry)
1594 if (pbox->top > ry)
1599 ry = pbox->top; /* x guaranteed to be == prect->left */
1621 ry = pbox->bottom; /* finished with this band */
1622 if (ry >= prect->bottom)
1639 return(partIn ? ((ry < prect->bottom) ? RectanglePart : RectangleIn) :
H A DShape.cpp115 BShapeIterator::IterateArcTo(float& rx, float& ry, float& angle, bool largeArc, argument
445 BShape::ArcTo(float rx, float ry, float angle, bool largeArc, argument
482 data->ptList[data->ptCount++] = BPoint(rx, ry);
/haiku/src/tests/servers/app/shape_test/
H A Dmain.cpp93 virtual status_t IterateArcTo(float& rx, float& ry, float& angle, argument

Completed in 123 milliseconds

12