![](//d33sqmjvzgs8hq.cloudfront.net/wp-
content/themes/oneqt/assets/images/cookie_small.png)

We bake cookies in your browser for a better experience. Using this site means
that you consent. [Read More](//qt.io/terms-conditions/)

Menu

  * [ Partners ](//qt.io/partners/)
  * [ Blog ](https://blog.qt.io/)

[ ](https://qt.io/)

  * [Download](https://qt.io/download/)
  * [Device Creation](https://www.qt.io/qt-for-device-creation/)
  * [Application Development](https://www.qt.io/application-development/)
  * [Services](https://www.qt.io/services/)
  * [Developers](https://www.qt.io/developers/)

  * [EN](https://qt.io/support/)
  * [RU](https://qt.io/ru/)
  * [ZH](https://qt.io/zh-hans/)

#

  * [Wiki](https://wiki.qt.io/)
  * [Documentation](https://doc.qt.io/)
  * [Forum](https://forum.qt.io/)
  * [Bug Reports](https://bugreports.qt.io/)
  * [Code Review](https://codereview.qt-project.org/)
  * [Resource Center](https://resources.qt.io/)
  * [Qt Extensions](https://marketplace.qt.io/)

# Qt Documentation

  * [Qt 5.12](index.html)
  * [Qt WebEngine](qtwebengine-index.html)
  * [Qt WebEngine Licensing](qtwebengine-licensing.html)
  * NSBezierPath additions from Sean Patrick O'Brien

# NSBezierPath additions from Sean Patrick O'Brien

[Project Homepage](http://www.seanpatrickobrien.com/journal/posts/3)

    
    
    Copyright 2008 MolokoCacao
    All rights reserved
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted providing that the following conditions
    are met:
    1. Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
    
    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
    IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGE.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the
copyrights of their respective owners. The documentation provided herein is
licensed under the terms of the [GNU Free Documentation License version
1.3](https://www.gnu.org/licenses/fdl.html) as published by the Free Software
Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in
Finland and/or other countries worldwide. All other trademarks are property of
their respective owners.

  * [Download](https://qt.io/download/)
    * [Start for Free](https://qt.io/download/)
    * [Qt for Application Development](https://qt.io/download-eval-for-applications-step-2/)
    * [Qt for Device Creation](https://qt.io/request-eval-for-devices-step-2/)
    * [Qt Open Source](https://qt.io/download-open-source/)
    * [Terms & Conditions](https://qt.io/terms-conditions/)
    * [Licensing FAQ](https://qt.io/FAQ/)
  * [Product](https://qt.io/product/)
    * [Qt in Use](https://qt.io/product/)
    * [Qt for Application Development](https://qt.io/application-development/)
    * [Qt for Device Creation](https://qt.io/qt-for-device-creation/)
    * [Commercial Features](https://qt.io/qt-features/)
    * [Qt Creator IDE](https://qt.io/ide/)
    * [Qt Quick](https://qt.io/qt-quick/)
  * [Services](https://qt.io/services/)
    * [Technology Evaluation](https://qt.io/services-technology-evaluation/)
    * [Proof of Concept](https://qt.io/services-proof-of-concept/)
    * [Design & Implementation](https://qt.io/services-design-implementation/)
    * [Productization](https://qt.io/services-productization/)
    * [Qt Training](https://qt.io/qt-training/)
    * [Partner Network](https://qt.io/partners/)
  * [Developers](https://qt.io/developers/)
    * [Qt Extensions](https://marketplace.qt.io/)
    * [Examples & Tutorials](https://doc.qt.io/qt-5/qtexamplesandtutorials.html)
    * [Development Tools](https://doc.qt.io/qt-5/topics-app-development.html)
    * [Wiki](https://wiki.qt.io/)
    * [Forums](https://forum.qt.io/)
    * [Contribute to Qt](https://wiki.qt.io/contribute)
  * [About us](https://qt.io/about-us/)
    * [Training & Events](https://qt.io/events/)
    * [Resource Center](https://qt.io/resource-center/)
    * [News](https://qt.io/news/)
    * [Careers](https://qt.io/careers/)
    * [Locations](https://qt.io/locations/)
    * [Contact Us](https://qt.io/contact-us)

[](https://qt.io/about-us/)

  * [Sign In](https://account.qt.io/login "Sign into your account.")
  * [Feedback](mailto:feedback@theqtcompany.com?Subject=Feedback%20about%20doc.qt.io%20site)
  * [Contact us](https://qt.io/contact-us/)
  * [© 2020 The Qt Company](https://qt.io/about-us/)

