用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
556 B

#pragma once
#include <interface/SRender-i.h>
#include <unknown/obj-ref-impl.hpp>
#include <core/SkPathMeasure.h>
namespace SOUI
{
class SPathMeasure_Skia : public TObjRefImpl<IPathMeasure>
{
public:
SPathMeasure_Skia(void);
~SPathMeasure_Skia(void);
virtual void setPath(IPath * path, bool forceClosed);
virtual float getLength();
virtual bool getPosTan(float distance, float pos[], float tan[]);
virtual bool getSegment(float startD, float stopD, IPath * dst, bool startWithMoveTo);
private:
SkPathMeasure m_pathMeasure;
};
}