ToolFoundation.h 588 B

1234567891011121314151617181920
  1. //
  2. // ToolFoundation.h
  3. // IntercontinentalHealth
  4. //
  5. // Created by zsj on 2018/5/11.
  6. // Copyright © 2018年 ITpower. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @interface ToolFoundation : NSObject
  11. CGRect CGRM(CGFloat x, CGFloat y, CGFloat width, CGFloat height);
  12. CGRect CGRM_PS(CGPoint origin, CGSize size);
  13. CGSize CGSM(CGFloat width, CGFloat height);
  14. CGSize CGSM_SOS(CGSize originSize, CGSize offSizeSize);
  15. CGPoint CGPM(CGFloat x, CGFloat y);
  16. CGPoint CGPM_POP(CGPoint originPoint, CGPoint offsetPoint);
  17. CGPoint centerOfSize(CGSize size);
  18. @end