mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 14:02:48 +00:00
lottie: fix some more warning.
Change-Id: I0b1fe8773ec1f795e7df603a35a02687697f3e00
This commit is contained in:
parent
a5223736af
commit
e6bce26b6e
@ -205,6 +205,8 @@ VBitmap VBitmap::copy(const VRect& r) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//TODO implement properly.
|
//TODO implement properly.
|
||||||
|
return image;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int VBitmap::stride() const
|
int VBitmap::stride() const
|
||||||
|
|||||||
@ -58,7 +58,7 @@ public:
|
|||||||
bool fuzzyCompare(const VMatrix &) const;
|
bool fuzzyCompare(const VMatrix &) const;
|
||||||
friend std::ostream& operator<<(std::ostream& os, const VMatrix& o);
|
friend std::ostream& operator<<(std::ostream& os, const VMatrix& o);
|
||||||
private:
|
private:
|
||||||
friend class VSpanData;
|
friend struct VSpanData;
|
||||||
MatrixType mType{MatrixType::None};
|
MatrixType mType{MatrixType::None};
|
||||||
MatrixType dirty{MatrixType::None};
|
MatrixType dirty{MatrixType::None};
|
||||||
float m11{1}, m12{0}, m13{0};
|
float m11{1}, m12{0}, m13{0};
|
||||||
|
|||||||
@ -15,7 +15,6 @@ VPath VPathMesure::trim(const VPath &path)
|
|||||||
if (vCompare(startOffset, 0.0f) && (vCompare(endOffset, 1.0f))) return path;
|
if (vCompare(startOffset, 0.0f) && (vCompare(endOffset, 1.0f))) return path;
|
||||||
|
|
||||||
float len = path.length();
|
float len = path.length();
|
||||||
float len1 = len;
|
|
||||||
float sg = len * startOffset;
|
float sg = len * startOffset;
|
||||||
float eg = len * (1.0f - endOffset);
|
float eg = len * (1.0f - endOffset);
|
||||||
len = len - (sg + eg);
|
len = len - (sg + eg);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user