exclude bottom right corner for coord reset in high touch pointer velocity condition

This commit is contained in:
True Zhuanjia
2024-07-16 20:56:06 +08:00
parent ef5c77d8df
commit c38dfc2c20
3 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -12,14 +12,14 @@
NS_ASSUME_NONNULL_BEGIN
@interface NativeTouchPointer : NSObject
@property (nonatomic, assign) bool boundaryReached;
@property (nonatomic, assign) bool needResetCoords;
+ (void)initContextWithView:(StreamView *)view;
+ (void)setPointerVelocityDivider:(CGFloat)dividerLocation;
+ (void)setPointerVelocityFactor:(CGFloat)velocityFactor;
+ (NativeTouchPointer* )getPointerObjFromDict:(UITouch*)touch;
- (bool)doesReachBoundary;
- (bool)doesNeedResetCoords;
+ (void)populatePointerObjIntoDict:(UITouch*)touch;
+ (void)removePointerObjFromDict:(UITouch*)touch;