agg: fixes bug when attaching a Image to TAgg2d doesn't draw lines.

I forgot to setup the internal dash generator in the TAgg2d constructor.
The AggCanvas did this automatically in the Canvas.BeginDraw() call, but
using TAdd2D via the .Attach(bitmap) didn't.
agg: removed the pointless casts. The x & y params are already PDouble's