Canonical Divisor of a Smooth Plane Curve