地球を描画
円の描画は
Circle()
.fill(Color.blue)
.frame(width:200, height:200)
.offset(x: 0, y: -0)
地球の直径 earth.d
地球の位置 earth.x earth.y
描画スケール scale
がDoubleで与えられているとすると
Circle()
.fill(Color.blue)
.frame(width:CGFloat(earth.d * scale), height: CGFloat(earth.d * scale))
.offset(x: CGFloat(earth.x * Scale), y: CGFloat(earth.y * scale))
でいいはず。
縦は下がプラスなので、符号反転するほうがいいかも。