Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 6 of 6) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgLottieCommon.h44 int32_t rgb[3]; member
85 return {lhs.rgb[0] - rhs.rgb[0], lhs.rgb[1] - rhs.rgb[1], lhs.rgb[2] - rhs.rgb[2]};
91 return {lhs.rgb[0] + rhs.rgb[0], lhs.rgb[1] + rhs.rgb[1], lhs.rgb[2] + rhs.rgb[2]};
97 …return {(int32_t)nearbyintf(lhs.rgb[0] * rhs), (int32_t)nearbyintf(lhs.rgb[1] * rhs), (int32_t)nea…
DtvgLottieExpressions.h93 out.rgb[0] = REMAP255(jerry_value_as_number(r)); in result()
94 out.rgb[1] = REMAP255(jerry_value_as_number(g)); in result()
95 out.rgb[2] = REMAP255(jerry_value_as_number(b)); in result()
DtvgLottieBuilder.cpp268 … ctx->propagator->stroke(color.rgb[0], color.rgb[1], color.rgb[2], stroke->opacity(frameNo, exps)); in updateSolidStroke()
293 ctx->propagator->fill(color.rgb[0], color.rgb[1], color.rgb[2], fill->opacity(frameNo, exps)); in updateSolidFill()
1056 shape->fill(doc.color.rgb[0], doc.color.rgb[1], doc.color.rgb[2]); in updateText()
1063 … shape->stroke(doc.stroke.color.rgb[0], doc.stroke.color.rgb[1], doc.stroke.color.rgb[2]); in updateText()
1092 … shape->fill(color.rgb[0], color.rgb[1], color.rgb[2], (*s)->style.fillOpacity(frameNo)); in updateText()
1097 …shape->stroke(strokeColor.rgb[0], strokeColor.rgb[1], strokeColor.rgb[2], (*s)->style.strokeOpacit… in updateText()
DtvgLottieModel.cpp451 solidFill->fill(color->rgb[0], color->rgb[1], color->rgb[2]); in prepare()
DtvgLottieParser.cpp106 color.rgb[0] = uint8_t(strtol(tmp, nullptr, 16)); in getColor()
110 color.rgb[1] = uint8_t(strtol(tmp, nullptr, 16)); in getColor()
114 color.rgb[2] = uint8_t(strtol(tmp, nullptr, 16)); in getColor()
345 if (i < 3) color.rgb[i++] = REMAP255(val); in getValue()
/lvgl-latest/scripts/
DLVGLImage.py635 rgb = self.data[offset:offset + self.stride]
638 multiply((rgb[i + 1] << 8) | rgb[i], a[i // 2])