| Unit: | SDL_chemgrph | | Class: | TChemGraph | | Declaration: | procedure ShowMoleculeInABox (Canvas: TCanvas; DispMode: TCGDispMode; llx,lly,urx,ury: integer; MaxBondLeng: integer); |
The method ShowMoleculeInABox displays the chemical structure on the canvas specified by Canvas. The structure is scaled such that it fits into the box specified by the parameters [llx/lly] (lower left corner), and [urx/ury] (upper right corner) and the maximum bond length given by MaxBondLeng is not exceeded. The parameter DispMode determines how the structure is displayed.
|