[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about cacheDisplayInRect:toBitmapImageRep:
From: |
oren |
Subject: |
Question about cacheDisplayInRect:toBitmapImageRep: |
Date: |
Sat, 4 Apr 2009 14:31:08 -0700 (PDT) |
User-agent: |
G2/1.0 |
Hi,
I doubt the implementation of our cacheDisplayInRect:toBitmapImageRep:
but i don't have 10.4 to test.
It seems our implementation use [GSCurrentContext() GSReadRect: rect];
to copy the existing data into the provided bitmap argument but
shouldn't it invoke -display* over that bitmap? What if the view has
never been drawn?
Apple doc says "Draws the specified area of the receiver, and its
descendants, into a provided bitmap-representation object."
Thanks.
- Question about cacheDisplayInRect:toBitmapImageRep:,
oren <=