14#import <Foundation/Foundation.h>
15#import <UIKit/UIKit.h>
17NS_ASSUME_NONNULL_BEGIN
88 NSString *pszExtension);
NS_ASSUME_NONNULL_BEGIN UIImage *_Nullable LoadScaledPngImage(NSString *pszBaseName)
Loads a PNG from the bundle at the right Retina variant and tags it with the right scale.
Definition ImageLoading.m:59
UIImage *_Nullable CreateReflectedImage(UIImage *_Nullable image, int height)
Builds a vertically-flipped, gradient-faded reflection of an image.
NSString *_Nullable GetScaledResourcePath(NSString *pszBaseName, BOOL *pfScaled, float *pflScale, NSString *pszExtension)
Resolves a resource name to the bundle path of the variant this device should use.
Definition ImageLoading.m:154
UIImage *_Nullable LoadScaledEncryptedTexImage(NSString *pszBaseName)
The same job as LoadScaledPngImage, for the encrypted .tex assets.
Definition ImageLoading.m:233
NSData *_Nullable CreateResourceDataCipherKey(void)
The Blowfish key downloaded resource data is enciphered with.
Definition ImageLoading.m:264