/lvgl-latest/src/libs/thorvg/ |
D | tvgMath.h | 85 void rotate(Matrix* m, float degree); 86 bool inverse(const Matrix* m, Matrix* out); 87 bool identity(const Matrix* m); 88 Matrix operator*(const Matrix& lhs, const Matrix& rhs); 89 bool operator==(const Matrix& lhs, const Matrix& rhs); 91 static inline bool rightAngle(const Matrix& m) in rightAngle() 99 static inline bool skewed(const Matrix& m) in skewed() 105 static inline void identity(Matrix* m) in identity() 119 static inline void scale(Matrix* m, float sx, float sy) in scale() 126 static inline void scaleR(Matrix* m, float x, float y) in scaleR() [all …]
|
D | tvgPaint.h | 58 Matrix m; //input matrix 59 Matrix cm; //multipled parents matrix 111 bool transform(const Matrix& m) in transform() 120 Matrix& transform(bool origin = false) 175 …RenderData update(RenderMethod* renderer, const Matrix& pm, Array<RenderData>& clips, uint8_t opac…
|
D | tvgFill.h | 57 Matrix* transform = nullptr; 84 ret->pImpl->transform = static_cast<Matrix*>(malloc(sizeof(Matrix))); in duplicate()
|
D | tvgMath.cpp | 120 bool inverse(const Matrix* m, Matrix* out) in inverse() 143 bool identity(const Matrix* m) in identity() 154 void rotate(Matrix* m, float degree) in rotate() 169 Matrix operator*(const Matrix& lhs, const Matrix& rhs) in operator *() 171 Matrix m; in operator *() 189 bool operator==(const Matrix& lhs, const Matrix& rhs) in operator ==() 200 void operator*=(Point& pt, const Matrix& m) in operator *=() 209 Point operator*(const Point& pt, const Matrix& m) in operator *()
|
D | tvgSvgSceneBuilder.cpp | 44 …ata, SvgNode* node, Shape* shape, const Box& vBox, const string& svgPath, const Matrix* transform); 81 static void _transformMultiply(const Matrix* mBBox, Matrix* gradTransf) in _transformMultiply() 100 Matrix finalTransform = {1, 0, 0, 0, 1, 0, 0, 0, 1}; in _applyLinearGradientProperty() 109 Matrix m = {vBox.w, 0, vBox.x, 0, vBox.h, vBox.y, 0, 0, 1}; in _applyLinearGradientProperty() 155 Matrix finalTransform = {1, 0, 0, 0, 1, 0, 0, 0, 1}; in _applyRadialGradientProperty() 168 Matrix m = {vBox.w, 0, vBox.x, 0, vBox.h, vBox.y, 0, 0, 1}; in _applyRadialGradientProperty() 213 Matrix finalTransform = {1, 0, 0, 0, 1, 0, 0, 0, 1}; in _appendClipUseNode() 216 Matrix m = {1, 0, node->node.use.x, 0, 1, node->node.use.y, 0, 0, 1}; in _appendClipUseNode() 221 …return _appendClipShape(loaderData, child, shape, vBox, svgPath, identity((const Matrix*)(&finalTr… in _appendClipUseNode() 234 static Matrix _compositionTransform(Paint* paint, const SvgNode* node, const SvgNode* compNode, Svg… in _compositionTransform() [all …]
|
D | tvgSwRenderer.h | 42 …RenderData prepare(const RenderShape& rshape, RenderData data, const Matrix& transform, Array<Rend… 43 …RenderData prepare(RenderSurface* surface, RenderData data, const Matrix& transform, Array<RenderD… 86 …RenderData prepareCommon(SwTask* task, const Matrix& transform, const Array<RenderData>& clips, ui…
|
D | tvgSwShape.cpp | 54 static bool _outlineMoveTo(SwOutline& outline, const Point* to, const Matrix& transform, bool close… in _outlineMoveTo() 65 static void _outlineLineTo(SwOutline& outline, const Point* to, const Matrix& transform) in _outlineLineTo() 72 …Outline& outline, const Point* ctrl1, const Point* ctrl2, const Point* to, const Matrix& transform) in _outlineCubicTo() 104 static void _dashLineTo(SwDashStroke& dash, const Point* to, const Matrix& transform) in _dashLineTo() 165 …DashStroke& dash, const Point* ctrl1, const Point* ctrl2, const Point* to, const Matrix& transform) in _dashCubicTo() 226 static void _dashClose(SwDashStroke& dash, const Matrix& transform) in _dashClose() 329 static SwOutline* _genDashOutline(const RenderShape* rshape, const Matrix& transform, bool trimmed,… in _genDashOutline() 443 static bool _genOutline(SwShape* shape, const RenderShape* rshape, const Matrix& transform, SwMpool… in _genOutline() 499 bool shapePrepare(SwShape* shape, const RenderShape* rshape, const Matrix& transform, const SwBBox… in shapePrepare() 581 void shapeResetStroke(SwShape* shape, const RenderShape* rshape, const Matrix& transform) in shapeResetStroke() [all …]
|
D | tvgSwImage.cpp | 33 static inline bool _onlyShifted(const Matrix& m) in _onlyShifted() 40 static bool _genOutline(SwImage* image, const Matrix& transform, SwMpool* mpool, unsigned tid) in _genOutline() 78 bool imagePrepare(SwImage* image, const Matrix& transform, const SwBBox& clipRegion, SwBBox& render… in imagePrepare()
|
D | tvgFill.cpp | 138 Result Fill::transform(const Matrix& m) noexcept in transform() 141 pImpl->transform = static_cast<Matrix*>(malloc(sizeof(Matrix))); in transform() 148 Matrix Fill::transform() const noexcept in transform()
|
D | tvgSwCommon.h | 499 SwPoint mathTransform(const Point* to, const Matrix& transform); 504 bool shapePrepare(SwShape* shape, const RenderShape* rshape, const Matrix& transform, const SwBBox&… 508 void shapeResetStroke(SwShape* shape, const RenderShape* rshape, const Matrix& transform); 509 bool shapeGenStrokeRle(SwShape* shape, const RenderShape* rshape, const Matrix& transform, const Sw… 512 bool shapeGenFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface* surfa… 513 bool shapeGenStrokeFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface*… 519 void strokeReset(SwStroke* stroke, const RenderShape* shape, const Matrix& transform); 524 bool imagePrepare(SwImage* image, const Matrix& transform, const SwBBox& clipRegion, SwBBox& render… 530 bool fillGenColorTable(SwFill* fill, const Fill* fdata, const Matrix& transform, SwSurface* surface… 569 bool rasterImage(SwSurface* surface, SwImage* image, const Matrix& transform, const SwBBox& bbox, u…
|
D | tvgPaint.cpp | 47 static Result _clipRect(RenderMethod* renderer, const Point* pts, const Matrix& pm, const Matrix& r… in _clipRect() 79 static Result _compFastTrack(RenderMethod* renderer, Paint* cmpTarget, const Matrix& pm, RenderRegi… in _compFastTrack() 239 RenderData Paint::Impl::update(RenderMethod* renderer, const Matrix& pm, Array<RenderData>& clips, … in update() 422 Result Paint::transform(const Matrix& m) noexcept in transform() 429 Matrix Paint::transform() noexcept in transform()
|
D | tvgLottieBuilder.h | 41 Matrix transform; 61 Matrix* transform = nullptr;
|
D | tvgLottieExpressions.h | 118 …bool result(float frameNo, Array<PathCommand>& cmds, Array<Point>& pts, Matrix* transform, const L… in result() 163 …at, TVG_UNUSED Array<PathCommand>&, TVG_UNUSED Array<Point>&, TVG_UNUSED Matrix* transform, TVG_UN… in result()
|
D | tvgPicture.h | 94 …RenderData update(RenderMethod* renderer, const Matrix& transform, Array<RenderData>& clips, uint8… in update() 105 auto m = transform * Matrix{scale, 0, 0, 0, scale, 0, 0, 0, 1}; in update()
|
D | thorvg.h | 284 struct Matrix struct 350 Result transform(const Matrix& m) noexcept; 362 Matrix transform() noexcept; 535 Result transform(const Matrix& m) noexcept; 560 Matrix transform() const noexcept;
|
D | tvgLottieBuilder.cpp | 44 static void _rotationXYZ(Matrix* m, float degreeX, float degreeY, float degreeZ) in _rotationXYZ() 60 static void _rotationZ(Matrix* m, float degree) in _rotationZ() 71 static void _skew(Matrix* m, float angleDeg, float axisDeg) in _skew() 107 static bool _updateTransform(LottieTransform* transform, float frameNo, bool autoOrient, Matrix& ma… in _updateTransform() 167 if (!identity((const Matrix*) &parent->cache.matrix)) { in updateTransform() 168 if (identity((const Matrix*) &matrix)) layer->cache.matrix = parent->cache.matrix; in updateTransform() 184 if (!ctx->transform) ctx->transform = (Matrix*)malloc(sizeof(Matrix)); in updateTransform() 191 Matrix matrix; in updateTransform() 351 Matrix m; in _repeat() 359 Matrix inv; in _repeat() [all …]
|
D | tvgLottieModifier.h | 41 …ts, uint32_t inPtsCnt, Array<PathCommand>& outCmds, Array<Point>& outPts, Matrix* transform) const;
|
D | tvgSwRenderer.cpp | 48 Matrix transform; 642 Matrix m = {1, 0, 0, 0, 1, 0, 0, 0, 1}; in endComposite() 690 void* SwRenderer::prepareCommon(SwTask* task, const Matrix& transform, const Array<RenderData>& cli… in prepareCommon() 729 RenderData SwRenderer::prepare(RenderSurface* surface, RenderData data, const Matrix& transform, Ar… in prepare() 742 RenderData SwRenderer::prepare(const RenderShape& rshape, RenderData data, const Matrix& transform,… in prepare()
|
D | tvgSvgLoaderCommon.h | 454 Matrix* transform; 515 Matrix* transform;
|
D | tvgSwFill.cpp | 213 bool _prepareLinear(SwFill* fill, const LinearGradient* linear, const Matrix& transform) in _prepareLinear() 234 bool isTransformation = !identity((const Matrix*)(&gradTransform)); in _prepareLinear() 244 Matrix invTransform; in _prepareLinear() 258 bool _prepareRadial(SwFill* fill, const RadialGradient* radial, const Matrix& transform) in _prepareRadial() 301 bool isTransformation = !identity((const Matrix*)(&gradTransform)); in _prepareRadial() 310 Matrix invTransform; in _prepareRadial() 828 bool fillGenColorTable(SwFill* fill, const Fill* fdata, const Matrix& transform, SwSurface* surface… in fillGenColorTable()
|
D | tvgCanvas.h | 99 auto m = Matrix{1, 0, 0, 0, 1, 0, 0, 0, 1}; in update()
|
D | tvgSvgLoader.cpp | 780 Matrix, enumerator 801 MATRIX_DEF(matrix, MatrixState::Matrix), 813 static Matrix* _parseTransformationMatrix(const char* value) in _parseTransformationMatrix() 817 auto matrix = (Matrix*)malloc(sizeof(Matrix)); in _parseTransformationMatrix() 849 if (state == MatrixState::Matrix) { in _parseTransformationMatrix() 851 … Matrix tmp = {points[0], points[2], points[4], points[1], points[3], points[5], 0, 0, 1}; in _parseTransformationMatrix() 855 Matrix tmp = {1, 0, points[0], 0, 1, 0, 0, 0, 1}; in _parseTransformationMatrix() 858 Matrix tmp = {1, 0, points[0], 0, 1, points[1], 0, 0, 1}; in _parseTransformationMatrix() 868 Matrix tmp = { c, -s, 0, s, c, 0, 0, 0, 1 }; in _parseTransformationMatrix() 871 Matrix tmp = { 1, 0, points[1], 0, 1, points[2], 0, 0, 1 }; in _parseTransformationMatrix() [all …]
|
D | tvgRender.h | 315 …virtual RenderData prepare(const RenderShape& rshape, RenderData data, const Matrix& transform, Ar… 316 …virtual RenderData prepare(RenderSurface* surface, RenderData data, const Matrix& transform, Array…
|
/lvgl-latest/docs/details/widgets/ |
D | buttonmatrix.rst | 4 Button Matrix (lv_buttonmatrix) 11 The Button Matrix Widget is a lightweight way to display multiple 13 actually created but just virtually drawn on the fly. With Button Matrix, 18 New Button Matrix Widgets are added to the default group (if one is set). 19 Additionally, Button Matrix is an editable Widget: it allows selecting and clicking 28 - :cpp:enumerator:`LV_PART_MAIN` The background of the Button Matrix, uses the 99 To set and clear the same control attribute for all buttons in a Button Matrix, use 106 To set a control map for a Button Matrix (similar to `Button map`_), use 156 Note that long pressing the Button Matrix with an encoder can mean to 160 to the Button Matrix if used with an encoder. This disables the repeat feature so
|
D | keyboard.rst | 21 Similar to Button Matrix, the Keyboard Widget consist of 2 part: 81 Button Matrix's :ref:`button map` section for more information about
|