mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx
void fl_begin_offscreen(Fl_Offscreen ctx) {
  _ss = fl_surface; 
  fl_display_device->set_current();
  if (stack_ix<stack_max) {
    stack_gc[stack_ix] = fl_gc;
    stack_window[stack_ix] = fl_window;
  } else 
    fprintf(stderr, "FLTK CGContext Stack overflow error\n");
  stack_ix++;

  fl_gc = (CGContextRef)ctx;
  fl_window = 0;
  CGContextSaveGState(fl_gc);
  fl_push_no_clip();
}
/**  Send all subsequent drawing commands to this offscreen buffer.
 \param ctx     the offscreen buffer.
 */
Send all subsequent drawing commands to this offscreen buffer.
\param ctx     the offscreen buffer.
Send all subsequent drawing commands to this offscreen buffer . \ param ctx the offscreen buffer .
void fl_begin_offscreen(Fl_Offscreen ctx) {
  _ss = fl_surface; 
  fl_display_device->set_current();
  if (stack_ix<stack_max) {
    stack_gc[stack_ix] = fl_gc;
    stack_window[stack_ix] = fl_window;
  } else 
    fprintf(stderr, "FLTK CGContext Stack overflow error\n");
  stack_ix++;
  fl_gc = (CGContextRef)ctx;
  fl_window = 0;
  CGContextSaveGState(fl_gc);
  fl_push_no_clip();
}
void fl_begin_offscreen ( Fl_Offscreen ctx ) { _ss = fl_surface ; fl_display_device -> set_current ( ) ; if ( stack_ix < stack_max ) { stack_gc [ stack_ix ] = fl_gc ; stack_window [ stack_ix ] = fl_window ; } else fprintf ( stderr , " \n " ) ; stack_ix ++ ; fl_gc = ( CGContextRef ) ctx ; fl_window = 0 ; CGContextSaveGState ( fl_gc ) ; fl_push_no_clip ( ) ; }
Send all subsequent drawing commands to this offscreen buffer.
Send all subsequent drawing commands to this offscreen buffer .