You should just render the entire image twice (or 5 times) the size you want it, and use the width and height attributes on its image tags to scale it back to the size that was requested
Yes, this is what I was suggesting. Have diagram designer render everything double. Have the square size be 100x100, the pieces be 100x100, the border be double. Then scale the final image back down.
Yes, this is what I was suggesting. Have diagram designer render everything double. Have the square size be 100x100, the pieces be 100x100, the border be double. Then scale the final image back down.