Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
site-packages
/
matplotlib
/
backends
/
File Content:
backend_mixed.pyo
� `�3Lc @ sJ d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( i����( t frombuffer( t RendererAgg( t process_figure_for_rasterizingt MixedModeRendererc B sD e Z d Z d d d � Z d j � Z d � Z d � Z d � Z RS( s& A helper class to implement a renderer that switches between vector and raster drawing. An example may be a PDF writer, where most things are drawn with PDF vector commands, but some very complex objects, such as quad meshes, are rasterised and then output as images. c C sw | d k r t } n | | _ | | _ | | _ | | _ | | _ d | _ d | _ | | _ | | _ | j | � d S( s figure: The figure instance. width: The width of the canvas in logical units height: The height of the canvas in logical units dpi: The dpi of the canvas vector_renderer: An instance of a subclass of RendererBase that will be used for the vector drawing. raster_renderer_class: The renderer class to use for the raster drawing. If not provided, this will use the Agg backend (which is currently the only viable option anyway.) i N( t NoneR t _raster_renderer_classt _widtht _heightt dpit _vector_renderert _raster_renderert _rasterizingt figuret _bbox_inches_restoret _set_current_renderer( t selfR t widtht heightR t vector_renderert raster_renderer_classt bbox_inches_restore( ( sT /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/backends/backend_mixed.pyt __init__ s s� close_group draw_image draw_markers draw_path draw_path_collection draw_quad_mesh draw_tex draw_text finalize flipy get_canvas_width_height get_image_magnification get_texmanager get_text_width_height_descent new_gc open_group option_image_nocomposite points_to_pixels strip_math start_filter stop_filter draw_gouraud_triangle draw_gouraud_triangles option_scale_image c C sd | | _ x<