Fixed a line_join enum helper which was missing the recently added miter_or_bevel enumerator. Corrected surface::set_line_width and surface::set_miter_limit to enforce appropriate restrictions. Added line_join::miter_or_bevel test to the sample.