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

//
// SCManagedCaptureDeviceDefaultZoomHandler.h
// Snapchat
//
// Created by Yu-Kuan Lai on 4/12/17.
// Copyright © 2017 Snapchat, Inc. All rights reserved.
//
#import <SCBase/SCMacros.h>
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
@class SCManagedCaptureDevice;
@class SCCaptureResource;
@interface SCManagedCaptureDeviceDefaultZoomHandler : NSObject
SC_INIT_AND_NEW_UNAVAILABLE
- (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource;
- (void)setZoomFactor:(CGFloat)zoomFactor forDevice:(SCManagedCaptureDevice *)device immediately:(BOOL)immediately;
- (void)softwareZoomWithDevice:(SCManagedCaptureDevice *)device;
@end