KMOCTool.h 624 B

12345678910111213141516171819202122
  1. //
  2. // KMOCTool.h
  3. // PDF Reader Pro
  4. //
  5. // Created by liujiajie on 2023/11/15.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <CoreGraphics/CoreGraphics.h>
  9. #import <Cocoa/Cocoa.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface KMOCTool : NSObject
  12. +(void)createPDFFile:(NSString *)filePath imagePaths:(NSArray *)paths results:(NSArray *)resultsArray scale:(CGFloat)scale;
  13. +(NSData*)convertStringsToPDFWithString:(NSArray *)strings;
  14. +(CGRect)localCropRectForWindow:(CGWindowID)wNumber withBounds:(CGRect)bounds;
  15. +(NSAttributedString *)transformAttr:(NSAttributedString *)astring withString:(NSString *)str;
  16. @end
  17. NS_ASSUME_NONNULL_END