Instance Method
scalesWhenResized
Returns a Boolean value indicating whether to scale image representations to fit the image's size.
SDK
- macOS 10.0–10.6Deprecated
Declaration
- (BOOL)scalesWhenResized;
Return Value
YES
if image representations are scaled to fit the receiver; otherwise, NO
. The default value is NO
.
Discussion
Images are not resized during drawing if this method returns YES
. They are only resized when you assign a new value to the size
property.
See Also
Deprecated Symbols
+ imageFileTypes
Returns an array of strings identifying the image types supported by the registered image representation objects.
Deprecated+ imageUnfilteredFileTypes
Returns an array of strings identifying the file types supported directly by the registered image representation objects.
Deprecated+ imagePasteboardTypes
Returns an array of strings identifying the pasteboard types supported directly by the registered image representation objects.
Deprecated+ imageUnfilteredPasteboardTypes
Returns an array of strings identifying the pasteboard types supported directly by the registered image representation objects.
Deprecated- setScalesWhenResized:
Sets whether to scale different-sized image representations to fit the image's size.
Deprecated- isDataRetained
Returns a Boolean value indicating whether the receiver retains its source image data.
Deprecated- setCachedSeparately:
Sets whether each image representation uses a separate offscreen window to cache its contents.
Deprecated- isCachedSeparately
Returns a Boolean value indicating whether each image representation caches its contents in a separate offscreen window.
Deprecated- cacheDepthMatchesImageDepth
Returns a Boolean value indicating whether an image's offscreen window caches use the same bit depth as the image data itself.
Deprecated- setFlipped:
Sets whether the polarity of the y axis is inverted when drawing an image.
Deprecated- isFlipped
Returns a Boolean value indicating whether the image uses a flipped coordinate system.
Deprecated