페인팅 예제

Qt의 페인팅 시스템은 앤티 앨리어싱을 사용하여 벡터 그래픽, 이미지, 윤곽선 글꼴 기반 텍스트를 서브 픽셀 정확도로 렌더링하여 렌더링 품질을 향상시킬 수 있습니다.

이 예제는 간단한 프리미티브 그리기와 같은 기본 개념부터 변환 사용까지 Qt로 페인팅할 때 사용되는 가장 일반적인 기법을 보여줍니다.

Affine Transformations

QPainter의 아핀 변환이 어떻게 작동하는지 보여줍니다.

Basic Drawing Example

기본 그리기 예제에서는 QPainter 클래스를 사용하여 기본 그래픽 프리미티브를 다양한 스타일로 표시하는 방법을 보여줍니다.

Composition Modes

QPainter에서 컴포지션 모드가 어떻게 작동하는지 보여줍니다.

Gradients

QPainter에서 그라디언트를 사용하는 방법을 보여줍니다.

Image Composition Example

QPainter에서 컴포지션 모드가 작동하는 방식을 보여줍니다.

Painter Paths Example

페인터 경로 예제에서는 페인터 경로를 사용하여 렌더링할 복잡한 모양을 만드는 방법을 보여줍니다.

Path Stroking

경로 스트로킹 예제에서는 QPainter와 함께 사용할 수 있는 다양한 유형의 펜을 보여줍니다.

Transformations Example

변형 예제에서는 QPainter가 그래픽 기본 요소를 렌더링하는 방식에 변형이 어떻게 영향을 미치는지 보여줍니다.

Vector Deformation

QPainterPath의 요소를 조작하는 방법을 보여줍니다.

© 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.