macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

cacheDisplayInRect:toBitmapImageRep:

**

-(void)cacheDisplayInRect:(NSRect)rect:
         toBitmapImageRep:(NSBitmapImageRep *)bitmapImageRep:

解説

調査中...

返り値

( void )

なし

引数

( NSRect )rect
( NSBitmapImageRep * )bitmapImageRep

フレームワーク

ApplicationKit

クラス

NSView

Instance Methods

使用可能

10.4

参照

-bitmapImageRepForCachingDisplayInRect:

例文

NSView *view = [[NSView alloc] initWithFrame:NSMakeRect(0, 0, rect.size.width, rect.size.height)];
    [view cacheDisplayInRect:NSMakeRect(0, 0, rect.size.width, rect.size.height) toBitmapImageRep:finalContentBitmap];