2014 snapchat source code
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.

25 lines
685 B

  1. //
  2. // SCManagedCaptureDeviceDefaultZoomHandler.h
  3. // Snapchat
  4. //
  5. // Created by Yu-Kuan Lai on 4/12/17.
  6. // Copyright © 2017 Snapchat, Inc. All rights reserved.
  7. //
  8. #import <SCBase/SCMacros.h>
  9. #import <CoreGraphics/CoreGraphics.h>
  10. #import <Foundation/Foundation.h>
  11. @class SCManagedCaptureDevice;
  12. @class SCCaptureResource;
  13. @interface SCManagedCaptureDeviceDefaultZoomHandler : NSObject
  14. SC_INIT_AND_NEW_UNAVAILABLE
  15. - (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource;
  16. - (void)setZoomFactor:(CGFloat)zoomFactor forDevice:(SCManagedCaptureDevice *)device immediately:(BOOL)immediately;
  17. - (void)softwareZoomWithDevice:(SCManagedCaptureDevice *)device;
  18. @end