This%project%implements:%
%
Draw%Bezier%line%drawing%(curvedraw.cpp%line:%569-590)%and%B%Spline%line%drawing%
(curvedraw.cpp%line:%592-630).%%
%
Compile%and%run:%%
$qmake-qt5%CurveDrawing.pro%
$make%
$./%CurveDrawing.pro%
%
Before%running,%don’t%forget%to%open%the%curvedraw.cpp%file%and%find%these%lines:%
%
then,%change%the%address:%"/Your%Absolute%directory/CurveDrawing/controlpoints.txt"%to%your%
own%address.%For%example,%on%mac,%if%you%put%the%entire%file%under%Download%file,%then%you%
should%change%the%address%into%“/Users/jingli/Downloads/CurveDrawing/controlpoints.txt”.%
Both%inFile.open(“xx”),%xx%should%be%replaced%or%you%won’t%open%the%file.%%
%
Once%you%replaced%the%address,%you%should%be%able%to%run%it%and%see%such%interface:%
%
%