경로 스트로킹
경로 스트로킹 예제는 QPainter 와 함께 사용할 수 있는 다양한 유형의 펜을 보여줍니다.
Qt는 끝점을 처리하는 방법에 대한 캡 스타일과 경로 세그먼트를 결합하는 방법에 대한 조인 스타일을 정의합니다. QPen 와 함께 사용할 수 있는 미리 정의된 대시 패턴의 표준 세트도 포함되어 있습니다.
QPen 에서 제공되는 사전 정의된 패턴 외에도 사용자 정의 대시 패턴을 정의하는 데 사용할 수 있는 QPainterPathStroker 클래스를 직접 사용하는 방법도 시연합니다. 사용자 지정 패턴 옵션을 활성화하면 이를 확인할 수 있습니다.
© 2025 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.