port to linear

diagrams-canvas remains specialized to Float, as is the blank-canvas
package.