What you are talking about is CAD/CAM software.
The Computer Aided Drafting software is what you use to generate the drawing. The Computer Aided Manufacturing software is what you use to generate the G-code from the drawing.
There is a lot of software available to do both. Many programs have both functions built in. They range in price from free to astronomical.
Google CAD software and CAM software. Fusion360 is a full featured, professional CAD/CAM package that is free to startups and hobbyists, but it has a bit of a learning curve. I personally like CamBam for quick jobs, it has limited drafting capability, but the CAM functions are easy to learn.