CairoContext::copyPage
  cairo_copy_page
  Emits the current page
  
 
  Description
  Object oriented style (method):
   
   public void CairoContext::copyPage
    ( void
    )
  
  
   void cairo_copy_page
    ( CairoContext $context
   )
  
  
    This is a convenience function that simply calls  CairoSurface::copyPage
    on CairoContext’s target.
  
 
  
 
  Parameters
  
   
    - 
     context
- 
      
       A valid CairoContext object created with  CairoContext::__construct or
       cairo_create
       
 
 
  Return Values
  
   No value is returned.
  
  
 
  Examples
  
   
    Example #1 Object oriented style
    
<?php
$surface = new CairoImageSurface(CairoFormat::ARGB32, 50, 50);
$context = new CairoContext($surface);
$context->copyPage();
?>
      
    
  
  
   
    Example #2 Procedural style
    
<?php
$surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 50, 50);
$context = cairo_create($surface);
cairo_copy_page($context);
?>
      
    
  
  
 
  See Also
  
   
    -  CairoContext::showPage
-  CairoSurface::copyPage