경로 그리기
'경로 획 그리기' 예제는 QPainter 와 함께 사용할 수 있는 다양한 종류의 펜을 보여줍니다.

Qt XML은 끝점을 처리하는 방식에 대한 캡 스타일과 경로 세그먼트를 연결하는 방식에 대한 조인 스타일을 정의합니다. 또한 ` QPen`와 함께 사용할 수 있는 표준 사전 정의 대시 패턴 세트도 포함되어 있습니다.
QPen 에서 사용할 수 있는 사전 정의된 패턴 외에도, 사용자 정의 대시 패턴을 정의하는 데 사용할 수 있는 QPainterPathStroker 클래스를 직접 사용하는 방법도 시연합니다. ‘사용자 정의 패턴(Custom Pattern )’ 옵션을 활성화하면 이를 확인할 수 있습니다.
© 2026 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 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.