Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 22 of 22) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgShape.cpp143 Result Shape::appendCircle(float cx, float cy, float rx, float ry) noexcept in appendCircle() argument
145 auto rxKappa = rx * PATH_KAPPA; in appendCircle()
149 pImpl->moveTo(cx + rx, cy); in appendCircle()
150 pImpl->cubicTo(cx + rx, cy + ryKappa, cx + rxKappa, cy + ry, cx, cy + ry); in appendCircle()
151 pImpl->cubicTo(cx - rxKappa, cy + ry, cx - rx, cy + ryKappa, cx - rx, cy); in appendCircle()
152 pImpl->cubicTo(cx - rx, cy - ryKappa, cx - rxKappa, cy - ry, cx, cy - ry); in appendCircle()
153 pImpl->cubicTo(cx + rxKappa, cy - ry, cx + rx, cy - ryKappa, cx + rx, cy); in appendCircle()
224 Result Shape::appendRect(float x, float y, float w, float h, float rx, float ry) noexcept in appendRect() argument
230 if (rx > halfW) rx = halfW; in appendRect()
234 if (rx == 0 && ry == 0) { in appendRect()
[all …]
DtvgSwFill.cpp53 auto rx = (x + 0.5f) * radial->a11 + (y + 0.5f) * radial->a12 + radial->a13 - radial->fx; in _calculateCoefficients() local
56 b = (radial->dr * radial->fr + rx * radial->dx + ry * radial->dy) * radial->invA; in _calculateCoefficients()
59 auto rr = rx * rx + ry * ry; in _calculateCoefficients()
60 auto deltaRr = 2.0f * (rx * radial->a11 + ry * radial->a21) * radial->invA; in _calculateCoefficients()
376 auto rx = (x + 0.5f) * radial->a11 + (y + 0.5f) * radial->a12 + radial->a13 - radial->fx; in fillRadial() local
381 …auto x0 = 0.5f * (rx * rx + ry * ry - radial->fr * radial->fr) / (radial->dr * radial->fr + rx * r… in fillRadial()
383 rx += radial->a11; in fillRadial()
388 …auto x0 = 0.5f * (rx * rx + ry * ry - radial->fr * radial->fr) / (radial->dr * radial->fr + rx * r… in fillRadial()
390 rx += radial->a11; in fillRadial()
421 auto rx = (x + 0.5f) * radial->a11 + (y + 0.5f) * radial->a12 + radial->a13 - radial->fx; in fillRadial() local
[all …]
DtvgSvgPath.cpp103 …mds, Array<Point>* pts, Point* cur, Point* curCtl, float x, float y, float rx, float ry, float ang… in _pathAppendArcTo() argument
129 rx = fabsf(rx); in _pathAppendArcTo()
141 rx2 = rx * rx; in _pathAppendArcTo()
150 rx *= lambdaRoot; in _pathAppendArcTo()
153 rx2 = rx * rx; in _pathAppendArcTo()
165 rx *= scale; in _pathAppendArcTo()
168 rx2 = rx * rx; in _pathAppendArcTo()
184 cxp = c * (rx * y1p / ry); in _pathAppendArcTo()
185 cyp = c * (-ry * x1p / rx); in _pathAppendArcTo()
200 at = tvg::atan2(((y1p - cyp) / ry), ((x1p - cxp) / rx)); in _pathAppendArcTo()
[all …]
DtvgLottieBuilder.cpp422 auto rx = r > halfW ? halfW : r; in _appendRect() local
424 auto hrx = rx * PATH_KAPPA; in _appendRect()
437 …ts[2] = {x + w, y + h - ry + hry}; points[3] = {x + w - rx + hrx, y + h}; points[4] = {x + w - rx,… in _appendRect()
438 points[5] = {x + rx, y + h}, //lineTo in _appendRect()
439 …points[6] = {x + rx - hrx, y + h}; points[7] = {x, y + h - ry + hry}; points[8] = {x, y + h - ry};… in _appendRect()
441 …points[10] = {x, y + ry - hry}; points[11] = {x + rx - hrx, y}; points[12] = {x + rx, y}; //cubicTo in _appendRect()
442 points[13] = {x + w - rx, y}; //lineTo in _appendRect()
443 …points[14] = {x + w - rx + hrx, y}; points[15] = {x + w, y + ry - hry}; points[16] = {x + w, y + r… in _appendRect()
451 …points[1] = {x + w, y + ry - hry}; points[2] = {x + w - rx + hrx, y}; points[3] = {x + w - rx, y};… in _appendRect()
452 points[4] = {x + rx, y}, //lineTo in _appendRect()
[all …]
DtvgLottieModifier.h58 bool modifyEllipse(float& rx, float& ry) const;
DtvgSvgLoaderCommon.h319 float rx; member
336 float rx; member
DtvgCapi.cpp315 …ult tvg_shape_append_rect(Tvg_Paint* paint, float x, float y, float w, float h, float rx, float ry) in tvg_shape_append_rect() argument
318 return (Tvg_Result) reinterpret_cast<Shape*>(paint)->appendRect(x, y, w, h, rx, ry); in tvg_shape_append_rect()
329 TVG_API Tvg_Result tvg_shape_append_circle(Tvg_Paint* paint, float cx, float cy, float rx, float ry) in tvg_shape_append_circle() argument
332 return (Tvg_Result) reinterpret_cast<Shape*>(paint)->appendCircle(cx, cy, rx, ry); in tvg_shape_append_circle()
Dthorvg_capi.h1198 …lt tvg_shape_append_rect(Tvg_Paint* paint, float x, float y, float w, float h, float rx, float ry);
1219 TVG_API Tvg_Result tvg_shape_append_circle(Tvg_Paint* paint, float cx, float cy, float rx, float ry…
Dthorvg.h942 Result appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0) noexcept;
959 Result appendCircle(float cx, float cy, float rx, float ry) noexcept;
DtvgLottieModifier.cpp393 bool LottieOffsetModifier::modifyEllipse(float& rx, float& ry) const in modifyEllipse() argument
395 rx += offset; in modifyEllipse()
DtvgSvgLoader.cpp1682 {"rx", SvgParserLengthType::Horizontal, sizeof("rx"), offsetof(SvgEllipseNode, rx)},
1810 {"rx", SvgParserLengthType::Horizontal, sizeof("rx"), offsetof(SvgRectNode, rx)},
1836 …if ((rect->rx >= FLOAT_EPSILON) && (rect->ry < FLOAT_EPSILON) && rect->hasRx && !rect->hasRy) rect… in _attrParseRectNode()
1837 …if ((rect->ry >= FLOAT_EPSILON) && (rect->rx < FLOAT_EPSILON) && !rect->hasRx && rect->hasRy) rect… in _attrParseRectNode()
3139 to->node.ellipse.rx = from->node.ellipse.rx; in _copyAttr()
3148 to->node.rect.rx = from->node.rect.rx; in _copyAttr()
3503 …if (node->node.ellipse.rx == 0 && node->node.ellipse.ry == 0) TVGLOG("SVG", "Inefficient elements … in _inefficientNodeCheck()
DtvgSwRaster.cpp269 auto rx = (size_t)(sx); in _interpUpScaler() local
271 auto rx2 = rx + 1; in _interpUpScaler()
276 auto dx = (sx > 0.0f) ? static_cast<uint8_t>((sx - rx) * 255.0f) : 0; in _interpUpScaler()
279 auto c1 = img[rx + ry * w]; in _interpUpScaler()
281 auto c3 = img[rx + ry2 * w]; in _interpUpScaler()
DtvgSvgSceneBuilder.cpp419 …shape->appendCircle(node->node.ellipse.cx, node->node.ellipse.cy, node->node.ellipse.rx, node->nod… in _recognizeShape()
446 …, node->node.rect.y, node->node.rect.w, node->node.rect.h, node->node.rect.rx, node->node.rect.ry); in _recognizeShape()
/lvgl-latest/src/draw/
Dlv_draw_vector.c237 void lv_vector_path_append_rect(lv_vector_path_t * path, const lv_area_t * rect, float rx, float ry) in lv_vector_path_append_rect() argument
247 if(rx > hw) rx = hw; in lv_vector_path_append_rect()
250 if(rx == 0 && ry == 0) { in lv_vector_path_append_rect()
261 else if(rx == hw && ry == hh) { in lv_vector_path_append_rect()
263 lv_vector_path_append_circle(path, &pt, rx, ry); in lv_vector_path_append_rect()
266 float hrx = rx * 0.5f; in lv_vector_path_append_rect()
270 pt.x = x + rx; in lv_vector_path_append_rect()
274 pt.x = x + w - rx; in lv_vector_path_append_rect()
278 pt.x = x + w - rx + hrx; in lv_vector_path_append_rect()
292 pt2.x = x + w - rx + hrx; in lv_vector_path_append_rect()
[all …]
Dlv_draw_vector.h190 void lv_vector_path_append_rect(lv_vector_path_t * path, const lv_area_t * rect, float rx, float ry…
199 void lv_vector_path_append_circle(lv_vector_path_t * path, const lv_fpoint_t * c, float rx, float r…
/lvgl-latest/libs/nema_gfx/include/
Dnema_vg.h159 float rx, float ry,
175 uint32_t nema_vg_draw_ellipse(float cx, float cy, float rx, float ry,
Dnema_vg_paint.h208 float rx, float ry,
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_path.c485 float rx, float ry) in lv_vg_lite_path_append_circle() argument
489 float rx_kappa = rx * PATH_KAPPA; in lv_vg_lite_path_append_circle()
493 lv_vg_lite_path_cubic_to(path, cx + rx_kappa, cy - ry, cx + rx, cy - ry_kappa, cx + rx, cy); in lv_vg_lite_path_append_circle()
494 lv_vg_lite_path_cubic_to(path, cx + rx, cy + ry_kappa, cx + rx_kappa, cy + ry, cx, cy + ry); in lv_vg_lite_path_append_circle()
495 lv_vg_lite_path_cubic_to(path, cx - rx_kappa, cy + ry, cx - rx, cy + ry_kappa, cx - rx, cy); in lv_vg_lite_path_append_circle()
496 lv_vg_lite_path_cubic_to(path, cx - rx, cy - ry_kappa, cx - rx_kappa, cy - ry, cx, cy - ry); in lv_vg_lite_path_append_circle()
Dlv_vg_lite_path.h115 float rx, float ry);
/lvgl-latest/src/libs/tjpgd/
Dtjpgd.c835 unsigned int ix, iy, mx, my, rx, ry; in jd_mcu_output() local
844 rx = (x + mx <= jd->width) ? mx : jd->width - in jd_mcu_output()
848 rx >>= jd->scale; in jd_mcu_output()
850 …if(!rx || !ry) return JDR_OK; /* Skip this MCU if all pixel is to be rounded off… in jd_mcu_output()
855 rect.right = x + rx - 1; /* Rectangular area in the frame buffer */ in jd_mcu_output()
895 if(rx < mx) { /* Is the MCU spans right edge? */ in jd_mcu_output()
901 for(xi = 0; xi < rx; xi++) { /* Copy effective pixels */ in jd_mcu_output()
908 s += (mx - rx) * (JD_FORMAT != 2 ? 3 : 1); /* Skip truncated pixels */ in jd_mcu_output()
916 unsigned int n = rx * ry; in jd_mcu_output()
/lvgl-latest/src/libs/svg/
Dlv_svg_render.c112 float rx; member
127 float rx; member
397 rect->rx = attr->value.fval; in _set_rect_attr()
434 ellipse->rx = attr->value.fval; in _set_ellipse_attr()
1283 if(rect->rx > 0 && rect->ry == 0) rect->ry = rect->rx; in _render_rect()
1284 else if(rect->ry > 0 && rect->rx == 0) rect->rx = rect->ry; in _render_rect()
1288 lv_vector_path_append_rect(path, &rc, rect->rx, rect->ry); in _render_rect()
1330 lv_vector_path_append_circle(path, &cp, ellipse->rx, ellipse->ry); in _render_ellipse()
1698 area->x1 = (int32_t)(ellipse->cx - ellipse->rx); in _get_ellipse_bounds()
1700 area->x2 = (int32_t)(ellipse->cx + ellipse->rx); in _get_ellipse_bounds()
/lvgl-latest/docs/details/integration/chip/
Drenesas.rst151 `here <https://llvm-gcc-renesas.com/rx-download-toolchains/>`__ after a registration.