From a63242c60539f39f49a66a453320fae197a45802 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 30 Jun 2020 09:53:31 +0200 Subject: Update docs to match what we ported to rhi Change-Id: Ic3a59aca725b149454f6b3f8eb16c25b528fd309 Reviewed-by: Andy Nichols --- src/effects/doc/images/Blend_bug_and_butterfly.png | Bin 125749 -> 0 bytes src/effects/doc/images/Blend_mode1.png | Bin 139179 -> 0 bytes src/effects/doc/images/Blend_mode10.png | Bin 145578 -> 0 bytes src/effects/doc/images/Blend_mode11.png | Bin 148982 -> 0 bytes src/effects/doc/images/Blend_mode12.png | Bin 145855 -> 0 bytes src/effects/doc/images/Blend_mode13.png | Bin 147901 -> 0 bytes src/effects/doc/images/Blend_mode14.png | Bin 148626 -> 0 bytes src/effects/doc/images/Blend_mode15.png | Bin 145787 -> 0 bytes src/effects/doc/images/Blend_mode16.png | Bin 152469 -> 0 bytes src/effects/doc/images/Blend_mode17.png | Bin 152450 -> 0 bytes src/effects/doc/images/Blend_mode18.png | Bin 144022 -> 0 bytes src/effects/doc/images/Blend_mode19.png | Bin 149328 -> 0 bytes src/effects/doc/images/Blend_mode2.png | Bin 148805 -> 0 bytes src/effects/doc/images/Blend_mode20.png | Bin 149488 -> 0 bytes src/effects/doc/images/Blend_mode21.png | Bin 145464 -> 0 bytes src/effects/doc/images/Blend_mode22.png | Bin 149514 -> 0 bytes src/effects/doc/images/Blend_mode3.png | Bin 147745 -> 0 bytes src/effects/doc/images/Blend_mode4.png | Bin 148132 -> 0 bytes src/effects/doc/images/Blend_mode5.png | Bin 139048 -> 0 bytes src/effects/doc/images/Blend_mode6.png | Bin 149569 -> 0 bytes src/effects/doc/images/Blend_mode7.png | Bin 144323 -> 0 bytes src/effects/doc/images/Blend_mode8.png | Bin 144640 -> 0 bytes src/effects/doc/images/Blend_mode9.png | Bin 152549 -> 0 bytes src/effects/doc/images/DirectionalBlur_angle1.png | Bin 79683 -> 0 bytes src/effects/doc/images/DirectionalBlur_angle2.png | Bin 87788 -> 0 bytes src/effects/doc/images/DirectionalBlur_angle3.png | Bin 75902 -> 0 bytes src/effects/doc/images/DirectionalBlur_bug.png | Bin 72262 -> 0 bytes src/effects/doc/images/DirectionalBlur_length1.png | Bin 137558 -> 0 bytes src/effects/doc/images/DirectionalBlur_length2.png | Bin 79683 -> 0 bytes src/effects/doc/images/DirectionalBlur_length3.png | Bin 79808 -> 0 bytes src/effects/doc/images/GaussianBlur_bug.png | Bin 85996 -> 0 bytes src/effects/doc/images/GaussianBlur_deviation1.png | Bin 107188 -> 0 bytes src/effects/doc/images/GaussianBlur_deviation2.png | Bin 89499 -> 0 bytes src/effects/doc/images/GaussianBlur_deviation3.png | Bin 73687 -> 0 bytes src/effects/doc/images/GaussianBlur_deviation4.png | Bin 87436 -> 0 bytes .../doc/images/GaussianBlur_deviation_graph.png | Bin 9282 -> 0 bytes src/effects/doc/images/GaussianBlur_radius1.png | Bin 134530 -> 0 bytes src/effects/doc/images/GaussianBlur_radius2.png | Bin 89842 -> 0 bytes src/effects/doc/images/GaussianBlur_radius3.png | Bin 79245 -> 0 bytes .../doc/images/GaussianBlur_transparentBorder1.png | Bin 81884 -> 0 bytes .../doc/images/GaussianBlur_transparentBorder2.png | Bin 83768 -> 0 bytes src/effects/doc/images/InnerShadow_butterfly.png | Bin 24735 -> 0 bytes src/effects/doc/images/InnerShadow_color1.png | Bin 26631 -> 0 bytes src/effects/doc/images/InnerShadow_color2.png | Bin 26207 -> 0 bytes src/effects/doc/images/InnerShadow_color3.png | Bin 26885 -> 0 bytes src/effects/doc/images/InnerShadow_fast1.png | Bin 24516 -> 0 bytes src/effects/doc/images/InnerShadow_fast2.png | Bin 25208 -> 0 bytes .../doc/images/InnerShadow_horizontalOffset1.png | Bin 24297 -> 0 bytes .../doc/images/InnerShadow_horizontalOffset2.png | Bin 24175 -> 0 bytes .../doc/images/InnerShadow_horizontalOffset3.png | Bin 22163 -> 0 bytes src/effects/doc/images/InnerShadow_radius1.png | Bin 21336 -> 0 bytes src/effects/doc/images/InnerShadow_radius2.png | Bin 23283 -> 0 bytes src/effects/doc/images/InnerShadow_radius3.png | Bin 24046 -> 0 bytes src/effects/doc/images/InnerShadow_spread1.png | Bin 24175 -> 0 bytes src/effects/doc/images/InnerShadow_spread2.png | Bin 24662 -> 0 bytes src/effects/doc/images/InnerShadow_spread3.png | Bin 24982 -> 0 bytes src/effects/doc/images/MaskedBlur_bug.png | Bin 102774 -> 0 bytes src/effects/doc/images/MaskedBlur_fast1.png | Bin 108064 -> 0 bytes src/effects/doc/images/MaskedBlur_fast2.png | Bin 103333 -> 0 bytes src/effects/doc/images/MaskedBlur_mask.png | Bin 1451 -> 0 bytes src/effects/doc/images/MaskedBlur_radius1.png | Bin 125113 -> 0 bytes src/effects/doc/images/MaskedBlur_radius2.png | Bin 113732 -> 0 bytes src/effects/doc/images/MaskedBlur_radius3.png | Bin 108064 -> 0 bytes src/effects/doc/images/RadialBlur_angle1.png | Bin 137558 -> 0 bytes src/effects/doc/images/RadialBlur_angle2.png | Bin 87855 -> 0 bytes src/effects/doc/images/RadialBlur_angle3.png | Bin 86202 -> 0 bytes src/effects/doc/images/RadialBlur_bug.png | Bin 80827 -> 0 bytes .../doc/images/RadialBlur_horizontalOffset1.png | Bin 85352 -> 0 bytes .../doc/images/RadialBlur_horizontalOffset2.png | Bin 86066 -> 0 bytes .../doc/images/RadialBlur_horizontalOffset3.png | Bin 87679 -> 0 bytes src/effects/doc/images/RecursiveBlur_bug.png | Bin 55817 -> 0 bytes src/effects/doc/images/RecursiveBlur_loops1.png | Bin 60476 -> 0 bytes src/effects/doc/images/RecursiveBlur_loops2.png | Bin 47842 -> 0 bytes src/effects/doc/images/RecursiveBlur_loops3.png | Bin 39517 -> 0 bytes src/effects/doc/images/RecursiveBlur_radius1.png | Bin 67613 -> 0 bytes src/effects/doc/images/RecursiveBlur_radius2.png | Bin 54404 -> 0 bytes src/effects/doc/images/RecursiveBlur_radius3.png | Bin 48067 -> 0 bytes .../images/RecursiveBlur_transparentBorder1.png | Bin 48067 -> 0 bytes .../images/RecursiveBlur_transparentBorder2.png | Bin 58601 -> 0 bytes src/effects/doc/images/ZoomBlur_bug.png | Bin 80077 -> 0 bytes .../doc/images/ZoomBlur_horizontalOffset1.png | Bin 90009 -> 0 bytes .../doc/images/ZoomBlur_horizontalOffset2.png | Bin 88471 -> 0 bytes .../doc/images/ZoomBlur_horizontalOffset3.png | Bin 88680 -> 0 bytes src/effects/doc/images/ZoomBlur_length1.png | Bin 137558 -> 0 bytes src/effects/doc/images/ZoomBlur_length2.png | Bin 88471 -> 0 bytes src/effects/doc/images/ZoomBlur_length3.png | Bin 84765 -> 0 bytes src/effects/doc/snippets/Blend-example.qml | 85 -------------------- .../doc/snippets/DirectionalBlur-example.qml | 75 ------------------ src/effects/doc/snippets/DropShadow-example.qml | 1 - src/effects/doc/snippets/FastBlur-example.qml | 2 + src/effects/doc/snippets/GaussianBlur-example.qml | 74 ------------------ src/effects/doc/snippets/Glow-example.qml | 1 - src/effects/doc/snippets/InnerShadow-example.qml | 81 ------------------- src/effects/doc/snippets/MaskedBlur-example.qml | 87 --------------------- src/effects/doc/snippets/RadialBlur-example.qml | 74 ------------------ src/effects/doc/snippets/RecursiveBlur-example.qml | 74 ------------------ src/effects/doc/snippets/ZoomBlur-example.qml | 74 ------------------ src/effects/doc/src/overview-graphicaleffects.qdoc | 8 +- src/effects/doc/src/qtgraphicaleffects.qdoc | 19 ++--- 99 files changed, 10 insertions(+), 645 deletions(-) delete mode 100644 src/effects/doc/images/Blend_bug_and_butterfly.png delete mode 100644 src/effects/doc/images/Blend_mode1.png delete mode 100644 src/effects/doc/images/Blend_mode10.png delete mode 100644 src/effects/doc/images/Blend_mode11.png delete mode 100644 src/effects/doc/images/Blend_mode12.png delete mode 100644 src/effects/doc/images/Blend_mode13.png delete mode 100644 src/effects/doc/images/Blend_mode14.png delete mode 100644 src/effects/doc/images/Blend_mode15.png delete mode 100644 src/effects/doc/images/Blend_mode16.png delete mode 100644 src/effects/doc/images/Blend_mode17.png delete mode 100644 src/effects/doc/images/Blend_mode18.png delete mode 100644 src/effects/doc/images/Blend_mode19.png delete mode 100644 src/effects/doc/images/Blend_mode2.png delete mode 100644 src/effects/doc/images/Blend_mode20.png delete mode 100644 src/effects/doc/images/Blend_mode21.png delete mode 100644 src/effects/doc/images/Blend_mode22.png delete mode 100644 src/effects/doc/images/Blend_mode3.png delete mode 100644 src/effects/doc/images/Blend_mode4.png delete mode 100644 src/effects/doc/images/Blend_mode5.png delete mode 100644 src/effects/doc/images/Blend_mode6.png delete mode 100644 src/effects/doc/images/Blend_mode7.png delete mode 100644 src/effects/doc/images/Blend_mode8.png delete mode 100644 src/effects/doc/images/Blend_mode9.png delete mode 100644 src/effects/doc/images/DirectionalBlur_angle1.png delete mode 100644 src/effects/doc/images/DirectionalBlur_angle2.png delete mode 100644 src/effects/doc/images/DirectionalBlur_angle3.png delete mode 100644 src/effects/doc/images/DirectionalBlur_bug.png delete mode 100644 src/effects/doc/images/DirectionalBlur_length1.png delete mode 100644 src/effects/doc/images/DirectionalBlur_length2.png delete mode 100644 src/effects/doc/images/DirectionalBlur_length3.png delete mode 100644 src/effects/doc/images/GaussianBlur_bug.png delete mode 100644 src/effects/doc/images/GaussianBlur_deviation1.png delete mode 100644 src/effects/doc/images/GaussianBlur_deviation2.png delete mode 100644 src/effects/doc/images/GaussianBlur_deviation3.png delete mode 100644 src/effects/doc/images/GaussianBlur_deviation4.png delete mode 100644 src/effects/doc/images/GaussianBlur_deviation_graph.png delete mode 100644 src/effects/doc/images/GaussianBlur_radius1.png delete mode 100644 src/effects/doc/images/GaussianBlur_radius2.png delete mode 100644 src/effects/doc/images/GaussianBlur_radius3.png delete mode 100644 src/effects/doc/images/GaussianBlur_transparentBorder1.png delete mode 100644 src/effects/doc/images/GaussianBlur_transparentBorder2.png delete mode 100644 src/effects/doc/images/InnerShadow_butterfly.png delete mode 100644 src/effects/doc/images/InnerShadow_color1.png delete mode 100644 src/effects/doc/images/InnerShadow_color2.png delete mode 100644 src/effects/doc/images/InnerShadow_color3.png delete mode 100644 src/effects/doc/images/InnerShadow_fast1.png delete mode 100644 src/effects/doc/images/InnerShadow_fast2.png delete mode 100644 src/effects/doc/images/InnerShadow_horizontalOffset1.png delete mode 100644 src/effects/doc/images/InnerShadow_horizontalOffset2.png delete mode 100644 src/effects/doc/images/InnerShadow_horizontalOffset3.png delete mode 100644 src/effects/doc/images/InnerShadow_radius1.png delete mode 100644 src/effects/doc/images/InnerShadow_radius2.png delete mode 100644 src/effects/doc/images/InnerShadow_radius3.png delete mode 100644 src/effects/doc/images/InnerShadow_spread1.png delete mode 100644 src/effects/doc/images/InnerShadow_spread2.png delete mode 100644 src/effects/doc/images/InnerShadow_spread3.png delete mode 100644 src/effects/doc/images/MaskedBlur_bug.png delete mode 100644 src/effects/doc/images/MaskedBlur_fast1.png delete mode 100644 src/effects/doc/images/MaskedBlur_fast2.png delete mode 100644 src/effects/doc/images/MaskedBlur_mask.png delete mode 100644 src/effects/doc/images/MaskedBlur_radius1.png delete mode 100644 src/effects/doc/images/MaskedBlur_radius2.png delete mode 100644 src/effects/doc/images/MaskedBlur_radius3.png delete mode 100644 src/effects/doc/images/RadialBlur_angle1.png delete mode 100644 src/effects/doc/images/RadialBlur_angle2.png delete mode 100644 src/effects/doc/images/RadialBlur_angle3.png delete mode 100644 src/effects/doc/images/RadialBlur_bug.png delete mode 100644 src/effects/doc/images/RadialBlur_horizontalOffset1.png delete mode 100644 src/effects/doc/images/RadialBlur_horizontalOffset2.png delete mode 100644 src/effects/doc/images/RadialBlur_horizontalOffset3.png delete mode 100644 src/effects/doc/images/RecursiveBlur_bug.png delete mode 100644 src/effects/doc/images/RecursiveBlur_loops1.png delete mode 100644 src/effects/doc/images/RecursiveBlur_loops2.png delete mode 100644 src/effects/doc/images/RecursiveBlur_loops3.png delete mode 100644 src/effects/doc/images/RecursiveBlur_radius1.png delete mode 100644 src/effects/doc/images/RecursiveBlur_radius2.png delete mode 100644 src/effects/doc/images/RecursiveBlur_radius3.png delete mode 100644 src/effects/doc/images/RecursiveBlur_transparentBorder1.png delete mode 100644 src/effects/doc/images/RecursiveBlur_transparentBorder2.png delete mode 100644 src/effects/doc/images/ZoomBlur_bug.png delete mode 100644 src/effects/doc/images/ZoomBlur_horizontalOffset1.png delete mode 100644 src/effects/doc/images/ZoomBlur_horizontalOffset2.png delete mode 100644 src/effects/doc/images/ZoomBlur_horizontalOffset3.png delete mode 100644 src/effects/doc/images/ZoomBlur_length1.png delete mode 100644 src/effects/doc/images/ZoomBlur_length2.png delete mode 100644 src/effects/doc/images/ZoomBlur_length3.png delete mode 100644 src/effects/doc/snippets/Blend-example.qml delete mode 100644 src/effects/doc/snippets/DirectionalBlur-example.qml delete mode 100644 src/effects/doc/snippets/GaussianBlur-example.qml delete mode 100644 src/effects/doc/snippets/InnerShadow-example.qml delete mode 100644 src/effects/doc/snippets/MaskedBlur-example.qml delete mode 100644 src/effects/doc/snippets/RadialBlur-example.qml delete mode 100644 src/effects/doc/snippets/RecursiveBlur-example.qml delete mode 100644 src/effects/doc/snippets/ZoomBlur-example.qml diff --git a/src/effects/doc/images/Blend_bug_and_butterfly.png b/src/effects/doc/images/Blend_bug_and_butterfly.png deleted file mode 100644 index e7c6f79..0000000 Binary files a/src/effects/doc/images/Blend_bug_and_butterfly.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode1.png b/src/effects/doc/images/Blend_mode1.png deleted file mode 100644 index 4ac773d..0000000 Binary files a/src/effects/doc/images/Blend_mode1.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode10.png b/src/effects/doc/images/Blend_mode10.png deleted file mode 100644 index 282725b..0000000 Binary files a/src/effects/doc/images/Blend_mode10.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode11.png b/src/effects/doc/images/Blend_mode11.png deleted file mode 100644 index e4e0db6..0000000 Binary files a/src/effects/doc/images/Blend_mode11.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode12.png b/src/effects/doc/images/Blend_mode12.png deleted file mode 100644 index 0f9c98a..0000000 Binary files a/src/effects/doc/images/Blend_mode12.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode13.png b/src/effects/doc/images/Blend_mode13.png deleted file mode 100644 index ac2567c..0000000 Binary files a/src/effects/doc/images/Blend_mode13.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode14.png b/src/effects/doc/images/Blend_mode14.png deleted file mode 100644 index cea329b..0000000 Binary files a/src/effects/doc/images/Blend_mode14.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode15.png b/src/effects/doc/images/Blend_mode15.png deleted file mode 100644 index 5c7bc40..0000000 Binary files a/src/effects/doc/images/Blend_mode15.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode16.png b/src/effects/doc/images/Blend_mode16.png deleted file mode 100644 index cda82c1..0000000 Binary files a/src/effects/doc/images/Blend_mode16.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode17.png b/src/effects/doc/images/Blend_mode17.png deleted file mode 100644 index 7dfa8d8..0000000 Binary files a/src/effects/doc/images/Blend_mode17.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode18.png b/src/effects/doc/images/Blend_mode18.png deleted file mode 100644 index 25cd7b0..0000000 Binary files a/src/effects/doc/images/Blend_mode18.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode19.png b/src/effects/doc/images/Blend_mode19.png deleted file mode 100644 index f9565cc..0000000 Binary files a/src/effects/doc/images/Blend_mode19.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode2.png b/src/effects/doc/images/Blend_mode2.png deleted file mode 100644 index 0cd57eb..0000000 Binary files a/src/effects/doc/images/Blend_mode2.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode20.png b/src/effects/doc/images/Blend_mode20.png deleted file mode 100644 index 80cb192..0000000 Binary files a/src/effects/doc/images/Blend_mode20.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode21.png b/src/effects/doc/images/Blend_mode21.png deleted file mode 100644 index be97d63..0000000 Binary files a/src/effects/doc/images/Blend_mode21.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode22.png b/src/effects/doc/images/Blend_mode22.png deleted file mode 100644 index a5d0280..0000000 Binary files a/src/effects/doc/images/Blend_mode22.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode3.png b/src/effects/doc/images/Blend_mode3.png deleted file mode 100644 index cd14337..0000000 Binary files a/src/effects/doc/images/Blend_mode3.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode4.png b/src/effects/doc/images/Blend_mode4.png deleted file mode 100644 index 509b372..0000000 Binary files a/src/effects/doc/images/Blend_mode4.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode5.png b/src/effects/doc/images/Blend_mode5.png deleted file mode 100644 index 8f557c0..0000000 Binary files a/src/effects/doc/images/Blend_mode5.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode6.png b/src/effects/doc/images/Blend_mode6.png deleted file mode 100644 index de85ea6..0000000 Binary files a/src/effects/doc/images/Blend_mode6.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode7.png b/src/effects/doc/images/Blend_mode7.png deleted file mode 100644 index 11b0b55..0000000 Binary files a/src/effects/doc/images/Blend_mode7.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode8.png b/src/effects/doc/images/Blend_mode8.png deleted file mode 100644 index 7376f44..0000000 Binary files a/src/effects/doc/images/Blend_mode8.png and /dev/null differ diff --git a/src/effects/doc/images/Blend_mode9.png b/src/effects/doc/images/Blend_mode9.png deleted file mode 100644 index ed1aba9..0000000 Binary files a/src/effects/doc/images/Blend_mode9.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_angle1.png b/src/effects/doc/images/DirectionalBlur_angle1.png deleted file mode 100644 index 9700f73..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_angle1.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_angle2.png b/src/effects/doc/images/DirectionalBlur_angle2.png deleted file mode 100644 index adf9791..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_angle2.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_angle3.png b/src/effects/doc/images/DirectionalBlur_angle3.png deleted file mode 100644 index 7bf2a62..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_angle3.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_bug.png b/src/effects/doc/images/DirectionalBlur_bug.png deleted file mode 100644 index ad2fff5..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_bug.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_length1.png b/src/effects/doc/images/DirectionalBlur_length1.png deleted file mode 100644 index f514ee4..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_length1.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_length2.png b/src/effects/doc/images/DirectionalBlur_length2.png deleted file mode 100644 index 9700f73..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_length2.png and /dev/null differ diff --git a/src/effects/doc/images/DirectionalBlur_length3.png b/src/effects/doc/images/DirectionalBlur_length3.png deleted file mode 100644 index 1b3c52c..0000000 Binary files a/src/effects/doc/images/DirectionalBlur_length3.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_bug.png b/src/effects/doc/images/GaussianBlur_bug.png deleted file mode 100644 index a9db381..0000000 Binary files a/src/effects/doc/images/GaussianBlur_bug.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_deviation1.png b/src/effects/doc/images/GaussianBlur_deviation1.png deleted file mode 100644 index 5dcb775..0000000 Binary files a/src/effects/doc/images/GaussianBlur_deviation1.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_deviation2.png b/src/effects/doc/images/GaussianBlur_deviation2.png deleted file mode 100644 index 68ff492..0000000 Binary files a/src/effects/doc/images/GaussianBlur_deviation2.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_deviation3.png b/src/effects/doc/images/GaussianBlur_deviation3.png deleted file mode 100644 index 4823e31..0000000 Binary files a/src/effects/doc/images/GaussianBlur_deviation3.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_deviation4.png b/src/effects/doc/images/GaussianBlur_deviation4.png deleted file mode 100644 index ba82f8f..0000000 Binary files a/src/effects/doc/images/GaussianBlur_deviation4.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_deviation_graph.png b/src/effects/doc/images/GaussianBlur_deviation_graph.png deleted file mode 100644 index 2c22008..0000000 Binary files a/src/effects/doc/images/GaussianBlur_deviation_graph.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_radius1.png b/src/effects/doc/images/GaussianBlur_radius1.png deleted file mode 100644 index ce02060..0000000 Binary files a/src/effects/doc/images/GaussianBlur_radius1.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_radius2.png b/src/effects/doc/images/GaussianBlur_radius2.png deleted file mode 100644 index 3ddd227..0000000 Binary files a/src/effects/doc/images/GaussianBlur_radius2.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_radius3.png b/src/effects/doc/images/GaussianBlur_radius3.png deleted file mode 100644 index df8f675..0000000 Binary files a/src/effects/doc/images/GaussianBlur_radius3.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_transparentBorder1.png b/src/effects/doc/images/GaussianBlur_transparentBorder1.png deleted file mode 100644 index 7365ccd..0000000 Binary files a/src/effects/doc/images/GaussianBlur_transparentBorder1.png and /dev/null differ diff --git a/src/effects/doc/images/GaussianBlur_transparentBorder2.png b/src/effects/doc/images/GaussianBlur_transparentBorder2.png deleted file mode 100644 index e33661c..0000000 Binary files a/src/effects/doc/images/GaussianBlur_transparentBorder2.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_butterfly.png b/src/effects/doc/images/InnerShadow_butterfly.png deleted file mode 100644 index 654929c..0000000 Binary files a/src/effects/doc/images/InnerShadow_butterfly.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_color1.png b/src/effects/doc/images/InnerShadow_color1.png deleted file mode 100644 index 2626e3e..0000000 Binary files a/src/effects/doc/images/InnerShadow_color1.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_color2.png b/src/effects/doc/images/InnerShadow_color2.png deleted file mode 100644 index 807941e..0000000 Binary files a/src/effects/doc/images/InnerShadow_color2.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_color3.png b/src/effects/doc/images/InnerShadow_color3.png deleted file mode 100644 index 43c6365..0000000 Binary files a/src/effects/doc/images/InnerShadow_color3.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_fast1.png b/src/effects/doc/images/InnerShadow_fast1.png deleted file mode 100644 index bf3e750..0000000 Binary files a/src/effects/doc/images/InnerShadow_fast1.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_fast2.png b/src/effects/doc/images/InnerShadow_fast2.png deleted file mode 100644 index 7a1b5c7..0000000 Binary files a/src/effects/doc/images/InnerShadow_fast2.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_horizontalOffset1.png b/src/effects/doc/images/InnerShadow_horizontalOffset1.png deleted file mode 100644 index 62fd5e2..0000000 Binary files a/src/effects/doc/images/InnerShadow_horizontalOffset1.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_horizontalOffset2.png b/src/effects/doc/images/InnerShadow_horizontalOffset2.png deleted file mode 100644 index b268697..0000000 Binary files a/src/effects/doc/images/InnerShadow_horizontalOffset2.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_horizontalOffset3.png b/src/effects/doc/images/InnerShadow_horizontalOffset3.png deleted file mode 100644 index afb2892..0000000 Binary files a/src/effects/doc/images/InnerShadow_horizontalOffset3.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_radius1.png b/src/effects/doc/images/InnerShadow_radius1.png deleted file mode 100644 index 1dd0f39..0000000 Binary files a/src/effects/doc/images/InnerShadow_radius1.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_radius2.png b/src/effects/doc/images/InnerShadow_radius2.png deleted file mode 100644 index 01a0141..0000000 Binary files a/src/effects/doc/images/InnerShadow_radius2.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_radius3.png b/src/effects/doc/images/InnerShadow_radius3.png deleted file mode 100644 index 1bcd6f5..0000000 Binary files a/src/effects/doc/images/InnerShadow_radius3.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_spread1.png b/src/effects/doc/images/InnerShadow_spread1.png deleted file mode 100644 index b268697..0000000 Binary files a/src/effects/doc/images/InnerShadow_spread1.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_spread2.png b/src/effects/doc/images/InnerShadow_spread2.png deleted file mode 100644 index 8485191..0000000 Binary files a/src/effects/doc/images/InnerShadow_spread2.png and /dev/null differ diff --git a/src/effects/doc/images/InnerShadow_spread3.png b/src/effects/doc/images/InnerShadow_spread3.png deleted file mode 100644 index 563226a..0000000 Binary files a/src/effects/doc/images/InnerShadow_spread3.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_bug.png b/src/effects/doc/images/MaskedBlur_bug.png deleted file mode 100644 index c736d8b..0000000 Binary files a/src/effects/doc/images/MaskedBlur_bug.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_fast1.png b/src/effects/doc/images/MaskedBlur_fast1.png deleted file mode 100644 index 95ca1be..0000000 Binary files a/src/effects/doc/images/MaskedBlur_fast1.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_fast2.png b/src/effects/doc/images/MaskedBlur_fast2.png deleted file mode 100644 index 8928e25..0000000 Binary files a/src/effects/doc/images/MaskedBlur_fast2.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_mask.png b/src/effects/doc/images/MaskedBlur_mask.png deleted file mode 100644 index 871c1f9..0000000 Binary files a/src/effects/doc/images/MaskedBlur_mask.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_radius1.png b/src/effects/doc/images/MaskedBlur_radius1.png deleted file mode 100644 index c7f85e1..0000000 Binary files a/src/effects/doc/images/MaskedBlur_radius1.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_radius2.png b/src/effects/doc/images/MaskedBlur_radius2.png deleted file mode 100644 index 51b9651..0000000 Binary files a/src/effects/doc/images/MaskedBlur_radius2.png and /dev/null differ diff --git a/src/effects/doc/images/MaskedBlur_radius3.png b/src/effects/doc/images/MaskedBlur_radius3.png deleted file mode 100644 index 95ca1be..0000000 Binary files a/src/effects/doc/images/MaskedBlur_radius3.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_angle1.png b/src/effects/doc/images/RadialBlur_angle1.png deleted file mode 100644 index f514ee4..0000000 Binary files a/src/effects/doc/images/RadialBlur_angle1.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_angle2.png b/src/effects/doc/images/RadialBlur_angle2.png deleted file mode 100644 index 20e51f4..0000000 Binary files a/src/effects/doc/images/RadialBlur_angle2.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_angle3.png b/src/effects/doc/images/RadialBlur_angle3.png deleted file mode 100644 index d1c0270..0000000 Binary files a/src/effects/doc/images/RadialBlur_angle3.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_bug.png b/src/effects/doc/images/RadialBlur_bug.png deleted file mode 100644 index cf49512..0000000 Binary files a/src/effects/doc/images/RadialBlur_bug.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_horizontalOffset1.png b/src/effects/doc/images/RadialBlur_horizontalOffset1.png deleted file mode 100644 index dc8afa7..0000000 Binary files a/src/effects/doc/images/RadialBlur_horizontalOffset1.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_horizontalOffset2.png b/src/effects/doc/images/RadialBlur_horizontalOffset2.png deleted file mode 100644 index 272950f..0000000 Binary files a/src/effects/doc/images/RadialBlur_horizontalOffset2.png and /dev/null differ diff --git a/src/effects/doc/images/RadialBlur_horizontalOffset3.png b/src/effects/doc/images/RadialBlur_horizontalOffset3.png deleted file mode 100644 index a06a454..0000000 Binary files a/src/effects/doc/images/RadialBlur_horizontalOffset3.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_bug.png b/src/effects/doc/images/RecursiveBlur_bug.png deleted file mode 100644 index 470eebb..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_bug.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_loops1.png b/src/effects/doc/images/RecursiveBlur_loops1.png deleted file mode 100644 index b9ea62e..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_loops1.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_loops2.png b/src/effects/doc/images/RecursiveBlur_loops2.png deleted file mode 100644 index d710f35..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_loops2.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_loops3.png b/src/effects/doc/images/RecursiveBlur_loops3.png deleted file mode 100644 index e1c18e7..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_loops3.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_radius1.png b/src/effects/doc/images/RecursiveBlur_radius1.png deleted file mode 100644 index 2bf1280..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_radius1.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_radius2.png b/src/effects/doc/images/RecursiveBlur_radius2.png deleted file mode 100644 index 696f118..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_radius2.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_radius3.png b/src/effects/doc/images/RecursiveBlur_radius3.png deleted file mode 100644 index 3710011..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_radius3.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_transparentBorder1.png b/src/effects/doc/images/RecursiveBlur_transparentBorder1.png deleted file mode 100644 index 3710011..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_transparentBorder1.png and /dev/null differ diff --git a/src/effects/doc/images/RecursiveBlur_transparentBorder2.png b/src/effects/doc/images/RecursiveBlur_transparentBorder2.png deleted file mode 100644 index 6adbc44..0000000 Binary files a/src/effects/doc/images/RecursiveBlur_transparentBorder2.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_bug.png b/src/effects/doc/images/ZoomBlur_bug.png deleted file mode 100644 index 5951ac6..0000000 Binary files a/src/effects/doc/images/ZoomBlur_bug.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_horizontalOffset1.png b/src/effects/doc/images/ZoomBlur_horizontalOffset1.png deleted file mode 100644 index 299fc45..0000000 Binary files a/src/effects/doc/images/ZoomBlur_horizontalOffset1.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_horizontalOffset2.png b/src/effects/doc/images/ZoomBlur_horizontalOffset2.png deleted file mode 100644 index 190e50b..0000000 Binary files a/src/effects/doc/images/ZoomBlur_horizontalOffset2.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_horizontalOffset3.png b/src/effects/doc/images/ZoomBlur_horizontalOffset3.png deleted file mode 100644 index 98e0276..0000000 Binary files a/src/effects/doc/images/ZoomBlur_horizontalOffset3.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_length1.png b/src/effects/doc/images/ZoomBlur_length1.png deleted file mode 100644 index f514ee4..0000000 Binary files a/src/effects/doc/images/ZoomBlur_length1.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_length2.png b/src/effects/doc/images/ZoomBlur_length2.png deleted file mode 100644 index 190e50b..0000000 Binary files a/src/effects/doc/images/ZoomBlur_length2.png and /dev/null differ diff --git a/src/effects/doc/images/ZoomBlur_length3.png b/src/effects/doc/images/ZoomBlur_length3.png deleted file mode 100644 index b6f2817..0000000 Binary files a/src/effects/doc/images/ZoomBlur_length3.png and /dev/null differ diff --git a/src/effects/doc/snippets/Blend-example.qml b/src/effects/doc/snippets/Blend-example.qml deleted file mode 100644 index 5a6cdac..0000000 --- a/src/effects/doc/snippets/Blend-example.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -//! [import] -import QtGraphicalEffects 1.12 -//! [import] - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - Image { - id: butterfly - source: "images/butterfly.png" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - Blend { - anchors.fill: bug - source: bug - foregroundSource: butterfly - mode: "subtract" - } -} -//! [example] - diff --git a/src/effects/doc/snippets/DirectionalBlur-example.qml b/src/effects/doc/snippets/DirectionalBlur-example.qml deleted file mode 100644 index e32f75a..0000000 --- a/src/effects/doc/snippets/DirectionalBlur-example.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - DirectionalBlur { - anchors.fill: bug - source: bug - angle: 90 - length: 32 - samples: 24 - } -} -//! [example] diff --git a/src/effects/doc/snippets/DropShadow-example.qml b/src/effects/doc/snippets/DropShadow-example.qml index cc23d90..75361dd 100644 --- a/src/effects/doc/snippets/DropShadow-example.qml +++ b/src/effects/doc/snippets/DropShadow-example.qml @@ -73,7 +73,6 @@ Item { horizontalOffset: 3 verticalOffset: 3 radius: 8.0 - samples: 17 color: "#80000000" source: butterfly } diff --git a/src/effects/doc/snippets/FastBlur-example.qml b/src/effects/doc/snippets/FastBlur-example.qml index 855da2f..7c4aa94 100644 --- a/src/effects/doc/snippets/FastBlur-example.qml +++ b/src/effects/doc/snippets/FastBlur-example.qml @@ -50,7 +50,9 @@ //! [example] import QtQuick 2.12 +//! [import] import QtGraphicalEffects 1.12 +//! [import] Item { width: 300 diff --git a/src/effects/doc/snippets/GaussianBlur-example.qml b/src/effects/doc/snippets/GaussianBlur-example.qml deleted file mode 100644 index 38564a9..0000000 --- a/src/effects/doc/snippets/GaussianBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - GaussianBlur { - anchors.fill: bug - source: bug - radius: 8 - samples: 16 - } -} -//! [example] diff --git a/src/effects/doc/snippets/Glow-example.qml b/src/effects/doc/snippets/Glow-example.qml index 0d2927d..1e9cbd5 100644 --- a/src/effects/doc/snippets/Glow-example.qml +++ b/src/effects/doc/snippets/Glow-example.qml @@ -72,7 +72,6 @@ Item { Glow { anchors.fill: butterfly radius: 8 - samples: 17 color: "white" source: butterfly } diff --git a/src/effects/doc/snippets/InnerShadow-example.qml b/src/effects/doc/snippets/InnerShadow-example.qml deleted file mode 100644 index 37973bc..0000000 --- a/src/effects/doc/snippets/InnerShadow-example.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Rectangle { - anchors.fill: parent - } - - Image { - id: butterfly - source: "images/butterfly.png" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - InnerShadow { - anchors.fill: butterfly - radius: 8.0 - samples: 16 - horizontalOffset: -3 - verticalOffset: 3 - color: "#b0000000" - source: butterfly - } -} -//! [example] diff --git a/src/effects/doc/snippets/MaskedBlur-example.qml b/src/effects/doc/snippets/MaskedBlur-example.qml deleted file mode 100644 index 2ce9647..0000000 --- a/src/effects/doc/snippets/MaskedBlur-example.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - LinearGradient { - id: mask - anchors.fill: bug - gradient: Gradient { - GradientStop { position: 0.2; color: "#ffffffff" } - GradientStop { position: 0.5; color: "#00ffffff" } - } - start: Qt.point(0, 0) - end: Qt.point(300, 0) - visible: false - } - - MaskedBlur { - anchors.fill: bug - source: bug - maskSource: mask - radius: 16 - samples: 24 - } -} -//! [example] diff --git a/src/effects/doc/snippets/RadialBlur-example.qml b/src/effects/doc/snippets/RadialBlur-example.qml deleted file mode 100644 index 1daf572..0000000 --- a/src/effects/doc/snippets/RadialBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - RadialBlur { - anchors.fill: bug - source: bug - samples: 24 - angle: 30 - } -} -//! [example] diff --git a/src/effects/doc/snippets/RecursiveBlur-example.qml b/src/effects/doc/snippets/RecursiveBlur-example.qml deleted file mode 100644 index fb9ccdd..0000000 --- a/src/effects/doc/snippets/RecursiveBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - RecursiveBlur { - anchors.fill: bug - source: bug - radius: 7.5 - loops: 50 - } -} -//! [example] diff --git a/src/effects/doc/snippets/ZoomBlur-example.qml b/src/effects/doc/snippets/ZoomBlur-example.qml deleted file mode 100644 index 9d6e845..0000000 --- a/src/effects/doc/snippets/ZoomBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * 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. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "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 COPYRIGHT -** OWNER OR CONTRIBUTORS 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." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: butterfly - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - ZoomBlur { - anchors.fill: butterfly - source: butterfly - samples: 24 - length: 48 - } -} -//! [example] diff --git a/src/effects/doc/src/overview-graphicaleffects.qdoc b/src/effects/doc/src/overview-graphicaleffects.qdoc index 40d5c59..1011c09 100644 --- a/src/effects/doc/src/overview-graphicaleffects.qdoc +++ b/src/effects/doc/src/overview-graphicaleffects.qdoc @@ -46,11 +46,8 @@ The following list presents the functional division of types that are part of Qt Graphical Effects: - \section1 Blend - \annotatedlist qtgraphicaleffects-blend - \section1 Color - \annotatedlist qtgraphicaleffects-color + \annotatedlist qtgraphicaleffects-color \section1 Gradient \annotatedlist qtgraphicaleffects-gradient @@ -64,9 +61,6 @@ \section1 Blur \annotatedlist qtgraphicaleffects-blur - \section1 Motion Blur - \annotatedlist qtgraphicaleffects-motion-blur - \section1 Glow \annotatedlist qtgraphicaleffects-glow diff --git a/src/effects/doc/src/qtgraphicaleffects.qdoc b/src/effects/doc/src/qtgraphicaleffects.qdoc index 104e46e..0b7c67a 100644 --- a/src/effects/doc/src/qtgraphicaleffects.qdoc +++ b/src/effects/doc/src/qtgraphicaleffects.qdoc @@ -56,12 +56,12 @@ The Qt Graphical Effects module provides a set of QML types for adding visually impressive and configurable effects to user interfaces. Effects are visual items that can be added to Qt Quick user interface as UI components. -The API consists of over 20 effects provided as separate QML types. The effects -cover functional areas such as blending, masking, blurring, coloring, and many more. +The API consists of over 15 effects provided as separate QML types. The effects +cover functional areas such as masking, blurring, coloring, and many more. \section1 Getting Started To load Qt Graphical Effects, add the following import statement to your .qml file: -\snippet Blend-example.qml import +\snippet FastBlur-example.qml import To use the effects, simply add a specific effect declaration to the QML scene and configure the effects properties. Effects have one or more source properties for @@ -75,15 +75,10 @@ Each effect has a set of properties that can be used to configure the effect out Properties can be animated just like any other QML properties. The QML type documentation contains property descriptions and basic usage examples. -Currently there is no C++ API. - -\note Some effects may not be available with all graphics APIs. OpenGL, which is -used by default in most cases, has full support for all of them. However, the -\c software backend for instance does not support effects at all. Therefore, -when running with graphics APIs other than OpenGL, refer to the documentation of -the QML types in question to check if the effect is available. For more -information on the Qt Quick scene graph backends, see -\l{qtquick-visualcanvas-adaptations.html}{Scene Graph Adaptations}. +\note Effects are not available when running with the \c software +backend of Qt Quick. For more information on Qt Quick scene graph +backends, see \l{qtquick-visualcanvas-adaptations.html}{Scene Graph +Adaptations}. \section1 Reference -- cgit v1.2.1