mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 06:34:01 +00:00
common: fix typos & remove unused var
This commit is contained in:
parent
5e9b07ea54
commit
f14be7c33b
3 changed files with 4 additions and 5 deletions
|
@ -1271,7 +1271,7 @@ static void _buildReference(LottieComposition* comp, LottieLayer* layer)
|
|||
}
|
||||
|
||||
|
||||
static void _bulidHierarchy(LottieGroup* parent, LottieLayer* child)
|
||||
static void _buildHierarchy(LottieGroup* parent, LottieLayer* child)
|
||||
{
|
||||
if (child->pidx == -1) return;
|
||||
|
||||
|
@ -1343,11 +1343,11 @@ static bool _buildComposition(LottieComposition* comp, LottieGroup* parent)
|
|||
|
||||
if (child->matteTarget) {
|
||||
//parenting
|
||||
_bulidHierarchy(parent, child->matteTarget);
|
||||
_buildHierarchy(parent, child->matteTarget);
|
||||
//precomp referencing
|
||||
if (child->matteTarget->rid) _buildReference(comp, child->matteTarget);
|
||||
}
|
||||
_bulidHierarchy(parent, child);
|
||||
_buildHierarchy(parent, child);
|
||||
|
||||
//attach the necessary font data
|
||||
if (child->type == LottieLayer::Text) _attachFont(comp, child);
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
//Marker Supports
|
||||
uint32_t markersCnt();
|
||||
const char* markers(uint32_t index);
|
||||
bool segment(const char* marker, float& beign, float& end);
|
||||
bool segment(const char* marker, float& begin, float& end);
|
||||
|
||||
private:
|
||||
bool header();
|
||||
|
|
|
@ -78,7 +78,6 @@ struct SwShapeTask : SwTask
|
|||
{
|
||||
SwShape shape;
|
||||
const RenderShape* rshape = nullptr;
|
||||
bool cmpStroking = false;
|
||||
bool clipper = false;
|
||||
|
||||
/* We assume that if the stroke width is greater than 2,
|
||||
|
|
Loading…
Add table
Reference in a new issue