Package schrodinger :: Package application :: Package lid :: Package lid2d :: Module render
[hide private]
[frames] | no frames]

Module render

Functions [hide private]
 
save_pic_to_file(pic, filename, width, height)
Saves specified QPicture to specified file path, using the global model.
 
save_ct_in_2d_with_coords(ct3d, source_2d, line_info, bond_to_ring, parameters, dimensions=None, to_file=True, filename=None, return_bbx=False, debug_atoms_in_2d=False, show_h=0, draw_rects=False, all_flipped_bonds=None, no_wedges=False, rotation=None)
Variables [hide private]
  adaptor = canvas2d.ChmMmctAdaptor()
  render_model = canvas2d.ChmRender2DModel()
  renderer = canvas2d.Chm2DRenderer(render_model)
  stereo = 2
  blackColorMap = {5: 4278190080, 7: 4278190080, 8: 4278190080, ...
  whiteColorMap = {5: 4294967295, 7: 4294967295, 8: 4294967295, ...
  __package__ = 'schrodinger.application.lid.lid2d'
Function Details [hide private]

save_pic_to_file(pic, filename, width, height)

 

Saves specified QPicture to specified file path, using the global model.
    Used by generateReport() and exportToPng()


Variables Details [hide private]

blackColorMap

Value:
{5: 4278190080,
 7: 4278190080,
 8: 4278190080,
 9: 4278190080,
 13: 4278190080,
 14: 4278190080,
 15: 4278190080,
 16: 4278190080,
...

whiteColorMap

Value:
{5: 4294967295,
 7: 4294967295,
 8: 4294967295,
 9: 4294967295,
 13: 4294967295,
 14: 4294967295,
 15: 4294967295,
 16: 4294967295,
...