lottie: fix some more warning.

Change-Id: I0b1fe8773ec1f795e7df603a35a02687697f3e00
This commit is contained in:
sub.mohanty@samsung.com 2018-07-28 17:08:32 +09:00
parent a5223736af
commit e6bce26b6e
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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};

View File

@ -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);