qt 6.5.1 original
44
tests/auto/gui/painting/qpainter/CMakeLists.txt
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## tst_qpainter Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
file(GLOB_RECURSE test_data_glob
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
drawEllipse/*)
|
||||
list(APPEND test_data ${test_data_glob})
|
||||
file(GLOB_RECURSE test_data_glob
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
drawLine_rop_bitmap/*)
|
||||
list(APPEND test_data ${test_data_glob})
|
||||
file(GLOB_RECURSE test_data_glob
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
drawPixmap_rop/*)
|
||||
list(APPEND test_data ${test_data_glob})
|
||||
file(GLOB_RECURSE test_data_glob
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
drawPixmap_rop_bitmap/*)
|
||||
list(APPEND test_data ${test_data_glob})
|
||||
list(APPEND test_data "task217400.png")
|
||||
|
||||
qt_internal_add_test(tst_qpainter
|
||||
SOURCES
|
||||
tst_qpainter.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_extend_target(tst_qpainter CONDITION TARGET Qt::Widgets
|
||||
LIBRARIES
|
||||
Qt::Widgets
|
||||
Qt::WidgetsPrivate
|
||||
)
|
BIN
tests/auto/gui/painting/qpainter/drawEllipse/10x10SizeAt0x0.png
Normal file
After Width: | Height: | Size: 243 B |
After Width: | Height: | Size: 245 B |
After Width: | Height: | Size: 195 B |
BIN
tests/auto/gui/painting/qpainter/drawEllipse/13x100SizeAt0x0.png
Normal file
After Width: | Height: | Size: 461 B |
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 619 B |
After Width: | Height: | Size: 195 B |
@ -0,0 +1,6 @@
|
||||
#define dst_width 8
|
||||
#define dst_height 8
|
||||
static char dst_bits[] = {
|
||||
0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0x00,0x00,0x00,0x30,0x00,0x30,0x00,
|
||||
0x11,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x10,0x00,0x00,
|
||||
0x00,0x11 };
|
@ -0,0 +1,6 @@
|
||||
#define res_AndNotROP_width 8
|
||||
#define res_AndNotROP_height 8
|
||||
static char res_AndNotROP_bits[] = {
|
||||
0xf0,0xf0,0xcc,0xcc,0xc0,0xc0,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_AndROP_width 8
|
||||
#define res_AndROP_height 8
|
||||
static char res_AndROP_bits[] = {
|
||||
0xf0,0xf0,0xf0,0xf0,0xc0,0xc0,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_ClearROP_width 8
|
||||
#define res_ClearROP_height 8
|
||||
static char res_ClearROP_bits[] = {
|
||||
0xf0,0xf0,0xc0,0xc0,0xc0,0xc0,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_CopyROP_width 8
|
||||
#define res_CopyROP_height 8
|
||||
static char res_CopyROP_bits[] = {
|
||||
0xf0,0xf0,0xfc,0xfc,0xc0,0xc0,0xf0,0xf0,0x00,0x00,0x00,0x35,0x00,0x5a,0x00,
|
||||
0x41,0x01,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0xc0,0x5b,0x2f,
|
||||
0x2b,0x50 };
|
@ -0,0 +1,6 @@
|
||||
#define res_NandROP_width 8
|
||||
#define res_NandROP_height 8
|
||||
static char res_NandROP_bits[] = {
|
||||
0xf0,0xf0,0xcc,0xcc,0xfc,0xfc,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
@ -0,0 +1,6 @@
|
||||
#define res_NopROP_width 8
|
||||
#define res_NopROP_height 8
|
||||
static char res_NopROP_bits[] = {
|
||||
0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_NorROP_width 8
|
||||
#define res_NorROP_height 8
|
||||
static char res_NorROP_bits[] = {
|
||||
0xf0,0xf0,0xc0,0xc0,0xcc,0xcc,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
@ -0,0 +1,6 @@
|
||||
#define res_NotAndROP_width 8
|
||||
#define res_NotAndROP_height 8
|
||||
static char res_NotAndROP_bits[] = {
|
||||
0xf0,0xf0,0xc0,0xc0,0xf0,0xf0,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_NotCopyROP_width 8
|
||||
#define res_NotCopyROP_height 8
|
||||
static char res_NotCopyROP_bits[] = {
|
||||
0xf0,0xf0,0xc0,0xc0,0xfc,0xfc,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_NotOrROP_width 8
|
||||
#define res_NotOrROP_height 8
|
||||
static char res_NotOrROP_bits[] = {
|
||||
0xf0,0xf0,0xf0,0xf0,0xfc,0xfc,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_NotROP_width 8
|
||||
#define res_NotROP_height 8
|
||||
static char res_NotROP_bits[] = {
|
||||
0xf0,0xf0,0xcc,0xcc,0xcc,0xcc,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
@ -0,0 +1,6 @@
|
||||
#define res_NotXorROP_width 8
|
||||
#define res_NotXorROP_height 8
|
||||
static char res_NotXorROP_bits[] = {
|
||||
0xf0,0xf0,0xf0,0xf0,0xcc,0xcc,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
@ -0,0 +1,6 @@
|
||||
#define res_OrNotROP_width 8
|
||||
#define res_OrNotROP_height 8
|
||||
static char res_OrNotROP_bits[] = {
|
||||
0xf0,0xf0,0xfc,0xfc,0xcc,0xcc,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
@ -0,0 +1,6 @@
|
||||
#define res_OrROP_width 8
|
||||
#define res_OrROP_height 8
|
||||
static char res_OrROP_bits[] = {
|
||||
0xf0,0xf0,0xfc,0xfc,0xf0,0xf0,0xf0,0xf0,0x00,0x00,0x00,0xff,0xff,0xff,0x7f,
|
||||
0xff,0xff,0xff,0x7f,0x50,0x00,0x00,0x00,0x09,0x02,0x00,0x00,0xff,0xff,0xff,
|
||||
0x7f,0xff };
|
@ -0,0 +1,6 @@
|
||||
#define res_SetROP_width 8
|
||||
#define res_SetROP_height 8
|
||||
static char res_SetROP_bits[] = {
|
||||
0xf0,0xf0,0xfc,0xfc,0xfc,0xfc,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
@ -0,0 +1,6 @@
|
||||
#define res_XorROP_width 8
|
||||
#define res_XorROP_height 8
|
||||
static char res_XorROP_bits[] = {
|
||||
0xf0,0xf0,0xcc,0xcc,0xf0,0xf0,0xf0,0xf0,0x00,0x00,0x00,0x62,0x00,0x6d,0x00,
|
||||
0x00,0xb5,0x7a,0x2b,0x50,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x55,0x53,
|
||||
0x59,0x3a };
|
BIN
tests/auto/gui/painting/qpainter/drawPixmap_rop/dst1.png
Normal file
After Width: | Height: | Size: 184 B |
BIN
tests/auto/gui/painting/qpainter/drawPixmap_rop/dst2.png
Normal file
After Width: | Height: | Size: 184 B |
BIN
tests/auto/gui/painting/qpainter/drawPixmap_rop/dst3.png
Normal file
After Width: | Height: | Size: 169 B |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 247 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 173 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 218 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 169 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 175 B |
After Width: | Height: | Size: 177 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 169 B |
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 242 B |
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 244 B |
After Width: | Height: | Size: 234 B |
After Width: | Height: | Size: 254 B |
After Width: | Height: | Size: 251 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 211 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 177 B |
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 168 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 167 B |