RecordPicture
BPicture *picture = RecordPicture(func, frame);
BPicture *RecordPicture(draw_func* func, BRect frame);