rdkit.sping.tests.pidtest module — The RDKit 2016.09.1 documentation

# rdkit.sping.tests.pidtest module

piddletest.py

This module puts the various PIDDLE backends through their paces.

`rdkit.sping.tests.pidtest.` `CenterAndBox`(canvas, s, cx=200, y=40)

  tests string positioning, stringWidth, fontAscent, and fontDescent

`rdkit.sping.tests.pidtest.` `advanced`(canvasClass)

  A test of figures and images.

`rdkit.sping.tests.pidtest.` `basics`(canvasClass)

  A general test of most of the drawing primitives except images and strings.

`rdkit.sping.tests.pidtest.` `bluefunc`(x)

`rdkit.sping.tests.pidtest.` `drawAdvanced`(canvas)

`rdkit.sping.tests.pidtest.` `drawBasics`(canvas)

`rdkit.sping.tests.pidtest.` `drawMinimal`(canvas)

`rdkit.sping.tests.pidtest.` `drawRotstring`(canvas)

  Draws rotated strings.

`rdkit.sping.tests.pidtest.` `drawSpectrum`(canvas)

  Generates a spectrum plot; illustrates colors and useful application.

`rdkit.sping.tests.pidtest.` `drawStrings`(canvas)

  Checks font metrics, and also illustrates the standard fonts.

`rdkit.sping.tests.pidtest.` `greenfunc`(x)

`rdkit.sping.tests.pidtest.` `mainLoop`()

`rdkit.sping.tests.pidtest.` `minimal`(canvasClass)

  Just a very basic test of line drawing and canvas size.

`rdkit.sping.tests.pidtest.` `redfunc`(x)

`rdkit.sping.tests.pidtest.` `rotstring`(canvasClass)

`rdkit.sping.tests.pidtest.` `runtest`(backend, testfunc)

`rdkit.sping.tests.pidtest.` `spectrum`(canvasClass)

`rdkit.sping.tests.pidtest.` `strings`(canvasClass)

`rdkit.sping.tests.pidtest.` `tkTest`(testfunc)

`rdkit.sping.tests.pidtest.` `wxTest`(testfunc)