diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2012-09-24 16:57:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-25 11:31:42 +0200 |
commit | 1ecb9cbdc40dc177fcb906f983f6b47714f0c521 (patch) | |
tree | f7ad8af2d61b4c8511ea23656fa04da20ca84304 | |
parent | 405a17b16855863e24e9fdd18420ef482f25ae50 (diff) |
Doc: Modularized documentation.
-moved API documentation in QML files
-moved snippets, images, and qdoc files to src/effects/doc
-deleted old .pri and .qdocconf files
-fixed relative paths
Change-Id: I4e757e707b5f93a215506f8c2cbb7eb1f2321d4c
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
-rw-r--r-- | doc/doc.pri | 8 | ||||
-rw-r--r-- | doc/qtgraphicaleffects.qdocconf | 64 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-blend.qdoc | 240 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-brightnesscontrast.qdoc | 148 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-colorize.qdoc | 196 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-coloroverlay.qdoc | 102 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-conicalgradient.qdoc | 242 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-desaturate.qdoc | 103 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-directionalblur.qdoc | 189 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-displace.qdoc | 134 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-dropshadow.qdoc | 333 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-fastblur.qdoc | 143 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-gammaadjust.qdoc | 139 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-gaussianblur.qdoc | 219 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-glow.qdoc | 253 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-huesaturation.qdoc | 182 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-innershadow.qdoc | 332 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-leveladjust.qdoc | 392 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-lineargradient.qdoc | 233 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-maskedblur.qdoc | 231 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-opacitymask.qdoc | 95 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-radialblur.qdoc | 197 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-radialgradient.qdoc | 317 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-rectangularglow.qdoc | 222 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-recursiveblur.qdoc | 196 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-thresholdmask.qdoc | 161 | ||||
-rw-r--r-- | doc/src/qtgraphicaleffects-zoomblur.qdoc | 196 | ||||
-rw-r--r-- | doc/style/style.css | 137 | ||||
-rw-r--r-- | src/effects/Blend.qml | 229 | ||||
-rw-r--r-- | src/effects/BrightnessContrast.qml | 112 | ||||
-rw-r--r-- | src/effects/ColorOverlay.qml | 69 | ||||
-rw-r--r-- | src/effects/Colorize.qml | 154 | ||||
-rw-r--r-- | src/effects/ConicalGradient.qml | 208 | ||||
-rw-r--r-- | src/effects/Desaturate.qml | 68 | ||||
-rw-r--r-- | src/effects/DirectionalBlur.qml | 151 | ||||
-rw-r--r-- | src/effects/Displace.qml | 103 | ||||
-rw-r--r-- | src/effects/DropShadow.qml | 299 | ||||
-rw-r--r-- | src/effects/FastBlur.qml | 109 | ||||
-rw-r--r-- | src/effects/GammaAdjust.qml | 105 | ||||
-rw-r--r-- | src/effects/GaussianBlur.qml | 185 | ||||
-rw-r--r-- | src/effects/Glow.qml | 208 | ||||
-rw-r--r-- | src/effects/HueSaturation.qml | 143 | ||||
-rw-r--r-- | src/effects/InnerShadow.qml | 293 | ||||
-rw-r--r-- | src/effects/LevelAdjust.qml | 348 | ||||
-rw-r--r-- | src/effects/LinearGradient.qml | 194 | ||||
-rw-r--r-- | src/effects/MaskedBlur.qml | 195 | ||||
-rw-r--r-- | src/effects/OpacityMask.qml | 61 | ||||
-rw-r--r-- | src/effects/RadialBlur.qml | 156 | ||||
-rw-r--r-- | src/effects/RadialGradient.qml | 273 | ||||
-rw-r--r-- | src/effects/RectangularGlow.qml | 184 | ||||
-rw-r--r-- | src/effects/RecursiveBlur.qml | 161 | ||||
-rw-r--r-- | src/effects/ThresholdMask.qml | 125 | ||||
-rw-r--r-- | src/effects/ZoomBlur.qml | 158 | ||||
-rwxr-xr-x | src/effects/doc/images/Blend_bug_and_butterfly.png (renamed from doc/src/images/Blend_bug_and_butterfly.png) | bin | 128741 -> 128741 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode1.png (renamed from doc/src/images/Blend_mode1.png) | bin | 139179 -> 139179 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode10.png (renamed from doc/src/images/Blend_mode10.png) | bin | 145578 -> 145578 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode11.png (renamed from doc/src/images/Blend_mode11.png) | bin | 148982 -> 148982 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode12.png (renamed from doc/src/images/Blend_mode12.png) | bin | 145855 -> 145855 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode13.png (renamed from doc/src/images/Blend_mode13.png) | bin | 147901 -> 147901 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode14.png (renamed from doc/src/images/Blend_mode14.png) | bin | 148626 -> 148626 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode15.png (renamed from doc/src/images/Blend_mode15.png) | bin | 145787 -> 145787 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode16.png (renamed from doc/src/images/Blend_mode16.png) | bin | 152469 -> 152469 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode17.png (renamed from doc/src/images/Blend_mode17.png) | bin | 152450 -> 152450 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode18.png (renamed from doc/src/images/Blend_mode18.png) | bin | 144022 -> 144022 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode19.png (renamed from doc/src/images/Blend_mode19.png) | bin | 149328 -> 149328 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode2.png (renamed from doc/src/images/Blend_mode2.png) | bin | 148805 -> 148805 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode20.png (renamed from doc/src/images/Blend_mode20.png) | bin | 149488 -> 149488 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode21.png (renamed from doc/src/images/Blend_mode21.png) | bin | 145464 -> 145464 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode22.png (renamed from doc/src/images/Blend_mode22.png) | bin | 149514 -> 149514 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode3.png (renamed from doc/src/images/Blend_mode3.png) | bin | 147745 -> 147745 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode4.png (renamed from doc/src/images/Blend_mode4.png) | bin | 148132 -> 148132 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode5.png (renamed from doc/src/images/Blend_mode5.png) | bin | 139048 -> 139048 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode6.png (renamed from doc/src/images/Blend_mode6.png) | bin | 149569 -> 149569 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode7.png (renamed from doc/src/images/Blend_mode7.png) | bin | 144323 -> 144323 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode8.png (renamed from doc/src/images/Blend_mode8.png) | bin | 144640 -> 144640 bytes | |||
-rw-r--r-- | src/effects/doc/images/Blend_mode9.png (renamed from doc/src/images/Blend_mode9.png) | bin | 152549 -> 152549 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_brightness1.png (renamed from doc/src/images/BrightnessContrast_brightness1.png) | bin | 90550 -> 90550 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_brightness2.png (renamed from doc/src/images/BrightnessContrast_brightness2.png) | bin | 146105 -> 146105 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_brightness3.png (renamed from doc/src/images/BrightnessContrast_brightness3.png) | bin | 78231 -> 78231 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_bug.png (renamed from doc/src/images/BrightnessContrast_bug.png) | bin | 86971 -> 86971 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_contrast1.png (renamed from doc/src/images/BrightnessContrast_contrast1.png) | bin | 118354 -> 118354 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_contrast2.png (renamed from doc/src/images/BrightnessContrast_contrast2.png) | bin | 146105 -> 146105 bytes | |||
-rw-r--r-- | src/effects/doc/images/BrightnessContrast_contrast3.png (renamed from doc/src/images/BrightnessContrast_contrast3.png) | bin | 74037 -> 74037 bytes | |||
-rwxr-xr-x | src/effects/doc/images/BrightnessContrast_contrast_graph.png (renamed from doc/src/images/BrightnessContrast_contrast_graph.png) | bin | 13581 -> 13581 bytes | |||
-rw-r--r-- | src/effects/doc/images/ColorOverlay_butterfly.png (renamed from doc/src/images/ColorOverlay_butterfly.png) | bin | 21119 -> 21119 bytes | |||
-rw-r--r-- | src/effects/doc/images/ColorOverlay_color1.png (renamed from doc/src/images/ColorOverlay_color1.png) | bin | 20971 -> 20971 bytes | |||
-rw-r--r-- | src/effects/doc/images/ColorOverlay_color2.png (renamed from doc/src/images/ColorOverlay_color2.png) | bin | 21216 -> 21216 bytes | |||
-rw-r--r-- | src/effects/doc/images/ColorOverlay_color3.png (renamed from doc/src/images/ColorOverlay_color3.png) | bin | 21249 -> 21249 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_bug.png (renamed from doc/src/images/Colorize_bug.png) | bin | 90630 -> 90630 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_hue1.png (renamed from doc/src/images/Colorize_hue1.png) | bin | 117918 -> 117918 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_hue2.png (renamed from doc/src/images/Colorize_hue2.png) | bin | 101185 -> 101185 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_hue3.png (renamed from doc/src/images/Colorize_hue3.png) | bin | 118495 -> 118495 bytes | |||
-rwxr-xr-x | src/effects/doc/images/Colorize_hue_scale.png (renamed from doc/src/images/Colorize_hue_scale.png) | bin | 2855 -> 2855 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_lightness1.png (renamed from doc/src/images/Colorize_lightness1.png) | bin | 56097 -> 56097 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_lightness2.png (renamed from doc/src/images/Colorize_lightness2.png) | bin | 100170 -> 100170 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_lightness3.png (renamed from doc/src/images/Colorize_lightness3.png) | bin | 63887 -> 63887 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_saturation1.png (renamed from doc/src/images/Colorize_saturation1.png) | bin | 85926 -> 85926 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_saturation2.png (renamed from doc/src/images/Colorize_saturation2.png) | bin | 116288 -> 116288 bytes | |||
-rw-r--r-- | src/effects/doc/images/Colorize_saturation3.png (renamed from doc/src/images/Colorize_saturation3.png) | bin | 100170 -> 100170 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient.png (renamed from doc/src/images/ConicalGradient.png) | bin | 13963 -> 13963 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_angle1.png (renamed from doc/src/images/ConicalGradient_angle1.png) | bin | 14224 -> 14224 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_angle2.png (renamed from doc/src/images/ConicalGradient_angle2.png) | bin | 15762 -> 15762 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_angle3.png (renamed from doc/src/images/ConicalGradient_angle3.png) | bin | 14271 -> 14271 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_gradient1.png (renamed from doc/src/images/ConicalGradient_gradient1.png) | bin | 22589 -> 22589 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_gradient2.png (renamed from doc/src/images/ConicalGradient_gradient2.png) | bin | 18418 -> 18418 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_gradient3.png (renamed from doc/src/images/ConicalGradient_gradient3.png) | bin | 19164 -> 19164 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_horizontalOffset1.png (renamed from doc/src/images/ConicalGradient_horizontalOffset1.png) | bin | 14236 -> 14236 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_horizontalOffset2.png (renamed from doc/src/images/ConicalGradient_horizontalOffset2.png) | bin | 14224 -> 14224 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_horizontalOffset3.png (renamed from doc/src/images/ConicalGradient_horizontalOffset3.png) | bin | 13786 -> 13786 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_maskSource1.png (renamed from doc/src/images/ConicalGradient_maskSource1.png) | bin | 14224 -> 14224 bytes | |||
-rw-r--r-- | src/effects/doc/images/ConicalGradient_maskSource2.png (renamed from doc/src/images/ConicalGradient_maskSource2.png) | bin | 12285 -> 12285 bytes | |||
-rwxr-xr-x | src/effects/doc/images/Desaturate_bug.png (renamed from doc/src/images/Desaturate_bug.png) | bin | 116557 -> 116557 bytes | |||
-rw-r--r-- | src/effects/doc/images/Desaturate_desaturation1.png (renamed from doc/src/images/Desaturate_desaturation1.png) | bin | 137558 -> 137558 bytes | |||
-rw-r--r-- | src/effects/doc/images/Desaturate_desaturation2.png (renamed from doc/src/images/Desaturate_desaturation2.png) | bin | 131559 -> 131559 bytes | |||
-rw-r--r-- | src/effects/doc/images/Desaturate_desaturation3.png (renamed from doc/src/images/Desaturate_desaturation3.png) | bin | 76845 -> 76845 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_angle1.png (renamed from doc/src/images/DirectionalBlur_angle1.png) | bin | 79683 -> 79683 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_angle2.png (renamed from doc/src/images/DirectionalBlur_angle2.png) | bin | 87788 -> 87788 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_angle3.png (renamed from doc/src/images/DirectionalBlur_angle3.png) | bin | 75902 -> 75902 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_bug.png (renamed from doc/src/images/DirectionalBlur_bug.png) | bin | 72262 -> 72262 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_length1.png (renamed from doc/src/images/DirectionalBlur_length1.png) | bin | 137558 -> 137558 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_length2.png (renamed from doc/src/images/DirectionalBlur_length2.png) | bin | 79683 -> 79683 bytes | |||
-rw-r--r-- | src/effects/doc/images/DirectionalBlur_length3.png (renamed from doc/src/images/DirectionalBlur_length3.png) | bin | 79808 -> 79808 bytes | |||
-rw-r--r-- | src/effects/doc/images/Displace_bug.png (renamed from doc/src/images/Displace_bug.png) | bin | 126526 -> 126526 bytes | |||
-rw-r--r-- | src/effects/doc/images/Displace_displacement1.png (renamed from doc/src/images/Displace_displacement1.png) | bin | 138262 -> 138262 bytes | |||
-rw-r--r-- | src/effects/doc/images/Displace_displacement2.png (renamed from doc/src/images/Displace_displacement2.png) | bin | 137579 -> 137579 bytes | |||
-rw-r--r-- | src/effects/doc/images/Displace_displacement3.png (renamed from doc/src/images/Displace_displacement3.png) | bin | 136887 -> 136887 bytes | |||
-rw-r--r-- | src/effects/doc/images/Displace_map.png (renamed from doc/src/images/Displace_map.png) | bin | 15520 -> 15520 bytes | |||
-rwxr-xr-x | src/effects/doc/images/DropShadow_butterfly.png (renamed from doc/src/images/DropShadow_butterfly.png) | bin | 31781 -> 31781 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_color1.png (renamed from doc/src/images/DropShadow_color1.png) | bin | 28151 -> 28151 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_color2.png (renamed from doc/src/images/DropShadow_color2.png) | bin | 29274 -> 29274 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_color3.png (renamed from doc/src/images/DropShadow_color3.png) | bin | 27840 -> 27840 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_fast1.png (renamed from doc/src/images/DropShadow_fast1.png) | bin | 26617 -> 26617 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_fast2.png (renamed from doc/src/images/DropShadow_fast2.png) | bin | 29947 -> 29947 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_horizontalOffset1.png (renamed from doc/src/images/DropShadow_horizontalOffset1.png) | bin | 27248 -> 27248 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_horizontalOffset2.png (renamed from doc/src/images/DropShadow_horizontalOffset2.png) | bin | 25137 -> 25137 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_horizontalOffset3.png (renamed from doc/src/images/DropShadow_horizontalOffset3.png) | bin | 27152 -> 27152 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_radius1.png (renamed from doc/src/images/DropShadow_radius1.png) | bin | 26410 -> 26410 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_radius2.png (renamed from doc/src/images/DropShadow_radius2.png) | bin | 26340 -> 26340 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_radius3.png (renamed from doc/src/images/DropShadow_radius3.png) | bin | 26838 -> 26838 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_spread1.png (renamed from doc/src/images/DropShadow_spread1.png) | bin | 26297 -> 26297 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_spread2.png (renamed from doc/src/images/DropShadow_spread2.png) | bin | 26288 -> 26288 bytes | |||
-rw-r--r-- | src/effects/doc/images/DropShadow_spread3.png (renamed from doc/src/images/DropShadow_spread3.png) | bin | 21974 -> 21974 bytes | |||
-rwxr-xr-x | src/effects/doc/images/FastBlur_bug.png (renamed from doc/src/images/FastBlur_bug.png) | bin | 66467 -> 66467 bytes | |||
-rw-r--r-- | src/effects/doc/images/FastBlur_radius1.png (renamed from doc/src/images/FastBlur_radius1.png) | bin | 146075 -> 146075 bytes | |||
-rw-r--r-- | src/effects/doc/images/FastBlur_radius2.png (renamed from doc/src/images/FastBlur_radius2.png) | bin | 62965 -> 62965 bytes | |||
-rw-r--r-- | src/effects/doc/images/FastBlur_radius3.png (renamed from doc/src/images/FastBlur_radius3.png) | bin | 45502 -> 45502 bytes | |||
-rw-r--r-- | src/effects/doc/images/FastBlur_transparentBorder1.png (renamed from doc/src/images/FastBlur_transparentBorder1.png) | bin | 45502 -> 45502 bytes | |||
-rw-r--r-- | src/effects/doc/images/FastBlur_transparentBorder2.png (renamed from doc/src/images/FastBlur_transparentBorder2.png) | bin | 62518 -> 62518 bytes | |||
-rw-r--r-- | src/effects/doc/images/GammaAdjust_bug.png (renamed from doc/src/images/GammaAdjust_bug.png) | bin | 110990 -> 110990 bytes | |||
-rw-r--r-- | src/effects/doc/images/GammaAdjust_gamma1.png (renamed from doc/src/images/GammaAdjust_gamma1.png) | bin | 132555 -> 132555 bytes | |||
-rwxr-xr-x | src/effects/doc/images/GammaAdjust_gamma1_graph.png (renamed from doc/src/images/GammaAdjust_gamma1_graph.png) | bin | 16118 -> 16118 bytes | |||
-rw-r--r-- | src/effects/doc/images/GammaAdjust_gamma2.png (renamed from doc/src/images/GammaAdjust_gamma2.png) | bin | 146105 -> 146105 bytes | |||
-rwxr-xr-x | src/effects/doc/images/GammaAdjust_gamma2_graph.png (renamed from doc/src/images/GammaAdjust_gamma2_graph.png) | bin | 13755 -> 13755 bytes | |||
-rw-r--r-- | src/effects/doc/images/GammaAdjust_gamma3.png (renamed from doc/src/images/GammaAdjust_gamma3.png) | bin | 148761 -> 148761 bytes | |||
-rwxr-xr-x | src/effects/doc/images/GammaAdjust_gamma3_graph.png (renamed from doc/src/images/GammaAdjust_gamma3_graph.png) | bin | 15932 -> 15932 bytes | |||
-rwxr-xr-x | src/effects/doc/images/GaussianBlur_bug.png (renamed from doc/src/images/GaussianBlur_bug.png) | bin | 86476 -> 86476 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_deviation1.png (renamed from doc/src/images/GaussianBlur_deviation1.png) | bin | 107188 -> 107188 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_deviation2.png (renamed from doc/src/images/GaussianBlur_deviation2.png) | bin | 89499 -> 89499 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_deviation3.png (renamed from doc/src/images/GaussianBlur_deviation3.png) | bin | 73687 -> 73687 bytes | |||
-rwxr-xr-x | src/effects/doc/images/GaussianBlur_deviation4.png (renamed from doc/src/images/GaussianBlur_deviation4.png) | bin | 87436 -> 87436 bytes | |||
-rwxr-xr-x | src/effects/doc/images/GaussianBlur_deviation_graph.png (renamed from doc/src/images/GaussianBlur_deviation_graph.png) | bin | 12802 -> 12802 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_radius1.png (renamed from doc/src/images/GaussianBlur_radius1.png) | bin | 134530 -> 134530 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_radius2.png (renamed from doc/src/images/GaussianBlur_radius2.png) | bin | 89842 -> 89842 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_radius3.png (renamed from doc/src/images/GaussianBlur_radius3.png) | bin | 79245 -> 79245 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_transparentBorder1.png (renamed from doc/src/images/GaussianBlur_transparentBorder1.png) | bin | 81884 -> 81884 bytes | |||
-rw-r--r-- | src/effects/doc/images/GaussianBlur_transparentBorder2.png (renamed from doc/src/images/GaussianBlur_transparentBorder2.png) | bin | 83768 -> 83768 bytes | |||
-rwxr-xr-x | src/effects/doc/images/Glow_butterfly.png (renamed from doc/src/images/Glow_butterfly.png) | bin | 30949 -> 30949 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_color1.png (renamed from doc/src/images/Glow_color1.png) | bin | 26917 -> 26917 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_color2.png (renamed from doc/src/images/Glow_color2.png) | bin | 24307 -> 24307 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_color3.png (renamed from doc/src/images/Glow_color3.png) | bin | 24145 -> 24145 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_fast1.png (renamed from doc/src/images/Glow_fast1.png) | bin | 28113 -> 28113 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_fast2.png (renamed from doc/src/images/Glow_fast2.png) | bin | 31388 -> 31388 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_radius1.png (renamed from doc/src/images/Glow_radius1.png) | bin | 22700 -> 22700 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_radius2.png (renamed from doc/src/images/Glow_radius2.png) | bin | 25277 -> 25277 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_radius3.png (renamed from doc/src/images/Glow_radius3.png) | bin | 26267 -> 26267 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_spread1.png (renamed from doc/src/images/Glow_spread1.png) | bin | 25502 -> 25502 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_spread2.png (renamed from doc/src/images/Glow_spread2.png) | bin | 26917 -> 26917 bytes | |||
-rw-r--r-- | src/effects/doc/images/Glow_spread3.png (renamed from doc/src/images/Glow_spread3.png) | bin | 23249 -> 23249 bytes | |||
-rwxr-xr-x | src/effects/doc/images/HueSaturation_bug.png (renamed from doc/src/images/HueSaturation_bug.png) | bin | 134914 -> 134914 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_hue1.png (renamed from doc/src/images/HueSaturation_hue1.png) | bin | 147628 -> 147628 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_hue2.png (renamed from doc/src/images/HueSaturation_hue2.png) | bin | 146104 -> 146104 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_hue3.png (renamed from doc/src/images/HueSaturation_hue3.png) | bin | 147161 -> 147161 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_lightness1.png (renamed from doc/src/images/HueSaturation_lightness1.png) | bin | 118304 -> 118304 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_lightness2.png (renamed from doc/src/images/HueSaturation_lightness2.png) | bin | 146104 -> 146104 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_lightness3.png (renamed from doc/src/images/HueSaturation_lightness3.png) | bin | 118329 -> 118329 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_saturation1.png (renamed from doc/src/images/HueSaturation_saturation1.png) | bin | 130480 -> 130480 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_saturation2.png (renamed from doc/src/images/HueSaturation_saturation2.png) | bin | 146104 -> 146104 bytes | |||
-rw-r--r-- | src/effects/doc/images/HueSaturation_saturation3.png (renamed from doc/src/images/HueSaturation_saturation3.png) | bin | 145687 -> 145687 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_butterfly.png (renamed from doc/src/images/InnerShadow_butterfly.png) | bin | 24735 -> 24735 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_color1.png (renamed from doc/src/images/InnerShadow_color1.png) | bin | 26631 -> 26631 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_color2.png (renamed from doc/src/images/InnerShadow_color2.png) | bin | 26207 -> 26207 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_color3.png (renamed from doc/src/images/InnerShadow_color3.png) | bin | 26885 -> 26885 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_fast1.png (renamed from doc/src/images/InnerShadow_fast1.png) | bin | 24516 -> 24516 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_fast2.png (renamed from doc/src/images/InnerShadow_fast2.png) | bin | 25208 -> 25208 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_horizontalOffset1.png (renamed from doc/src/images/InnerShadow_horizontalOffset1.png) | bin | 24297 -> 24297 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_horizontalOffset2.png (renamed from doc/src/images/InnerShadow_horizontalOffset2.png) | bin | 24175 -> 24175 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_horizontalOffset3.png (renamed from doc/src/images/InnerShadow_horizontalOffset3.png) | bin | 22163 -> 22163 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_radius1.png (renamed from doc/src/images/InnerShadow_radius1.png) | bin | 21336 -> 21336 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_radius2.png (renamed from doc/src/images/InnerShadow_radius2.png) | bin | 23283 -> 23283 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_radius3.png (renamed from doc/src/images/InnerShadow_radius3.png) | bin | 24046 -> 24046 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_spread1.png (renamed from doc/src/images/InnerShadow_spread1.png) | bin | 24175 -> 24175 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_spread2.png (renamed from doc/src/images/InnerShadow_spread2.png) | bin | 24662 -> 24662 bytes | |||
-rw-r--r-- | src/effects/doc/images/InnerShadow_spread3.png (renamed from doc/src/images/InnerShadow_spread3.png) | bin | 24982 -> 24982 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_butterfly.png (renamed from doc/src/images/LevelAdjust_butterfly.png) | bin | 20574 -> 20574 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_default_curve.png (renamed from doc/src/images/LevelAdjust_default_curve.png) | bin | 11478 -> 11478 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_gamma1.png (renamed from doc/src/images/LevelAdjust_gamma1.png) | bin | 22502 -> 22502 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_gamma1_curve.png (renamed from doc/src/images/LevelAdjust_gamma1_curve.png) | bin | 11478 -> 11478 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_gamma2.png (renamed from doc/src/images/LevelAdjust_gamma2.png) | bin | 22179 -> 22179 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_gamma2_curve.png (renamed from doc/src/images/LevelAdjust_gamma2_curve.png) | bin | 21388 -> 21388 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_gamma3.png (renamed from doc/src/images/LevelAdjust_gamma3.png) | bin | 19273 -> 19273 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_gamma3_curve.png (renamed from doc/src/images/LevelAdjust_gamma3_curve.png) | bin | 19752 -> 19752 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_maximumInput1.png (renamed from doc/src/images/LevelAdjust_maximumInput1.png) | bin | 20946 -> 20946 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_maximumInput2.png (renamed from doc/src/images/LevelAdjust_maximumInput2.png) | bin | 19353 -> 19353 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_maximumInput2_curve.png (renamed from doc/src/images/LevelAdjust_maximumInput2_curve.png) | bin | 15189 -> 15189 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_maximumInput3.png (renamed from doc/src/images/LevelAdjust_maximumInput3.png) | bin | 18810 -> 18810 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_maximumInput3_curve.png (renamed from doc/src/images/LevelAdjust_maximumInput3_curve.png) | bin | 14310 -> 14310 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_maximumOutput1.png (renamed from doc/src/images/LevelAdjust_maximumOutput1.png) | bin | 20946 -> 20946 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_maximumOutput2.png (renamed from doc/src/images/LevelAdjust_maximumOutput2.png) | bin | 20571 -> 20571 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_maximumOutput2_curve.png (renamed from doc/src/images/LevelAdjust_maximumOutput2_curve.png) | bin | 15427 -> 15427 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_maximumOutput3.png (renamed from doc/src/images/LevelAdjust_maximumOutput3.png) | bin | 20152 -> 20152 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_maximumOutput3_curve.png (renamed from doc/src/images/LevelAdjust_maximumOutput3_curve.png) | bin | 14296 -> 14296 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_minimumInput1.png (renamed from doc/src/images/LevelAdjust_minimumInput1.png) | bin | 20946 -> 20946 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_minimumInput2.png (renamed from doc/src/images/LevelAdjust_minimumInput2.png) | bin | 21299 -> 21299 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_minimumInput2_curve.png (renamed from doc/src/images/LevelAdjust_minimumInput2_curve.png) | bin | 15919 -> 15919 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_minimumInput3.png (renamed from doc/src/images/LevelAdjust_minimumInput3.png) | bin | 21174 -> 21174 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_minimumInput3_curve.png (renamed from doc/src/images/LevelAdjust_minimumInput3_curve.png) | bin | 15655 -> 15655 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_minimumOutput1.png (renamed from doc/src/images/LevelAdjust_minimumOutput1.png) | bin | 20946 -> 20946 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_minimumOutput2.png (renamed from doc/src/images/LevelAdjust_minimumOutput2.png) | bin | 20625 -> 20625 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_minimumOutput2_curve.png (renamed from doc/src/images/LevelAdjust_minimumOutput2_curve.png) | bin | 15679 -> 15679 bytes | |||
-rw-r--r-- | src/effects/doc/images/LevelAdjust_minimumOutput3.png (renamed from doc/src/images/LevelAdjust_minimumOutput3.png) | bin | 20248 -> 20248 bytes | |||
-rwxr-xr-x | src/effects/doc/images/LevelAdjust_minimumOutput3_curve.png (renamed from doc/src/images/LevelAdjust_minimumOutput3_curve.png) | bin | 15106 -> 15106 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient.png (renamed from doc/src/images/LinearGradient.png) | bin | 1014 -> 1014 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_end1.png (renamed from doc/src/images/LinearGradient_end1.png) | bin | 3038 -> 3038 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_end2.png (renamed from doc/src/images/LinearGradient_end2.png) | bin | 3370 -> 3370 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_end3.png (renamed from doc/src/images/LinearGradient_end3.png) | bin | 964 -> 964 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_gradient1.png (renamed from doc/src/images/LinearGradient_gradient1.png) | bin | 2970 -> 2970 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_gradient2.png (renamed from doc/src/images/LinearGradient_gradient2.png) | bin | 5035 -> 5035 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_gradient3.png (renamed from doc/src/images/LinearGradient_gradient3.png) | bin | 6921 -> 6921 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_maskSource1.png (renamed from doc/src/images/LinearGradient_maskSource1.png) | bin | 3038 -> 3038 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_maskSource2.png (renamed from doc/src/images/LinearGradient_maskSource2.png) | bin | 9197 -> 9197 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_start1.png (renamed from doc/src/images/LinearGradient_start1.png) | bin | 3038 -> 3038 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_start2.png (renamed from doc/src/images/LinearGradient_start2.png) | bin | 3120 -> 3120 bytes | |||
-rw-r--r-- | src/effects/doc/images/LinearGradient_start3.png (renamed from doc/src/images/LinearGradient_start3.png) | bin | 994 -> 994 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_bug.png (renamed from doc/src/images/MaskedBlur_bug.png) | bin | 102774 -> 102774 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_fast1.png (renamed from doc/src/images/MaskedBlur_fast1.png) | bin | 108064 -> 108064 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_fast2.png (renamed from doc/src/images/MaskedBlur_fast2.png) | bin | 103333 -> 103333 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_mask.png (renamed from doc/src/images/MaskedBlur_mask.png) | bin | 1451 -> 1451 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_radius1.png (renamed from doc/src/images/MaskedBlur_radius1.png) | bin | 125113 -> 125113 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_radius2.png (renamed from doc/src/images/MaskedBlur_radius2.png) | bin | 113732 -> 113732 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_radius3.png (renamed from doc/src/images/MaskedBlur_radius3.png) | bin | 108064 -> 108064 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_transparentBorder1.png (renamed from doc/src/images/MaskedBlur_transparentBorder1.png) | bin | 99793 -> 99793 bytes | |||
-rw-r--r-- | src/effects/doc/images/MaskedBlur_transparentBorder2.png (renamed from doc/src/images/MaskedBlur_transparentBorder2.png) | bin | 105721 -> 105721 bytes | |||
-rw-r--r-- | src/effects/doc/images/OpacityMask_bug.png (renamed from doc/src/images/OpacityMask_bug.png) | bin | 32712 -> 32712 bytes | |||
-rw-r--r-- | src/effects/doc/images/OpacityMask_mask.png (renamed from doc/src/images/OpacityMask_mask.png) | bin | 23210 -> 23210 bytes | |||
-rwxr-xr-x | src/effects/doc/images/Original_bug.png (renamed from doc/src/images/Original_bug.png) | bin | 129092 -> 129092 bytes | |||
-rwxr-xr-x | src/effects/doc/images/Original_butterfly.png (renamed from doc/src/images/Original_butterfly.png) | bin | 26308 -> 26308 bytes | |||
-rwxr-xr-x | src/effects/doc/images/Original_butterfly_black.png (renamed from doc/src/images/Original_butterfly_black.png) | bin | 23410 -> 23410 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_angle1.png (renamed from doc/src/images/RadialBlur_angle1.png) | bin | 137558 -> 137558 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_angle2.png (renamed from doc/src/images/RadialBlur_angle2.png) | bin | 87855 -> 87855 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_angle3.png (renamed from doc/src/images/RadialBlur_angle3.png) | bin | 86202 -> 86202 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_bug.png (renamed from doc/src/images/RadialBlur_bug.png) | bin | 80827 -> 80827 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_horizontalOffset1.png (renamed from doc/src/images/RadialBlur_horizontalOffset1.png) | bin | 85352 -> 85352 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_horizontalOffset2.png (renamed from doc/src/images/RadialBlur_horizontalOffset2.png) | bin | 86066 -> 86066 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialBlur_horizontalOffset3.png (renamed from doc/src/images/RadialBlur_horizontalOffset3.png) | bin | 87679 -> 87679 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient.png (renamed from doc/src/images/RadialGradient.png) | bin | 14615 -> 14615 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_angle1.png (renamed from doc/src/images/RadialGradient_angle1.png) | bin | 13226 -> 13226 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_angle2.png (renamed from doc/src/images/RadialGradient_angle2.png) | bin | 12562 -> 12562 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_angle3.png (renamed from doc/src/images/RadialGradient_angle3.png) | bin | 8579 -> 8579 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_default.png (renamed from doc/src/images/RadialGradient_default.png) | bin | 38888 -> 38888 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_gradient1.png (renamed from doc/src/images/RadialGradient_gradient1.png) | bin | 23482 -> 23482 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_gradient2.png (renamed from doc/src/images/RadialGradient_gradient2.png) | bin | 23997 -> 23997 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_gradient3.png (renamed from doc/src/images/RadialGradient_gradient3.png) | bin | 24488 -> 24488 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_horizontalOffset1.png (renamed from doc/src/images/RadialGradient_horizontalOffset1.png) | bin | 12449 -> 12449 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_horizontalOffset2.png (renamed from doc/src/images/RadialGradient_horizontalOffset2.png) | bin | 14898 -> 14898 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_horizontalOffset3.png (renamed from doc/src/images/RadialGradient_horizontalOffset3.png) | bin | 12494 -> 12494 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_horizontalRadius1.png (renamed from doc/src/images/RadialGradient_horizontalRadius1.png) | bin | 14898 -> 14898 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_horizontalRadius2.png (renamed from doc/src/images/RadialGradient_horizontalRadius2.png) | bin | 13226 -> 13226 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_horizontalRadius3.png (renamed from doc/src/images/RadialGradient_horizontalRadius3.png) | bin | 25340 -> 25340 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_maskSource1.png (renamed from doc/src/images/RadialGradient_maskSource1.png) | bin | 14898 -> 14898 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_maskSource2.png (renamed from doc/src/images/RadialGradient_maskSource2.png) | bin | 10670 -> 10670 bytes | |||
-rw-r--r-- | src/effects/doc/images/RadialGradient_withmask.png (renamed from doc/src/images/RadialGradient_withmask.png) | bin | 36472 -> 36472 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_applied.png (renamed from doc/src/images/RectangularGlow_applied.png) | bin | 4771 -> 4771 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_color1.png (renamed from doc/src/images/RectangularGlow_color1.png) | bin | 4596 -> 4596 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_color2.png (renamed from doc/src/images/RectangularGlow_color2.png) | bin | 5881 -> 5881 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_color3.png (renamed from doc/src/images/RectangularGlow_color3.png) | bin | 5808 -> 5808 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_cornerRadius1.png (renamed from doc/src/images/RectangularGlow_cornerRadius1.png) | bin | 2132 -> 2132 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_cornerRadius2.png (renamed from doc/src/images/RectangularGlow_cornerRadius2.png) | bin | 4596 -> 4596 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_cornerRadius3.png (renamed from doc/src/images/RectangularGlow_cornerRadius3.png) | bin | 7238 -> 7238 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_glowRadius1.png (renamed from doc/src/images/RectangularGlow_glowRadius1.png) | bin | 3586 -> 3586 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_glowRadius2.png (renamed from doc/src/images/RectangularGlow_glowRadius2.png) | bin | 4596 -> 4596 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_glowRadius3.png (renamed from doc/src/images/RectangularGlow_glowRadius3.png) | bin | 6451 -> 6451 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_spread1.png (renamed from doc/src/images/RectangularGlow_spread1.png) | bin | 4596 -> 4596 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_spread2.png (renamed from doc/src/images/RectangularGlow_spread2.png) | bin | 3468 -> 3468 bytes | |||
-rw-r--r-- | src/effects/doc/images/RectangularGlow_spread3.png (renamed from doc/src/images/RectangularGlow_spread3.png) | bin | 950 -> 950 bytes | |||
-rwxr-xr-x | src/effects/doc/images/RecursiveBlur_bug.png (renamed from doc/src/images/RecursiveBlur_bug.png) | bin | 62153 -> 62153 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_loops1.png (renamed from doc/src/images/RecursiveBlur_loops1.png) | bin | 60476 -> 60476 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_loops2.png (renamed from doc/src/images/RecursiveBlur_loops2.png) | bin | 47842 -> 47842 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_loops3.png (renamed from doc/src/images/RecursiveBlur_loops3.png) | bin | 39517 -> 39517 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_radius1.png (renamed from doc/src/images/RecursiveBlur_radius1.png) | bin | 67613 -> 67613 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_radius2.png (renamed from doc/src/images/RecursiveBlur_radius2.png) | bin | 54404 -> 54404 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_radius3.png (renamed from doc/src/images/RecursiveBlur_radius3.png) | bin | 48067 -> 48067 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_transparentBorder1.png (renamed from doc/src/images/RecursiveBlur_transparentBorder1.png) | bin | 48067 -> 48067 bytes | |||
-rw-r--r-- | src/effects/doc/images/RecursiveBlur_transparentBorder2.png (renamed from doc/src/images/RecursiveBlur_transparentBorder2.png) | bin | 58601 -> 58601 bytes | |||
-rwxr-xr-x | src/effects/doc/images/ThresholdMask_bug.png (renamed from doc/src/images/ThresholdMask_bug.png) | bin | 122971 -> 122971 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_mask.png (renamed from doc/src/images/ThresholdMask_mask.png) | bin | 67419 -> 67419 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_spread1.png (renamed from doc/src/images/ThresholdMask_spread1.png) | bin | 103062 -> 103062 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_spread2.png (renamed from doc/src/images/ThresholdMask_spread2.png) | bin | 140580 -> 140580 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_spread3.png (renamed from doc/src/images/ThresholdMask_spread3.png) | bin | 164039 -> 164039 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_threshold1.png (renamed from doc/src/images/ThresholdMask_threshold1.png) | bin | 146105 -> 146105 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_threshold2.png (renamed from doc/src/images/ThresholdMask_threshold2.png) | bin | 118087 -> 118087 bytes | |||
-rw-r--r-- | src/effects/doc/images/ThresholdMask_threshold3.png (renamed from doc/src/images/ThresholdMask_threshold3.png) | bin | 73829 -> 73829 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_bug.png (renamed from doc/src/images/ZoomBlur_bug.png) | bin | 80077 -> 80077 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_horizontalOffset1.png (renamed from doc/src/images/ZoomBlur_horizontalOffset1.png) | bin | 90009 -> 90009 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_horizontalOffset2.png (renamed from doc/src/images/ZoomBlur_horizontalOffset2.png) | bin | 88471 -> 88471 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_horizontalOffset3.png (renamed from doc/src/images/ZoomBlur_horizontalOffset3.png) | bin | 88680 -> 88680 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_length1.png (renamed from doc/src/images/ZoomBlur_length1.png) | bin | 137558 -> 137558 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_length2.png (renamed from doc/src/images/ZoomBlur_length2.png) | bin | 88471 -> 88471 bytes | |||
-rw-r--r-- | src/effects/doc/images/ZoomBlur_length3.png (renamed from doc/src/images/ZoomBlur_length3.png) | bin | 84765 -> 84765 bytes | |||
-rwxr-xr-x | src/effects/doc/images/bug.jpg (renamed from doc/src/snippets/images/bug.jpg) | bin | 376684 -> 376684 bytes | |||
-rw-r--r-- | src/effects/doc/images/butterfly.png (renamed from doc/src/snippets/images/butterfly.png) | bin | 36912 -> 36912 bytes | |||
-rw-r--r-- | src/effects/doc/images/checker.png (renamed from doc/src/snippets/images/checker.png) | bin | 1202 -> 1202 bytes | |||
-rw-r--r-- | src/effects/doc/images/fog.png (renamed from doc/src/snippets/images/fog.png) | bin | 225653 -> 225653 bytes | |||
-rwxr-xr-x | src/effects/doc/images/glass_normal.png (renamed from doc/src/snippets/images/glass_normal.png) | bin | 13489 -> 13489 bytes | |||
-rw-r--r-- | src/effects/doc/qtgraphicaleffects.qdocconf | 46 | ||||
-rw-r--r-- | src/effects/doc/snippets/Blend-example.qml (renamed from doc/src/snippets/Blend-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/BrightnessContrast-example.qml (renamed from doc/src/snippets/BrightnessContrast-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/ColorOverlay-example.qml (renamed from doc/src/snippets/ColorOverlay-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/Colorize-example.qml (renamed from doc/src/snippets/Colorize-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/ConicalGradient-example.qml (renamed from doc/src/snippets/ConicalGradient-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/Desaturate-example.qml (renamed from doc/src/snippets/Desaturate-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/DirectionalBlur-example.qml (renamed from doc/src/snippets/DirectionalBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/Displace-example.qml (renamed from doc/src/snippets/Displace-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/DropShadow-example.qml (renamed from doc/src/snippets/DropShadow-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/FastBlur-example.qml (renamed from doc/src/snippets/FastBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/GammaAdjust-example.qml (renamed from doc/src/snippets/GammaAdjust-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/GaussianBlur-example.qml (renamed from doc/src/snippets/GaussianBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/Glow-example.qml (renamed from doc/src/snippets/Glow-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/HueSaturation-example.qml (renamed from doc/src/snippets/HueSaturation-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/InnerShadow-example.qml (renamed from doc/src/snippets/InnerShadow-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/LevelAdjust-example.qml (renamed from doc/src/snippets/LevelAdjust-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/LinearGradient-example.qml (renamed from doc/src/snippets/LinearGradient-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/MaskedBlur-example.qml (renamed from doc/src/snippets/MaskedBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/OpacityMask-example.qml (renamed from doc/src/snippets/OpacityMask-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/RadialBlur-example.qml (renamed from doc/src/snippets/RadialBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/RadialGradient-example.qml (renamed from doc/src/snippets/RadialGradient-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/RectangularGlow-example.qml (renamed from doc/src/snippets/RectangularGlow-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/RecursiveBlur-example.qml (renamed from doc/src/snippets/RecursiveBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/ThresholdMask-example.qml (renamed from doc/src/snippets/ThresholdMask-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/snippets/ZoomBlur-example.qml (renamed from doc/src/snippets/ZoomBlur-example.qml) | 0 | ||||
-rw-r--r-- | src/effects/doc/src/overview-graphicaleffects.qdoc (renamed from doc/src/overview-graphicaleffects.qdoc) | 0 | ||||
-rw-r--r-- | src/effects/doc/src/qtgraphicaleffects.qdoc (renamed from doc/src/qtgraphicaleffects.qdoc) | 4 |
351 files changed, 4340 insertions, 5405 deletions
diff --git a/doc/doc.pri b/doc/doc.pri deleted file mode 100644 index 3a40bb9..0000000 --- a/doc/doc.pri +++ /dev/null @@ -1,8 +0,0 @@ -OTHER_FILES += $$PWD/qtgraphicaleffects.qdocconf - -docs_target.target = docs -docs_target.commands = qdoc $$PWD/qtgraphicaleffects.qdocconf - -QMAKE_EXTRA_TARGETS = docs_target -QMAKE_CLEAN += "-r $$PWD/html" - diff --git a/doc/qtgraphicaleffects.qdocconf b/doc/qtgraphicaleffects.qdocconf deleted file mode 100644 index 20e82fc..0000000 --- a/doc/qtgraphicaleffects.qdocconf +++ /dev/null @@ -1,64 +0,0 @@ -# Name of the project. -project = QtGraphicalEffects - -# Directories in which to search for files to document. -# Paths are relative to the location of this file. -exampledirs += ./src -#headerdirs += ./src ../src -imagedirs += ./src/images -sourcedirs += ./src - -# The following parameters are for creating a qhp file, the qhelpgenerator -# program can convert the qhp file into a qch file which can be opened in -# Qt Assistant and/or Qt Creator. - -# Defines the name of the project. You cannot use operators (+, =, -) in -# the name. Properties for this project are set using a qhp.<projectname>.property -# format. -qhp.projects = QtGraphicalEffects - -# Sets the name of the output qhp file. -qhp.QtGraphicalEffects.file = QtGraphicalEffects.qhp - -# Namespace for the output file. This namespace is used to distinguish between -# different documentation files in Creator/Assistant. The namespace ends with -# a version being a number containing a major, minor and revision element. -# E.g. version 1.0 becomes 100. -qhp.QtGraphicalEffects.namespace = QtGraphicalEffects.100 - -# Title for the package, will be the main title for the package in -# Assistant/Creator. -qhp.QtGraphicalEffects.indexTitle = Qt Graphical Effects Reference Documentation - -# Extra files to add to the output which are not linked to from anywhere -# using a qdoc \l command. -qhp.QtGraphicalEffects.extraFiles = style/style.css -# index.html - -# Only updtae the name of the project for the next variables. -qhp.QtGraphicalEffects.virtualFolder = qdoc -qhp.QtGraphicalEffects.subprojects = classes -qhp.QtGraphicalEffects.subprojects.classes.title = Classes -qhp.QtGraphicalEffects.subprojects.classes.selectors = class fake:headerfile -qhp.QtGraphicalEffects.subprojects.classes.sortPages = true - - - - -# Do NOT change the variables after this line unless you know what you are doing. - -outputdir = html -outputformats = HTML - -examples.fileextensions = "*.cpp *.h *.js *.svg *.xml *.ui *.qml" -examples.imageextensions = "*.png *.jpeg *.jpg *.gif *.mng" -headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx" -sources.fileextensions = "*.cpp *.qdoc *.mm *.qml" - -HTML.nobreadcrumbs = "true" - -HTML.templatedir = . -HTML.stylesheets = style/style.css - -HTML.headerstyles = " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\" />\n" -HTML.endheader = "</head>\n" diff --git a/doc/src/qtgraphicaleffects-blend.qdoc b/doc/src/qtgraphicaleffects-blend.qdoc deleted file mode 100644 index d7d8831..0000000 --- a/doc/src/qtgraphicaleffects-blend.qdoc +++ /dev/null @@ -1,240 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype Blend - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blend - \brief Merges two source items by using a blend mode. - - Blend mode can be selected with the \l{Blend::mode}{mode} property. - - \table - \header - \li source - \li foregroundSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image Original_butterfly.png - \li \image Blend_bug_and_butterfly.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/Blend-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Blend::source - - This property defines the source item that is going to be the base when \l{Blend::foregroundSource}{foregroundSource} is blended over it. - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Blend::foregroundSource - - This property defines the item that is going to be blended over the \l{Blend::source}{source}. - -*/ - -/*! - \qmlproperty string QtGraphicalEffects1::Blend::mode - - This property defines the mode which is used when foregroundSource is blended over source. Values are - case insensitive. - - \table - \header - \li mode - \li description - \row - \li normal - \li The pixel component values from foregroundSource are written over source by using alpha blending. - \row - \li addition - \li The pixel component values from source and foregroundSource are added together and written. - \row - \li average - \li The pixel component values from source and foregroundSource are averaged and written. - \row - \li color - \li The lightness value from source is combined with hue and saturation from foregroundSource and written. - \row - \li colorBurn - \li The darker pixels from source are darkened more, if both source and foregroundSource pixels are light the result is light. - \row - \li colorDodge - \li The lighter pixels from source are lightened more, if both source and foregroundSource pixels are dark the result is dark. - \row - \li darken - \li The darker pixel component value from source and foregroundSource is written. - \row - \li darkerColor - \li The lower luminance pixel rgb-value from source and foregroundSource is written. - \row - \li difference - \li The absolute pixel component value difference between source and foregroundSource is written. - \row - \li divide - \li The pixel component values from source is divided by the value from foregroundSource and written. - \row - \li exclusion - \li The pixel component value difference with reduced contrast between source and foregroundSource is written. - \row - \li hardLight - \li The pixel component values from source are lightened or darkened according to foregroundSource values and written. - \row - \li hue - \li The hue value from foregroundSource is combined with saturation and lightness from source and written. - \row - \li lighten - \li The lightest pixel component value from source and foregroundSource is written. - \row - \li lighterColor - \li The higher luminance pixel rgb-value from source and foregroundSource is written. - \row - \li lightness - \li The lightness value from foregroundSource is combined with hue and saturation from source and written. - \row - \li multiply - \li The pixel component values from source and foregroundSource are multiplied together and written. - \row - \li negation - \li The inverted absolute pixel component value difference between source and foregroundSource is written. - \row - \li saturation - \li The saturation value from foregroundSource is combined with hue and lightness from source and written. - \row - \li screen - \li The pixel values from source and foregroundSource are negated, then multiplied, negated again, and written. - \row - \li subtract - \li Pixel value from foregroundSource is subracted from source and written. - \row - \li softLight - \li The pixel component values from source are lightened or darkened slightly according to foregroundSource values and written. - - \endtable - - \table - \header - \li Example source - \li Example foregroundSource - \row - \li \image Original_bug.png - \li \image Original_butterfly.png - \endtable - - \table - \header - \li Output examples with different mode values - \li - \li - \row - \li \image Blend_mode1.png - \li \image Blend_mode2.png - \li \image Blend_mode3.png - \row - \li \b { mode: normal } - \li \b { mode: addition } - \li \b { mode: average } - \row - \li \image Blend_mode4.png - \li \image Blend_mode5.png - \li \image Blend_mode6.png - \row - \li \b { mode: color } - \li \b { mode: colorBurn } - \li \b { mode: colorDodge } - \row - \li \image Blend_mode7.png - \li \image Blend_mode8.png - \li \image Blend_mode9.png - \row - \li \b { mode: darken } - \li \b { mode: darkerColor } - \li \b { mode: difference } - \row - \li \image Blend_mode10.png - \li \image Blend_mode11.png - \li \image Blend_mode12.png - \row - \li \b { mode: divide } - \li \b { mode: exclusion } - \li \b { mode: hardlight } - \row - \li \image Blend_mode13.png - \li \image Blend_mode14.png - \li \image Blend_mode15.png - \row - \li \b { mode: hue } - \li \b { mode: lighten } - \li \b { mode: lighterColor } - \row - \li \image Blend_mode16.png - \li \image Blend_mode17.png - \li \image Blend_mode18.png - \row - \li \b { mode: lightness } - \li \b { mode: negation } - \li \b { mode: multiply } - \row - \li \image Blend_mode19.png - \li \image Blend_mode20.png - \li \image Blend_mode21.png - \row - \li \b { mode: saturation } - \li \b { mode: screen } - \li \b { mode: subtract } - \row - \li \image Blend_mode22.png - \row - \li \b { mode: softLight } - \endtable - - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::Blend::cached - - This property allows the effect output pixels to be cached in order to improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the cache must be updated. - Memory consumption is increased, because an extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect properties are animated. - - By default, the property is set to false. - -*/ diff --git a/doc/src/qtgraphicaleffects-brightnesscontrast.qdoc b/doc/src/qtgraphicaleffects-brightnesscontrast.qdoc deleted file mode 100644 index 49872ab..0000000 --- a/doc/src/qtgraphicaleffects-brightnesscontrast.qdoc +++ /dev/null @@ -1,148 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype BrightnessContrast - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Adjusts brightness and contrast. - - This effect adjusts the source item colors. - Brightness adjustment changes the perceived luminance of the source item. - Contrast adjustment increases or decreases the color - and brightness variations. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image BrightnessContrast_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/BrightnessContrast-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::BrightnessContrast::source - - This property defines the source item that provides the source pixels for - the effect. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::BrightnessContrast::brightness - - This property defines how much the source brightness is increased or - decreased. - - The value ranges from -1.0 to 1.0. By default, the property is set to \c 0.0 - (no change). - - \table - \header - \li Output examples with different brightness values - \li - \li - \row - \li \image BrightnessContrast_brightness1.png - \li \image BrightnessContrast_brightness2.png - \li \image BrightnessContrast_brightness3.png - \row - \li \b { brightness: -0.25 } - \li \b { brightness: 0 } - \li \b { brightness: 0.5 } - \row - \li \l contrast: 0 - \li \l contrast: 0 - \li \l contrast: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::BrightnessContrast::contrast - - This property defines how much the source contrast is increased or - decreased. The decrease of the contrast is linear, but the increase is - applied with a non-linear curve to allow very high contrast adjustment at - the high end of the value range. - - \table - \header - \li Contrast adjustment curve - \row - \li \image BrightnessContrast_contrast_graph.png - \endtable - - The value ranges from -1.0 to 1.0. By default, the property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different contrast values - \li - \li - \row - \li \image BrightnessContrast_contrast1.png - \li \image BrightnessContrast_contrast2.png - \li \image BrightnessContrast_contrast3.png - \row - \li \b { contrast: -0.5 } - \li \b { contrast: 0 } - \li \b { contrast: 0.5 } - \row - \li \l brightness: 0 - \li \l brightness: 0 - \li \l brightness: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::BrightnessContrast::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-colorize.qdoc b/doc/src/qtgraphicaleffects-colorize.qdoc deleted file mode 100644 index d62bb70..0000000 --- a/doc/src/qtgraphicaleffects-colorize.qdoc +++ /dev/null @@ -1,196 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype Colorize - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Sets the color in the HSL color space. - - The effect is similar to what happens when a colorized glass is put on top - of a grayscale image. Colorize uses the hue, saturation, and lightness (HSL) - color space. You can specify a desired value for each property. You can - shift all HSL values with the - \l{QtGraphicalEffects1::HueSaturation}{HueSaturation} effect. - - Alternatively, you can use the - \l{QtGraphicalEffects1::ColorOverlay}{ColorOverlay} effect to colorize the - source item in the RGBA color space. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image Colorize_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/Colorize-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Colorize::source - - This property defines the source item that provides the source pixels for - the effect. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::Colorize::hue - - This property defines the hue value which is used to colorize the source. - - The value ranges from 0.0 to 1.0. By default, the property is set to \c 0.0, - which produces a slightly red color. - - \table - \header - \li Allowed hue values - \row - \li \image Colorize_hue_scale.png - \endtable - - \table - \header - \li Output examples with different hue values - \li - \li - \row - \li \image Colorize_hue1.png - \li \image Colorize_hue2.png - \li \image Colorize_hue3.png - \row - \li \b { hue: 0.2 } - \li \b { hue: 0.5 } - \li \b { hue: 0.8 } - \row - \li \l saturation: 1 - \li \l saturation: 1 - \li \l saturation: 1 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::Colorize::saturation - - This property defines the saturation value which is used to colorize the - source. - - The value ranges from 0.0 (desaturated) to 1.0 (saturated). By default, the - property is set to \c 1.0 (saturated). - - \table - \header - \li Output examples with different saturation values - \li - \li - \row - \li \image Colorize_saturation1.png - \li \image Colorize_saturation2.png - \li \image Colorize_saturation3.png - \row - \li \b { saturation: 0 } - \li \b { saturation: 0.5 } - \li \b { saturation: 1 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::Colorize::lightness - - This property defines how much the source lightness value is increased or - decreased. - - Unlike hue and saturation properties, lightness does not set the used value, - but it shifts the existing source pixel lightness value. - - The value ranges from -1.0 (decreased) to 1.0 (increased). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different lightness values - \li - \li - \row - \li \image Colorize_lightness1.png - \li \image Colorize_lightness2.png - \li \image Colorize_lightness3.png - \row - \li \b { lightness: -0.75 } - \li \b { lightness: 0 } - \li \b { lightness: 0.75 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l saturation: 1 - \li \l saturation: 1 - \li \l saturation: 1 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::Colorize::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-coloroverlay.qdoc b/doc/src/qtgraphicaleffects-coloroverlay.qdoc deleted file mode 100644 index fa4a3e4..0000000 --- a/doc/src/qtgraphicaleffects-coloroverlay.qdoc +++ /dev/null @@ -1,102 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype ColorOverlay - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Alters the colors of the source item by applying an overlay color. - - The effect is similar to what happens when a colorized glass is put on top - of a grayscale image. The color for the overlay is given in the RGBA format. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly.png - \li \image ColorOverlay_butterfly.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/ColorOverlay-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::ColorOverlay::source - - This property defines the source item that provides the source pixels for - the effect. - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::ColorOverlay::color - - This property defines the RGBA color value which is used to colorize the source. - - By default, the property is set to \c "transparent". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image ColorOverlay_color1.png - \li \image ColorOverlay_color2.png - \li \image ColorOverlay_color3.png - \row - \li \b { color: #80ff0000 } - \li \b { color: #8000ff00 } - \li \b { color: #800000ff } - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::Colorize::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-conicalgradient.qdoc b/doc/src/qtgraphicaleffects-conicalgradient.qdoc deleted file mode 100644 index 8e4cb4b..0000000 --- a/doc/src/qtgraphicaleffects-conicalgradient.qdoc +++ /dev/null @@ -1,242 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype ConicalGradient - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-gradient - \brief Draws a conical gradient. - - A gradient is defined by two or more colors, which are blended seamlessly. - The colors start from the specified angle and end at 360 degrees larger - angle value. - - \table - \header - \li Effect applied - \row - \li \image ConicalGradient.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/ConicalGradient-example.qml example - -*/ - -/*! - \qmlproperty Gradient QtGraphicalEffects1::ConicalGradient::gradient - - A gradient is defined by two or more colors, which are blended seamlessly. - The colors are specified as a set of GradientStop child items, each of which - defines a position on the gradient (from 0.0 to 1.0), and a color. - The position of each GradientStop is defined by the position property. - The color is defined by the color property. - - \table - \header - \li Output examples with different gradient values - \li - \li - \row - \li \image ConicalGradient_gradient1.png - \li \image ConicalGradient_gradient2.png - \li \image ConicalGradient_gradient3.png - \row - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.000 - color: Qt.rgba(1, 0, 0, 1) } - GradientStop { position: 0.167; - color: Qt.rgba(1, 1, 0, 1) } - GradientStop { position: 0.333; - color: Qt.rgba(0, 1, 0, 1) } - GradientStop { position: 0.500; - color: Qt.rgba(0, 1, 1, 1) } - GradientStop { position: 0.667; - color: Qt.rgba(0, 0, 1, 1) } - GradientStop { position: 0.833; - color: Qt.rgba(1, 0, 1, 1) } - GradientStop { position: 1.000; - color: Qt.rgba(1, 0, 0, 1) } -} - \endcode - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.0 - color: "#F0F0F0" - } - GradientStop { position: 0.5 - color: "#000000" - } - GradientStop { position: 1.0 - color: "#F0F0F0" - } -} - \endcode - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.0 - color: "#00000000" - } - GradientStop { position: 1.0 - color: "#FF000000" - } -} - \endcode - \row - \li \l angle: 0 - \li \l angle: 0 - \li \l angle: 0 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::ConicalGradient::source - - This property defines the item that is going to be filled with gradient. Source - item gets rendered into an intermediate pixel buffer and the alpha values - from the result are used to determine the gradient's pixels visibility in - the display. - The default value for source is undefined and in that case whole effect area - is filled with gradient. - - \table - \header - \li Output examples with different source values - \li - \row - \li \image ConicalGradient_maskSource1.png - \li \image ConicalGradient_maskSource2.png - \row - \li \b { source: undefined } - \li \b { source: } - \row - \li \l angle: 0 - \li \l angle: 0 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::ConicalGradient::angle - - This property defines the starting angle where the color at the gradient - position of 0.0 is rendered. Colors at larger position values are rendered - into larger angle values and blended seamlessly. Angle values increase - clockwise. - - \table - \header - \li Output examples with different angle values - \li - \li - \row - \li \image ConicalGradient_angle1.png - \li \image ConicalGradient_angle2.png - \li \image ConicalGradient_angle3.png - \row - \li \b { angle: 0 } - \li \b { angle: 45 } - \li \b { angle: 185 } - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::ConicalGradient::horizontalOffset - \qmlproperty real QtGraphicalEffects1::ConicalGradient::verticalOffset - - The HorizontalOffset and verticalOffset properties define the offset in - pixels for the center point of the gradient compared to the item center. - - The value ranges from -inf to inf. By default, the properties are set to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image ConicalGradient_horizontalOffset1.png - \li \image ConicalGradient_horizontalOffset2.png - \li \image ConicalGradient_horizontalOffset3.png - \row - \li \b { horizontalOffset: -50 } - \li \b { horizontalOffset: 0 } - \li \b { horizontalOffset: 50 } - \row - \li \l angle: 0 - \li \l angle: 0 - \li \l angle: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::ConicalGradient::cached - - This property allows the effect output pixels to be cached in order to improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the cache must be updated. - Memory consumption is increased, because an extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-desaturate.qdoc b/doc/src/qtgraphicaleffects-desaturate.qdoc deleted file mode 100644 index 36037f8..0000000 --- a/doc/src/qtgraphicaleffects-desaturate.qdoc +++ /dev/null @@ -1,103 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype Desaturate - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Reduces the saturation of the colors. - - Desaturated pixel values are calculated as averages of the original RGB - component values of the source item. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image Desaturate_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/Desaturate-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Desaturate::source - - This property defines the source item that provides the source pixels to the - effect. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::Desaturate::desaturation - - This property defines how much the source colors are desaturated. - - The value ranges from 0.0 (no change) to 1.0 (desaturated). By default, the - property is set to \c 0.0 (no chnage). - - \table - \header - \li Output examples with different desaturation values - \li - \li - \row - \li \image Desaturate_desaturation1.png - \li \image Desaturate_desaturation2.png - \li \image Desaturate_desaturation3.png - \row - \li \b { desaturation: 0.0 } - \li \b { desaturation: 0.5 } - \li \b { desaturation: 1.0 } - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::Desaturate::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-directionalblur.qdoc b/doc/src/qtgraphicaleffects-directionalblur.qdoc deleted file mode 100644 index 6357946..0000000 --- a/doc/src/qtgraphicaleffects-directionalblur.qdoc +++ /dev/null @@ -1,189 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype DirectionalBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-motion-blur - \brief Applies blur effect to the specified direction. - - Effect creates perceived impression that the source item appears to be - moving in the direction of the blur. Blur is applied to both sides of - each pixel, therefore setting the direction to 0 and 180 provides the - same result. - - Other available motionblur effects are \l{QtGraphicalEffects1::ZoomBlur}{ZoomBlur} and - \l{QtGraphicalEffects1::RadialBlur}{RadialBlur}. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image DirectionalBlur_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/DirectionalBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::DirectionalBlur::source - - This property defines the source item that is going to be blurred. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::DirectionalBlur::length - - This property defines the percieved amount of movement for each pixel. - The movement is divided evenly to both sides of each pixel. - - The quality of the blur depends on \l{DirectionalBlur::samples}{samples} property. If length value is - large, more samples are needed to keep the visual quality at high level. - - The value ranges from 0.0 to inf. - By default the property is set to \c 0.0 (no blur). - - \table - \header - \li Output examples with different length values - \li - \li - \row - \li \image DirectionalBlur_length1.png - \li \image DirectionalBlur_length2.png - \li \image DirectionalBlur_length3.png - \row - \li \b { length: 0.0 } - \li \b { length: 32.0 } - \li \b { length: 48.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l angle: 0 - \li \l angle: 0 - \li \l angle: 0 - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::DirectionalBlur::samples - - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - Allowed values are between 0 and inf (practical maximum depends on GPU). - By default the property is set to \c 0 (no samples). - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::DirectionalBlur::angle - - This property defines the direction for the blur. Blur is applied to - both sides of each pixel, therefore setting the direction to 0 and 180 - produces the same result. - - The value ranges from -180.0 to 180.0. - By default the property is set to \c 0.0. - - \table - \header - \li Output examples with different angle values - \li - \li - \row - \li \image DirectionalBlur_angle1.png - \li \image DirectionalBlur_angle2.png - \li \image DirectionalBlur_angle3.png - \row - \li \b { angle: 0.0 } - \li \b { angle: 45.0 } - \li \b { angle: 90.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l length: 32 - \li \l length: 32 - \li \l length: 32 - \endtable - -*/ - - -/*! - \qmlproperty bool QtGraphicalEffects1::DirectionalBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::DirectionalBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-displace.qdoc b/doc/src/qtgraphicaleffects-displace.qdoc deleted file mode 100644 index 648ad1f..0000000 --- a/doc/src/qtgraphicaleffects-displace.qdoc +++ /dev/null @@ -1,134 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype Displace - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-distortion - \brief Moves the pixels of the source item according to the given - displacement map. - - \table - \header - \li Source - \li DisplacementSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image Displace_map.png - \li \image Displace_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/Displace-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Displace::source - - This property defines the source item for the pixels that are going to be - displaced according to the data from \l{Displace::displacementSource}{displacementSource}. - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Displace::displacementSource - - This property defines the item that is going to be used as the displacement - map. The displacementSource item gets rendered into the intermediate pixel - buffer. The red and green component values from the result determine the - displacement of the pixels from the source item. - - The format for the displacement map is similar to the tangent space normal - maps, which can be created with most 3D-modeling tools. Many image - processing tools include the support for generating normal maps. - Alternatively, the displacement map for this effect can also be a QML - element which is colored appropriately. Like any QML element, it can be - animated. It is recommended that the size of the diplacement map matches the - size of the \l{Displace::source}{source}. - - The displace data is interpreted in the RGBA format. For every pixel: the - red channel stores the x-axis displacement, and the green channel stores the - y-axis displacement. Blue and alpha channels are ignored for this effect. - - Assuming that red channel value 1.0 is fully red (0.0 having no red at all), - this effect considers pixel component value 0.5 to cause no displacement at - all. Values above 0.5 shift pixels to the left, values below 0.5 do the - shift to the right. In a similar way, green channel values above 0.5 - displace the pixels upwards, and values below 0.5 shift the pixels - downwards. The actual amount of displacement in pixels depends on the \l - displacement property. - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Displace::displacement - - This property defines the scale for the displacement. The bigger scale, the - bigger the displacement of the pixels. The value set to 0.0 causes no - displacement. - - The value ranges from -1.0 (inverted maximum shift, according to - displacementSource) to 1.0 (maximum shift, according to displacementSource). - By default, the property is set to \c 0.0 (no displacement). - - \table - \header - \li Output examples with different displacement values - \li - \li - \row - \li \image Displace_displacement1.png - \li \image Displace_displacement2.png - \li \image Displace_displacement3.png - \row - \li \b { displacement: -0.2 } - \li \b { displacement: 0.0 } - \li \b { displacement: 0.2 } - \endtable - -*/ - - -/*! - \qmlproperty bool QtGraphicalEffects1::Displace::cached - - This property allows the effect output pixels to be cached in order to improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the cache must be updated. - Memory consumption is increased, because an extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-dropshadow.qdoc b/doc/src/qtgraphicaleffects-dropshadow.qdoc deleted file mode 100644 index 9a727c6..0000000 --- a/doc/src/qtgraphicaleffects-dropshadow.qdoc +++ /dev/null @@ -1,333 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype DropShadow - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-drop-shadow - \brief Generates a colorized and blurred shadow image of the - source and places it behind the original, giving the impression that - source item is raised from the background. - - By default the effect produces a high quality shadow image, thus the - rendering speed of the shadow might not be the highest possible. The - rendering speed is reduced especially if the shadow edges are heavily - softened. - For use cases that require faster rendering speed and for which the highest - possible visual quality is not necessary, property \l{DropShadow::fast}{fast} can be set to true. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly.png - \li \image DropShadow_butterfly.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/DropShadow-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::DropShadow::source - - This property defines the source item that is going to be used as the source - for the generated shadow. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::DropShadow::radius - - Radius defines the softness of the shadow. A larger radius causes the edges - of the shadow to appear more blurry. - - Depending on the radius value, value of the \l{DropShadow::samples}{samples} should be set to sufficiently - large to ensure the visual quality. - - The value ranges from 0.0 (no blur) to inf. By default, the property is set to - \c 0.0 (no blur). - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image DropShadow_radius1.png - \li \image DropShadow_radius2.png - \li \image DropShadow_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 6 } - \li \b { radius: 12 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #000000 - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::DropShadow::samples - - This property defines how many samples are taken per pixel when edge softening - blur calculation is done. Larger value produces better quality, but is slower - to render. - - Ideally, this value should be twice as large as the highest required radius - value, for example, if the radius is animated between 0.0 and 4.0, samples - should be set to 8. - - The value ranges from 0 to 32. By default, the property is set to \c 0. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - When \l{DropShadow::fast}{fast} property is set to true, this property has no effect. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::DropShadow::spread - - This property defines how large part of the shadow color is strenghtened near - the source edges. - - The value ranges from 0.0 to 1.0. By default, the property is set to \c 0.5. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image DropShadow_spread1.png - \li \image DropShadow_spread2.png - \li \image DropShadow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.5 } - \li \b { spread: 1.0 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 16 - \li \l samples: 16 - \li \l samples: 16 - \row - \li \l color: #000000 - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \endtable - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::DropShadow::color - - This property defines the RGBA color value which is used for the shadow. - - By default, the property is set to \c "black". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image DropShadow_color1.png - \li \image DropShadow_color2.png - \li \image DropShadow_color3.png - \row - \li \b { color: #000000 } - \li \b { color: #0000ff } - \li \b { color: #aa000000 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 16 - \li \l samples: 16 - \li \l samples: 16 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::DropShadow::horizontalOffset - \qmlproperty real QtGraphicalEffects1::DropShadow::verticalOffset - - HorizontalOffset and verticalOffset properties define the offset - for the rendered shadow compared to the DropShadow item position. Often, the - DropShadow item is anchored so that it fills the source element. In this - case, if the HorizontalOffset and verticalOffset properties are set to 0, the - shadow is rendered exactly under the source item. By changing the offset - properties, the shadow can be positioned relatively to the source item. - - The values range from -inf to inf. By default, the properties are set to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image DropShadow_horizontalOffset1.png - \li \image DropShadow_horizontalOffset2.png - \li \image DropShadow_horizontalOffset3.png - \row - \li \b { horizontalOffset: -20 } - \li \b { horizontalOffset: 0 } - \li \b { horizontalOffset: 20 } - \row - \li \l radius: 4 - \li \l radius: 4 - \li \l radius: 4 - \row - \li \l samples: 8 - \li \l samples: 8 - \li \l samples: 8 - \row - \li \l color: #000000 - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::DropShadow::fast - - This property selects the blurring algorithm that is used to produce the - softness for the effect. Setting this to true enables fast algorithm, - setting value to false produces higher quality result. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different fast values - \li - \li - \row - \li \image DropShadow_fast1.png - \li \image DropShadow_fast2.png - \row - \li \b { fast: false } - \li \b { fast: true } - \row - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 20 - \li \l verticalOffset: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::DropShadow::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - Every time the source or effect properties are changed, the pixels in the cache - must be updated. Memory consumption is increased, because an extra buffer of - memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-fastblur.qdoc b/doc/src/qtgraphicaleffects-fastblur.qdoc deleted file mode 100644 index 281661a..0000000 --- a/doc/src/qtgraphicaleffects-fastblur.qdoc +++ /dev/null @@ -1,143 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype FastBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blur - \brief Applies a fast blur effect to one or more source items. - - FastBlur offers lower blur quality than - \l{QtGraphicalEffects1::GaussianBlur}{GaussianBlur}, but it is faster to - render. The FastBlur effect softens the source content by blurring it with - algorithm which uses the source content downscaling and bilinear filtering. - Use this effect in situations where the source content is rapidly changing - and the highest possible blur quality is not - needed. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image FastBlur_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/FastBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::FastBlur::source - - This property defines the source item that is going to be blurred. - -*/ -/*! - \qmlproperty real QtGraphicalEffects1::FastBlur::radius - - This property defines the distance of the neighboring pixels which affect - the blurring of an individual pixel. A larger radius increases the blur - effect. FastBlur algorithm may internally reduce the accuracy of the radius in order to - provide good rendering performance. - - The value ranges from 0.0 (no blur) to inf. Visual quality of the blur is reduced when - radius exceeds value 64. By default, the property is set to \c 0.0 (no blur). - - \table - \header - \li Output examples with different blur values - \li - \li - \row - \li \image FastBlur_radius1.png - \li \image FastBlur_radius2.png - \li \image FastBlur_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 32 } - \li \b { radius: 64 } - \endtable -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::FastBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different transparentBorder values - \li - \li - \row - \li \image FastBlur_transparentBorder1.png - \li \image FastBlur_transparentBorder2.png - \row - \li \b { transparentBorder: false } - \li \b { transparentBorder: true } - \row - \li \l radius: 64 - \li \l radius: 64 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::FastBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-gammaadjust.qdoc b/doc/src/qtgraphicaleffects-gammaadjust.qdoc deleted file mode 100644 index 937a45e..0000000 --- a/doc/src/qtgraphicaleffects-gammaadjust.qdoc +++ /dev/null @@ -1,139 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype GammaAdjust - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Alters the luminance of the source item. - - GammaAdjust is applied to each pixel according to the curve which is - pre-defined as a power-law expression, where the property gamma is used as the - reciprocal scaling exponent. Refer to the property documentation of \l{GammaAdjust::gamma}{gamma} - for more details. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image GammaAdjust_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/GammaAdjust-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::GammaAdjust::source - - This property defines the source item for which the luminance is going to be - adjusted. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::GammaAdjust::gamma - - This property defines the change factor for how the luminance of each pixel - is altered according to the equation: - - \code luminance = pow(original_luminance, 1.0 / gamma); // The luminance is assumed to be between 0.0 and 1.0 \endcode - - Setting the gamma values under 1.0 makes the image darker, the values - above 1.0 lighten it. - - The value ranges from 0.0 (darkest) to inf (lightest). By default, the property - is set to \c 1.0 (no change). - - \table - \header - \li Output examples with different gamma values - \li - \li - \row - \li \image GammaAdjust_gamma1.png - \li \image GammaAdjust_gamma2.png - \li \image GammaAdjust_gamma3.png - \row - \li \b { gamma: 0.5 } - \li \b { gamma: 1.0 } - \li \b { gamma: 2.0 } - \endtable - - \table - \header - \li Pixel luminance curves of the above images. - \li - \li - \row - \li \image GammaAdjust_gamma1_graph.png - \li \image GammaAdjust_gamma2_graph.png - \li \image GammaAdjust_gamma3_graph.png - \row - \li Red curve: default gamma (1.0) - \li - \li - \row - \li Yellow curve: effect applied - \li - \li - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: pixel luminance with effect applied - \li - \li - \endtable - -*/ - - -/*! - \qmlproperty bool QtGraphicalEffects1::GammaAdjust::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-gaussianblur.qdoc b/doc/src/qtgraphicaleffects-gaussianblur.qdoc deleted file mode 100644 index 4ed5ad1..0000000 --- a/doc/src/qtgraphicaleffects-gaussianblur.qdoc +++ /dev/null @@ -1,219 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype GaussianBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blur - \brief Applies a higher quality blur effect. - - GaussianBlur effect softens the image by blurring it with an algorithm that - uses the Gaussian function to calculate the effect. The effect produces - higher quality than \l{QtGraphicalEffects1::FastBlur}{FastBlur}, but is slower to render. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image GaussianBlur_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/GaussianBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::GaussianBlur::source - - This property defines the source item that is going to be blurred. - -*/ -/*! - \qmlproperty real QtGraphicalEffects1::GaussianBlur::radius - - This property defines the distance of the neighboring pixels which affect - the blurring of an individual pixel. A larger radius increases the blur - effect. - - Depending on the radius value, value of the \l{GaussianBlur::samples}{samples} should be set to - sufficiently large to ensure the visual quality. - - The value ranges from 0.0 (no blur) to inf. By default, the property is set to - \c 0.0 (no blur). - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image GaussianBlur_radius1.png - \li \image GaussianBlur_radius2.png - \li \image GaussianBlur_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 4 } - \li \b { radius: 8 } - \row - \li \l samples: 16 - \li \l samples: 16 - \li \l samples: 16 - \row - \li \l deviation: 3 - \li \l deviation: 3 - \li \l deviation: 3 - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::GaussianBlur::samples - - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - Ideally, this value should be twice as large as the highest required radius - value, for example, if the radius is animated between 0.0 and 4.0, samples - should be set to 8. - - The value ranges from 0 to 32. By default, the property is set to \c 0. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::GaussianBlur::deviation - - This property is a parameter to the gaussian function that is used when - calculating neighboring pixel weights for the blurring. A larger deviation - causes image to appear more blurry, but it also reduces the quality of the - blur. A very large deviation value causes the effect to look a bit similar - to what, for exmple, a box blur algorithm produces. A too small deviation - values makes the effect insignificant for the pixels near the radius. - - \inlineimage GaussianBlur_deviation_graph.png - \caption The image above shows the Gaussian function with two different - deviation values, yellow (1) and cyan (2.7). The y-axis shows the weights, - the x-axis shows the pixel distance. - - The value ranges from 0.0 (no deviation) to inf (maximum deviation). By - default, devaition is binded to radius. When radius increases, deviation is - automatically increased linearly. With the radius value of 8, the deviation - default value becomes approximately 2.7034. This value produces a compromise - between the blur quality and overall blurriness. - - \table - \header - \li Output examples with different deviation values - \li - \li - \row - \li \image GaussianBlur_deviation1.png - \li \image GaussianBlur_deviation2.png - \li \image GaussianBlur_deviation3.png - \row - \li \b { deviation: 1 } - \li \b { deviation: 2 } - \li \b { deviation: 4 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 16 - \li \l samples: 16 - \li \l samples: 16 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::GaussianBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different transparentBorder values - \li - \li - \row - \li \image GaussianBlur_transparentBorder1.png - \li \image GaussianBlur_transparentBorder2.png - \row - \li \b { transparentBorder: false } - \li \b { transparentBorder: true } - \row - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 16 - \li \l samples: 16 - \row - \li \l deviation: 2.7 - \li \l deviation: 2.7 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::GaussianBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - Every time the source or effect properties are changed, the pixels in the cache - must be updated. Memory consumption is increased, because an extra buffer of - memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-glow.qdoc b/doc/src/qtgraphicaleffects-glow.qdoc deleted file mode 100644 index 4177b22..0000000 --- a/doc/src/qtgraphicaleffects-glow.qdoc +++ /dev/null @@ -1,253 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype Glow - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-glow - \brief Generates a blurred and colorized image of the source and places it - behind the original, giving impression that the source is glowing. - - By default effect produces a high quality glow image, thus the rendering - speed of the effect may not be the highest possible. The rendering speed is - reduced especially if the glow edges are heavily softened. - For use cases that require faster rendering speed and the highest possible - visual quality is not necessary, property \l{Glow::fast}{fast} can be set to true. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly_black.png - \li \image Glow_butterfly.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/Glow-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::Glow::source - - This property defines the source item that is going to be used as source for - the generated glow. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::Glow::radius - - Radius defines the softness of the glow. A larger radius causes the edges - of the glow to appear more blurry. - - Depending on the radius value, value of the \l{Glow::samples}{samples} should be set to sufficiently - large to ensure the visual quality. - - The value ranges from 0.0 (no blur) to inf. By default, the property is set to - \c 0.0 (no blur). - - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image Glow_radius1.png - \li \image Glow_radius2.png - \li \image Glow_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 6 } - \li \b { radius: 12 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::Glow::samples - - This property defines how many samples are taken per pixel when edge softening - blur calculation is done. Larger value produces better quality, but is slower - to render. - - Ideally, this value should be twice as large as the highest required radius - value, for example, if the radius is animated between 0.0 and 4.0, samples - should be set to 8. - - The value ranges from 0 to 32. By default, the property is set to \c 0. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - When \l fast property is set to true, this property has no effect. - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::Glow::color - - This property defines the RGBA color value which is used for the glow. - - By default, the property is set to \c "white". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image Glow_color1.png - \li \image Glow_color2.png - \li \image Glow_color3.png - \row - \li \b { color: #ffffff } - \li \b { color: #00ff00 } - \li \b { color: #aa00ff00 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 16 - \li \l samples: 16 - \li \l samples: 16 - \row - \li \l spread: 0.5 - \li \l spread: 0.5 - \li \l spread: 0.5 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::Glow::spread - - This property defines how large part of the glow color is strenghtened near - the source edges. - - The values range from 0.0 to 1.0. By default, the property is set to \c 0.5. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image Glow_spread1.png - \li \image Glow_spread2.png - \li \image Glow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.5 } - \li \b { spread: 1.0 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 16 - \li \l samples: 16 - \li \l samples: 16 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::Glow::fast - - This property selects the blurring algorithm that is used to produce the - softness for the effect. Setting this to true enables fast algorithm, - setting value to false produces higher quality result. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different fast values - \li - \li - \row - \li \image Glow_fast1.png - \li \image Glow_fast2.png - \row - \li \b { fast: false } - \li \b { fast: true } - \row - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l spread: 0.3 - \li \l spread: 0.3 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::Glow::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-huesaturation.qdoc b/doc/src/qtgraphicaleffects-huesaturation.qdoc deleted file mode 100644 index b4f18b3..0000000 --- a/doc/src/qtgraphicaleffects-huesaturation.qdoc +++ /dev/null @@ -1,182 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype HueSaturation - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Alters the source item colors in the HSL color space. - - HueSaturation is similar to the \l{QtGraphicalEffects1::Colorize}{Colorize} effect, but the hue and - saturation property values are handled differently. The HueSaturation effect - always shifts the hue, saturation, and lightness from the original, instead - of setting them. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image HueSaturation_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/HueSaturation-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::HueSaturation::source - - This property defines the source item that provides the source pixels for - the effect. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::HueSaturation::hue - - This property defines the hue value which is added to the source hue value. - - The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different hue values - \li - \li - \row - \li \image HueSaturation_hue1.png - \li \image HueSaturation_hue2.png - \li \image HueSaturation_hue3.png - \row - \li \b { hue: -0.3 } - \li \b { hue: 0.0 } - \li \b { hue: 0.3 } - \row - \li \l saturation: 0 - \li \l saturation: 0 - \li \l saturation: 0 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::HueSaturation::saturation - - This property defines the saturation value value which is added to the - source saturation value. - - The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different saturation values - \li - \li - \row - \li \image HueSaturation_saturation1.png - \li \image HueSaturation_saturation2.png - \li \image HueSaturation_saturation3.png - \row - \li \b { saturation: -0.8 } - \li \b { saturation: 0.0 } - \li \b { saturation: 1.0 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::HueSaturation::lightness - - This property defines the lightness value which is added to the source - saturation value. - - The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different lightness values - \li - \li - \row - \li \image HueSaturation_lightness1.png - \li \image HueSaturation_lightness2.png - \li \image HueSaturation_lightness3.png - \row - \li \b { lightness: -0.5 } - \li \b { lightness: 0.0 } - \li \b { lightness: 0.5 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l saturation: 0 - \li \l saturation: 0 - \li \l saturation: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::HueSaturation::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ - diff --git a/doc/src/qtgraphicaleffects-innershadow.qdoc b/doc/src/qtgraphicaleffects-innershadow.qdoc deleted file mode 100644 index 67eec9b..0000000 --- a/doc/src/qtgraphicaleffects-innershadow.qdoc +++ /dev/null @@ -1,332 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype InnerShadow - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-drop-shadow - \brief Generates a colorized and blurred shadow inside the - source. - - By default the effect produces a high quality shadow image, thus the - rendering speed of the shadow might not be the highest possible. The - rendering speed is reduced especially if the shadow edges are heavily - softened. For use cases that require faster rendering speed and for which the - highest possible visual quality is not necessary, property \l{InnerShadow::fast}{fast} can be - set to true. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly.png - \li \image InnerShadow_butterfly.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/InnerShadow-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::InnerShadow::source - - This property defines the source item that is going to be used as the source - for the generated shadow. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::InnerShadow::radius - - Radius defines the softness of the shadow. A larger radius causes the edges - of the shadow to appear more blurry. - - Depending on the radius value, value of the \l{InnerShadow::samples}{samples} should be set to sufficiently - large to ensure the visual quality. - - The value ranges from 0.0 (no blur) to inf. By default, the property is set to - \c 0.0 (no blur). - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image InnerShadow_radius1.png - \li \image InnerShadow_radius2.png - \li \image InnerShadow_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 6 } - \li \b { radius: 12 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #000000 - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::InnerShadow::samples - - This property defines how many samples are taken per pixel when edge softening - blur calculation is done. Larger value produces better quality, but is slower - to render. - - Ideally, this value should be twice as large as the highest required radius - value, for example, if the radius is animated between 0.0 and 4.0, samples - should be set to 8. - - The value ranges from 0 to 32. By default, the property is set to \c 0. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - When \l{InnerShadow::fast}{fast} property is set to true, this property has no effect. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::InnerShadow::spread - - This property defines how large part of the shadow color is strenghtened near - the source edges. - - The value ranges from 0.0 to 1.0. By default, the property is set to \c 0.5. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image InnerShadow_spread1.png - \li \image InnerShadow_spread2.png - \li \image InnerShadow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.3 } - \li \b { spread: 0.5 } - \row - \li \l radius: 16 - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #000000 - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::InnerShadow::color - - This property defines the RGBA color value which is used for the shadow. - - By default, the property is set to \c "black". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image InnerShadow_color1.png - \li \image InnerShadow_color2.png - \li \image InnerShadow_color3.png - \row - \li \b { color: #000000 } - \li \b { color: #ffffff } - \li \b { color: #ff0000 } - \row - \li \l radius: 16 - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l spread: 0.2 - \li \l spread: 0.2 - \li \l spread: 0.2 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::InnerShadow::horizontalOffset - \qmlproperty real QtGraphicalEffects1::InnerShadow::verticalOffset - - HorizontalOffset and verticalOffset properties define the offset - for the rendered shadow compared to the InnerShadow item position. Often, the - InnerShadow item is anchored so that it fills the source element. In this - case, if the HorizontalOffset and verticalOffset properties are set to 0, the - shadow is rendered fully inside the source item. By changing the offset - properties, the shadow can be positioned relatively to the source item. - - The values range from -inf to inf. By default, the properties are set to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image InnerShadow_horizontalOffset1.png - \li \image InnerShadow_horizontalOffset2.png - \li \image InnerShadow_horizontalOffset3.png - \row - \li \b { horizontalOffset: -20 } - \li \b { horizontalOffset: 0 } - \li \b { horizontalOffset: 20 } - \row - \li \l radius: 16 - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #000000 - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::InnerShadow::fast - - This property selects the blurring algorithm that is used to produce the - softness for the effect. Setting this to true enables fast algorithm, - setting value to false produces higher quality result. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different fast values - \li - \li - \row - \li \image InnerShadow_fast1.png - \li \image InnerShadow_fast2.png - \row - \li \b { fast: false } - \li \b { fast: true } - \row - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l color: #000000 - \li \l color: #000000 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l spread: 0.2 - \li \l spread: 0.2 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::InnerShadow::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - Every time the source or effect properties are changed, the pixels in the cache - must be updated. Memory consumption is increased, because an extra buffer of - memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-leveladjust.qdoc b/doc/src/qtgraphicaleffects-leveladjust.qdoc deleted file mode 100644 index 30aed67..0000000 --- a/doc/src/qtgraphicaleffects-leveladjust.qdoc +++ /dev/null @@ -1,392 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype LevelAdjust - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Adjusts color levels in the RGBA color space. - - This effect adjusts the source item colors separately for each color channel. - Source item contrast can be adjusted and color balance altered. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly.png - \li \image LevelAdjust_butterfly.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/LevelAdjust-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::LevelAdjust::source - - This property defines the source item that provides the source pixels for - the effect. - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::LevelAdjust::minimumInput - - This property defines the minimum input level for each color channel. It sets - the black-point, all pixels having lower value than this property are rendered - as black (per color channel). Increasing the value darkens the dark areas. - - The value ranges from "#00000000" to "#ffffffff". By default, the property - is set to \c "#00000000" (no change). - - \table - \header - \li Output examples with different minimumInput values - \li - \li - \row - \li \image LevelAdjust_minimumInput1.png - \li \image LevelAdjust_minimumInput2.png - \li \image LevelAdjust_minimumInput3.png - \row - \li \b { minimumInput: #00000000 } - \li \b { minimumInput: #00000040 } - \li \b { minimumInput: #00000070 } - \row - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \row - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \row - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \row - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \endtable - - \table - \header - \li Pixel color channel luminance curves of the above images. - \li - \li - \row - \li \image LevelAdjust_default_curve.png - \li \image LevelAdjust_minimumInput2_curve.png - \li \image LevelAdjust_minimumInput3_curve.png - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: color channel luminance with effect applied - \li - \li - \endtable - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::LevelAdjust::maximumInput - - This property defines the maximum input level for each color channel. - It sets the white-point, all pixels having higher value than this - property are rendered as white (per color channel). - Decreasing the value lightens the light areas. - - The value ranges from "#ffffffff" to "#00000000". By default, the property - is set to \c "#ffffffff" (no change). - - \table - \header - \li Output examples with different maximumInput values - \li - \li - \row - \li \image LevelAdjust_maximumInput1.png - \li \image LevelAdjust_maximumInput2.png - \li \image LevelAdjust_maximumInput3.png - \row - \li \b { maximumInput: #FFFFFFFF } - \li \b { maximumInput: #FFFFFF80 } - \li \b { maximumInput: #FFFFFF30 } - \row - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \row - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \row - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \row - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \endtable - - \table - \header - \li Pixel color channel luminance curves of the above images. - \li - \li - \row - \li \image LevelAdjust_default_curve.png - \li \image LevelAdjust_maximumInput2_curve.png - \li \image LevelAdjust_maximumInput3_curve.png - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: color channel luminance with effect applied - \li - \li - \endtable - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::LevelAdjust::minimumOutput - - This property defines the minimum output level for each color channel. - Increasing the value lightens the dark areas, reducing the contrast. - - The value ranges from "#00000000" to "#ffffffff". By default, the property - is set to \c "#00000000" (no change). - - \table - \header - \li Output examples with different minimumOutput values - \li - \li - \row - \li \image LevelAdjust_minimumOutput1.png - \li \image LevelAdjust_minimumOutput2.png - \li \image LevelAdjust_minimumOutput3.png - \row - \li \b { minimumOutput: #00000000 } - \li \b { minimumOutput: #00000070 } - \li \b { minimumOutput: #000000A0 } - \row - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \row - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \row - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \row - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \endtable - - \table - \header - \li Pixel color channel luminance curves of the above images. - \li - \li - \row - \li \image LevelAdjust_default_curve.png - \li \image LevelAdjust_minimumOutput2_curve.png - \li \image LevelAdjust_minimumOutput3_curve.png - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: color channel luminance with effect applied - \li - \li - \endtable - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::LevelAdjust::maximumOutput - - This property defines the maximum output level for each color channel. - Decreasing the value darkens the light areas, reducing the contrast. - - The value ranges from "#ffffffff" to "#00000000". By default, the property - is set to \c "#ffffffff" (no change). - - \table - \header - \li Output examples with different maximumOutput values - \li - \li - \row - \li \image LevelAdjust_maximumOutput1.png - \li \image LevelAdjust_maximumOutput2.png - \li \image LevelAdjust_maximumOutput3.png - \row - \li \b { maximumOutput: #FFFFFFFF } - \li \b { maximumOutput: #FFFFFF80 } - \li \b { maximumOutput: #FFFFFF30 } - \row - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \row - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \row - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \row - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) - \endtable - - \table - \header - \li Pixel color channel luminance curves of the above images. - \li - \li - \row - \li \image LevelAdjust_default_curve.png - \li \image LevelAdjust_maximumOutput2_curve.png - \li \image LevelAdjust_maximumOutput3_curve.png - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: color channel luminance with effect applied - \li - \li - \endtable - - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::LevelAdjust::gamma - - This property defines the change factor for how the value of each pixel - color channel is altered according to the equation: - - \code result.rgb = pow(original.rgb, 1.0 / gamma.rgb); \endcode - - Setting the gamma values under QtVector3d(1.0, 1.0, 1.0) makes the image darker, the values - above QtVector3d(1.0, 1.0, 1.0) lighten it. - - The value ranges from QtVector3d(0.0, 0.0, 0.0) (darkest) to inf (lightest). By default, the property - is set to \c QtVector3d(1.0, 1.0, 1.0) (no change). - - \table - \header - \li Output examples with different gamma values - \li - \li - \row - \li \image LevelAdjust_gamma1.png - \li \image LevelAdjust_gamma2.png - \li \image LevelAdjust_gamma3.png - \row - \li \b { gamma: Qt.vector3d(1.0, 1.0, 1.0) } - \li \b { gamma: Qt.vector3d(1.0, 0.4, 2.0) } - \li \b { gamma: Qt.vector3d(1.0, 0.1, 4.0) } - \row - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \li \l minimumInput: #000000 - \row - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \li \l maximumInput: #ffffff - \row - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \li \l minimumOutput: #000000 - \row - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \li \l maximumOutput: #ffffff - \endtable - - \table - \header - \li Pixel color channel luminance curves of the above images. - \li - \li - \row - \li \image LevelAdjust_default_curve.png - \li \image LevelAdjust_gamma2_curve.png - \li \image LevelAdjust_gamma3_curve.png - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: color channel luminance with effect applied - \li - \li - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::LevelAdjust::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-lineargradient.qdoc b/doc/src/qtgraphicaleffects-lineargradient.qdoc deleted file mode 100644 index b7e3f0b..0000000 --- a/doc/src/qtgraphicaleffects-lineargradient.qdoc +++ /dev/null @@ -1,233 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype LinearGradient - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-gradient - \brief Draws a linear gradient. - - A gradient is defined by two or more colors, which are blended seamlessly. - The colors start from the given start point and end to the given end point. - - \table - \header - \li Effect applied - \row - \li \image LinearGradient.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/LinearGradient-example.qml example - -*/ - -/*! - \qmlproperty Gradient QtGraphicalEffects1::LinearGradient::gradient - - A gradient is defined by two or more colors, which are blended seamlessly. - The colors are specified as a set of GradientStop child items, each of which - defines a position on the gradient - from 0.0 to 1.0 and a color. The position of each GradientStop is defined by - the position property, and the color is definded by the color property. - - \table - \header - \li Output examples with different gradient values - \li - \li - \row - \li \image LinearGradient_gradient1.png - \li \image LinearGradient_gradient2.png - \li \image LinearGradient_gradient3.png - \row - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.000 - color: Qt.rgba(1, 0, 0, 1) } - GradientStop { position: 0.167; - color: Qt.rgba(1, 1, 0, 1) } - GradientStop { position: 0.333; - color: Qt.rgba(0, 1, 0, 1) } - GradientStop { position: 0.500; - color: Qt.rgba(0, 1, 1, 1) } - GradientStop { position: 0.667; - color: Qt.rgba(0, 0, 1, 1) } - GradientStop { position: 0.833; - color: Qt.rgba(1, 0, 1, 1) } - GradientStop { position: 1.000; - color: Qt.rgba(1, 0, 0, 1) } -} - \endcode - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.0 - color: "#F0F0F0" - } - GradientStop { position: 0.5 - color: "#000000" - } - GradientStop { position: 1.0 - color: "#F0F0F0" - } -} - \endcode - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.0 - color: "#00000000" - } - GradientStop { position: 1.0 - color: "#FF000000" - } -} - \endcode - \row - \li \l start: Qt.point(0, 0) - \li \l start: Qt.point(0, 0) - \li \l start: Qt.point(0, 0) - \row - \li \l end: Qt.point(300, 300) - \li \l end: Qt.point(300, 300) - \li \l end: Qt.point(300, 300) - \endtable - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::LinearGradient::source - - This property defines the item that is going to be filled with gradient. Source - item gets rendered into an intermediate pixel buffer and the alpha values - from the result are used to determine the gradient's pixels visibility in - the display. - The default value for source is undefined and in that case whole effect area - is filled with gradient. - - \table - \header - \li Output examples with different source values - \li - \li - \row - \li \image LinearGradient_maskSource1.png - \li \image LinearGradient_maskSource2.png - \row - \li \b { source: undefined } - \li \b { source: Image { source: images/butterfly.png } } - \row - \li \l start: Qt.point(0, 0) - \li \l start: Qt.point(0, 0) - \row - \li \l end: Qt.point(300, 300) - \li \l end: Qt.point(300, 300) - \endtable - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::LinearGradient::start - - This property defines the starting point where the color at gradient - position of 0.0 is rendered. Colors at larger position values are rendered - linearly towards the end point. The point is given in pixels and the default - value is Qt.point(0, 0). - Setting the default values for the start and \l{LinearGradient::end}{end} results in a full height - linear gradient on the y-axis. - - \table - \header - \li Output examples with different start values - \li - \li - \row - \li \image LinearGradient_start1.png - \li \image LinearGradient_start2.png - \li \image LinearGradient_start3.png - \row - \li \b { start: QPoint(0, 0) } - \li \b { start: QPoint(150, 150) } - \li \b { start: QPoint(300, 0) } - \row - \li \l end: QPoint(300, 300) - \li \l end: QPoint(300, 300) - \li \l end: QPoint(300, 300) - \endtable - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::LinearGradient::end - - This property defines the ending point where the color at gradient position - of 1.0 is rendered. Colors at smaller position values are rendered linearly - towards the start point. The point is given in pixels and the default value - is Qt.point(0, height). - Setting the default values for the \l{LinearGradient::start}{start} and end results in a full height - linear gradient on the y-axis. - - \table - \header - \li Output examples with different end values - \li - \li - \row - \li \image LinearGradient_end1.png - \li \image LinearGradient_end2.png - \li \image LinearGradient_end3.png - \row - \li \b { end: Qt.point(300, 300) } - \li \b { end: Qt.point(150, 150) } - \li \b { end: Qt.point(300, 0) } - \row - \li \l start: Qt.point(0, 0) - \li \l start: Qt.point(0, 0) - \li \l start: Qt.point(0, 0) - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::LinearGradient::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-maskedblur.qdoc b/doc/src/qtgraphicaleffects-maskedblur.qdoc deleted file mode 100644 index 5e0238a..0000000 --- a/doc/src/qtgraphicaleffects-maskedblur.qdoc +++ /dev/null @@ -1,231 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype MaskedBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blur - \brief Applies a blur effect with a varying intesity. - - MaskedBlur effect softens the image by blurring it. The intensity of the blur - can be controlled for each pixel using maskSource so that some parts of the - source are blurred more than others. By default the effect produces a high quality - result, thus the rendering speed may not be the highest possible. - The rendering speed is reduced especially if the \l{MaskedBlur::samples}{samples} is large. - For use cases that require faster rendering speed and the highest possible visual - quality is not necessary, property \l{MaskedBlur::fast}{fast} can be set to true. - - \table - \header - \li Source - \li MaskSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image MaskedBlur_mask.png - \li \image MaskedBlur_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/MaskedBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::MaskedBlur::source - - This property defines the source item that is going to be blurred. - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::MaskedBlur::maskSource - - This property defines the item that is controlling the final intensity of the - blur. The pixel alpha channel value from maskSource defines the actual blur - radius that is going to be used for blurring the corresponding source pixel. - Opaque maskSource pixels produce blur with specified \l{MaskedBlur::radius}{radius}, while transparent - pixels suppress the blur completely. Semitransparent maskSource pixels produce - blur with a radius that is interpolated according to the pixel transparency - level. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::MaskedBlur::radius - - This property defines the distance of the neighboring pixels which affect - the blurring of an individual pixel. A larger radius increases the blur - effect. - - Depending on the radius value, value of the \l{MaskedBlur::samples}{samples} should be set to - sufficiently large to ensure the visual quality. - - The value ranges from 0.0 (no blur) to inf. By default, the property is set to - \c 0.0 (no blur). - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image MaskedBlur_radius1.png - \li \image MaskedBlur_radius2.png - \li \image MaskedBlur_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 8 } - \li \b { radius: 16 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l transparentBorder: false - \li \l transparentBorder: false - \li \l transparentBorder: false - \row - \li \l fast: false - \li \l fast: false - \li \l fast: false - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::MaskedBlur::samples - - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - Ideally, this value should be twice as large as the highest required radius - value, for example, if the radius is animated between 0.0 and 4.0, samples - should be set to 8. - - The value ranges from 0 to 32. By default, the property is set to \c 0. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - When \l{MaskedBlur::fast}{fast} property is set to true, this property has no effect. -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::MaskedBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different transparentBorder values - \li - \li - \row - \li \image MaskedBlur_transparentBorder1.png - \li \image MaskedBlur_transparentBorder2.png - \row - \li \b { transparentBorder: false } - \li \b { transparentBorder: true } - \row - \li \l radius: 64 - \li \l radius: 64 - \row - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l fast: true - \li \l fast: true - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::MaskedBlur::fast - - This property selects the blurring algorithm that is used to produce the - blur. Setting this to true enables fast algorithm, setting value to false - produces higher quality result. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different fast values - \li - \li - \row - \li \image MaskedBlur_fast1.png - \li \image MaskedBlur_fast2.png - \row - \li \b { fast: false } - \li \b { fast: true } - \row - \li \l radius: 16 - \li \l radius: 16 - \row - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l transparentBorder: false - \li \l transparentBorder: false - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::MaskedBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - Every time the source or effect properties are changed, the pixels in the cache - must be updated. Memory consumption is increased, because an extra buffer of - memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-opacitymask.qdoc b/doc/src/qtgraphicaleffects-opacitymask.qdoc deleted file mode 100644 index c7fde5b..0000000 --- a/doc/src/qtgraphicaleffects-opacitymask.qdoc +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype OpacityMask - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-mask - \brief Masks the source item with another item. - - \table - \header - \li Source - \li MaskSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image OpacityMask_mask.png - \li \image OpacityMask_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/OpacityMask-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::OpacityMask::source - - This property defines the source item that is going to be masked. - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::OpacityMask::maskSource - - This property defines the item that is going to be used as the mask. The mask item gets rendered into an intermediate pixel buffer and - the alpha values from the result are used to determine the source item's pixels visibility in the display. - - \table - \header - \li Original - \li Mask - \li Effect applied - \row - \li \image Original_bug.png - \li \image OpacityMask_mask.png - \li \image OpacityMask_bug.png - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::OpacityMask::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-radialblur.qdoc b/doc/src/qtgraphicaleffects-radialblur.qdoc deleted file mode 100644 index 7d15bd4..0000000 --- a/doc/src/qtgraphicaleffects-radialblur.qdoc +++ /dev/null @@ -1,197 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype RadialBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-motion-blur - \brief Applies directional blur in a circular direction around the items center - point. - - Effect creates perceived impression that the source item appears to be rotating - to the direction of the blur. - - Other available motionblur effects are - \l{QtGraphicalEffects1::ZoomBlur}{ZoomBlur} and - \l{QtGraphicalEffects1::DirectionalBlur}{DirectionalBlur}. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image RadialBlur_bug.png - \endtable - - \chapter Example Usage - - The following example shows how to apply the effect. - \snippet snippets/RadialBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::RadialBlur::source - - This property defines the source item that is going to be blurred. - -*/ - - -/*! - \qmlproperty int QtGraphicalEffects1::RadialBlur::samples - - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - Allowed values are between 0 and inf (practical maximum depends on GPU). - By default the property is set to \c 0 (no samples). - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RadialBlur::angle - - This property defines the direction for the blur and at the same - time the level of blurring. The larger the angle, the more the result - becomes blurred. The quality of the blur depends on \l{RadialBlur::samples}{samples} property. - If angle value is large, more samples are needed to keep the visual quality - at high level. - - Allowed values are between 0.0 and 360.0. - By default the property is set to \c 0.0. - - \table - \header - \li Output examples with different angle values - \li - \li - \row - \li \image RadialBlur_angle1.png - \li \image RadialBlur_angle2.png - \li \image RadialBlur_angle3.png - \row - \li \b { angle: 0.0 } - \li \b { angle: 15.0 } - \li \b { angle: 30.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RadialBlur::horizontalOffset - \qmlproperty real QtGraphicalEffects1::RadialBlur::verticalOffset - - These properties define the offset in pixels for the perceived center point - of the rotation. - - Allowed values are between -inf and inf. - By default these properties are set to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image RadialBlur_horizontalOffset1.png - \li \image RadialBlur_horizontalOffset2.png - \li \image RadialBlur_horizontalOffset3.png - \row - \li \b { horizontalOffset: 75.0 } - \li \b { horizontalOffset: 0.0 } - \li \b { horizontalOffset: -75.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l angle: 20 - \li \l angle: 20 - \li \l angle: 20 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::RadialBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::RadialBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-radialgradient.qdoc b/doc/src/qtgraphicaleffects-radialgradient.qdoc deleted file mode 100644 index 7381df1..0000000 --- a/doc/src/qtgraphicaleffects-radialgradient.qdoc +++ /dev/null @@ -1,317 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype RadialGradient - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-gradient - \brief Draws a radial gradient. - - A gradient is defined by two or more colors, which are blended seamlessly. - The colors start from the middle of the item and end at the borders. - - \table - \header - \li Effect applied - \row - \li \image RadialGradient.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/RadialGradient-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::RadialGradient::source - - This property defines the item that is going to be filled with gradient. Source - item gets rendered into an intermediate pixel buffer and the alpha values - from the result are used to determine the gradient's pixels visibility in - the display. - The default value for source is undefined and in that case whole effect area - is filled with gradient. - - \table - \header - \li Output examples with different source values - \li - \li - \row - \li \image RadialGradient_maskSource1.png - \li \image RadialGradient_maskSource2.png - \row - \li \b { source: undefined } - \li \b { source: Image { source: images/butterfly.png } } - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l horizontalRadius: 300 - \li \l horizontalRadius: 300 - \row - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \row - \li \l angle: 0 - \li \l angle: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RadialGradient::angle - - This property defines the rotation of the gradient around its center point. - The rotation is only visible when the \l{RadialGradient::horizontalRadius}{horizontalRadius} - and \l{RadialGradient::verticalRadius}{verticalRadius} properties are not equal. The angle - is given in degrees and the default value is \c 0. - - \table - \header - \li Output examples with different angle values - \li - \li - \row - \li \image RadialGradient_angle1.png - \li \image RadialGradient_angle2.png - \li \image RadialGradient_angle3.png - \row - \li \b { angle: 0 } - \li \b { angle: 45 } - \li \b { angle: 90 } - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l horizontalRadius: 100 - \li \l horizontalRadius: 100 - \li \l horizontalRadius: 100 - \row - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RadialGradient::horizontalOffset - \qmlproperty real QtGraphicalEffects1::RadialGradient::verticalOffset - - The HorizontalOffset and verticalOffset properties define the offset in - pixels for the center point of the gradient compared to the item center. - - The values range from -inf to inf. By default, these properties are set to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image RadialGradient_horizontalOffset1.png - \li \image RadialGradient_horizontalOffset2.png - \li \image RadialGradient_horizontalOffset3.png - \row - \li \b { horizontalOffset: -150 } - \li \b { horizontalOffset: 0 } - \li \b { horizontalOffset: 150 } - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l horizontalRadius: 300 - \li \l horizontalRadius: 300 - \li \l horizontalRadius: 300 - \row - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \row - \li \l angle: 0 - \li \l angle: 0 - \li \l angle: 0 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RadialGradient::horizontalRadius - \qmlproperty real QtGraphicalEffects1::RadialGradient::verticalRadius - - The HorizontalRadius and verticalRadius properties define the shape and size - of the radial gradient. If the radiuses are equal, the shape of the gradient - is a circle. If the horizontal and vertical radiuses differ, the shape is - elliptical. The radiuses are given in pixels. - - The value ranges from -inf to inf. By default, horizontalRadius is bound to - width and verticalRadius is bound to height. - - \table - \header - \li Output examples with different horizontalRadius values - \li - \li - \row - \li \image RadialGradient_horizontalRadius1.png - \li \image RadialGradient_horizontalRadius2.png - \row - \li \b { horizontalRadius: 300 } - \li \b { horizontalRadius: 100 } - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \row - \li \l angle: 0 - \li \l angle: 0 - \row - \li \l gradient: QQuickGradient(0xa05fb10) - \li \l gradient: QQuickGradient(0xa05fb10) - \endtable - -*/ - -/*! - \qmlproperty Gradient QtGraphicalEffects1::RadialGradient::gradient - - A gradient is defined by two or more colors, which are blended seamlessly. - The colors are specified as a set of GradientStop child items, each of which - defines a position on the gradient from 0.0 to 1.0 and a color. The position - of each GradientStop is defined by setting the position property. The color - is defined by setting the color property. - - \table - \header - \li Output examples with different gradient values - \li - \li - \row - \li \image RadialGradient_gradient1.png - \li \image RadialGradient_gradient2.png - \li \image RadialGradient_gradient3.png - \row - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.000 - color: Qt.rgba(1, 0, 0, 1) } - GradientStop { position: 0.167; - color: Qt.rgba(1, 1, 0, 1) } - GradientStop { position: 0.333; - color: Qt.rgba(0, 1, 0, 1) } - GradientStop { position: 0.500; - color: Qt.rgba(0, 1, 1, 1) } - GradientStop { position: 0.667; - color: Qt.rgba(0, 0, 1, 1) } - GradientStop { position: 0.833; - color: Qt.rgba(1, 0, 1, 1) } - GradientStop { position: 1.000; - color: Qt.rgba(1, 0, 0, 1) } -} - \endcode - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.0 - color: "#F0F0F0" - } - GradientStop { position: 0.5 - color: "#000000" - } - GradientStop { position: 1.0 - color: "#F0F0F0" - } -} - \endcode - \li \b {gradient:} \code -Gradient { - GradientStop { position: 0.0 - color: "#00000000" - } - GradientStop { position: 1.0 - color: "#FF000000" - } -} - \endcode - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \row - \li \l horizontalRadius: 300 - \li \l horizontalRadius: 300 - \li \l horizontalRadius: 300 - \row - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \li \l verticalRadius: 300 - \row - \li \l angle: 0 - \li \l angle: 0 - \li \l angle: 0 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::RadialGradient::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-rectangularglow.qdoc b/doc/src/qtgraphicaleffects-rectangularglow.qdoc deleted file mode 100644 index e31ddf8..0000000 --- a/doc/src/qtgraphicaleffects-rectangularglow.qdoc +++ /dev/null @@ -1,222 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype RectangularGlow - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-glow - \brief Generates a blurred and colorized rectangle, which gives - the impression that the source is glowing. - - This effect is intended to have good performance. The shape of the glow is - limited to a rectangle with a custom corner radius. For situations where - custom shapes are required, consider \l {QtGraphicalEffects1::Glow} {Glow} effect. - - \table - \header - \li Effect applied - \row - \li \image RectangularGlow_applied.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/RectangularGlow-example.qml example - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::RectangularGlow::color - - This property defines the RGBA color value which is used for the glow. - - By default, the property is set to \c "white". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image RectangularGlow_color1.png - \li \image RectangularGlow_color2.png - \li \image RectangularGlow_color3.png - \row - \li \b { color: #ffffff } - \li \b { color: #55ff55 } - \li \b { color: #5555ff } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RectangularGlow::glowRadius - - This property defines how many pixels outside the item area are reached by - the glow. - - The value ranges from 0.0 (no glow) to inf (infinite glow). By default, the - property is set to \c 0.0. - - \table - \header - \li Output examples with different glowRadius values - \li - \li - \row - \li \image RectangularGlow_glowRadius1.png - \li \image RectangularGlow_glowRadius2.png - \li \image RectangularGlow_glowRadius3.png - \row - \li \b { glowRadius: 10 } - \li \b { glowRadius: 20 } - \li \b { glowRadius: 40 } - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - -*/ - -/*! - \qmlproperty color QtGraphicalEffects1::RectangularGlow::spread - - This property defines how large part of the glow color is strenghtened near - the source edges. - - The value ranges from 0.0 (no strenght increase) to 1.0 (maximum strenght increase). By default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image RectangularGlow_spread1.png - \li \image RectangularGlow_spread2.png - \li \image RectangularGlow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.5 } - \li \b { spread: 1.0 } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RectangularGlow::cornerRadius - - This property defines the corner radius that is used to draw a glow with - rounded corners. - - The value ranges from 0.0 to half of the effective width or height of - the glow, whichever is smaller. This can be calculated with: \c min(width, height) / 2.0 + glowRadius - - By default, the property is bound to glowRadius property. The glow behaves - as if the rectangle was blurred when adjusting the glowRadius property. - - \table - \header - \li Output examples with different cornerRadius values - \li - \li - \row - \li \image RectangularGlow_cornerRadius1.png - \li \image RectangularGlow_cornerRadius2.png - \li \image RectangularGlow_cornerRadius3.png - \row - \li \b { cornerRadius: 0 } - \li \b { cornerRadius: 25 } - \li \b { cornerRadius: 50 } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::RectangularGlow::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-recursiveblur.qdoc b/doc/src/qtgraphicaleffects-recursiveblur.qdoc deleted file mode 100644 index e85759d..0000000 --- a/doc/src/qtgraphicaleffects-recursiveblur.qdoc +++ /dev/null @@ -1,196 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype RecursiveBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blur - \brief Blurs repeatedly, providing a strong blur effect. - - The RecursiveBlur effect softens the image by blurring it with an algorithm - that uses a recursive feedback loop to blur the source multiple times. The - effect may give more blurry results than \l{QtGraphicalEffects1::GaussianBlur}{GaussianBlur} or - \l{QtGraphicalEffects1::FastBlur}{FastBlur}, but the result is produced asynchronously and takes more time. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image RecursiveBlur_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/RecursiveBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::RecursiveBlur::source - - This property defines the source item that is going to be blurred. - -*/ -/*! - \qmlproperty real QtGraphicalEffects1::RecursiveBlur::radius - - This property defines the distance of neighboring pixels which influence - the blurring of individual pixels. A larger radius provides better quality, - but is slower to render. - - \b Note: The radius value in this effect is not intended to be changed or - animated frequently. The correct way to use it is to set the correct value - and keep it unchanged for the whole duration of the iterative blur sequence. - - The value ranges from (no blur) to 16.0 (maximum blur step). By default, the - property is set to \c 0.0 (no blur). - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image RecursiveBlur_radius1.png - \li \image RecursiveBlur_radius2.png - \li \image RecursiveBlur_radius3.png - \row - \li \b { radius: 2.5 } - \li \b { radius: 4.5 } - \li \b { radius: 7.5 } - \row - \li \l loops: 20 - \li \l loops: 20 - \li \l loops: 20 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::RecursiveBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - - \table - \header - \li Output examples with different transparentBorder values - \li - \li - \row - \li \image RecursiveBlur_transparentBorder1.png - \li \image RecursiveBlur_transparentBorder2.png - \row - \li \b { transparentBorder: false } - \li \b { transparentBorder: true } - \row - \li \l loops: 20 - \li \l loops: 20 - \row - \li \l radius: 7.5 - \li \l radius: 7.5 - \endtable - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::RecursiveBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::RecursiveBlur::progress - - This property holds the progress of asynchronous source blurring process, from 0.0 (nothing blurred) to 1.0 (finished). - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::RecursiveBlur::loops - - This property defines the amount of blur iterations that are going to be - performed for the source. When the property changes, the iterative blurring - process starts. If the value is decreased or if the value changes from zero - to non-zero, a snapshot is taken from the source. The snapshot is used as a - starting point for the process. - - The iteration loop tries to run as fast as possible. The speed might be - limited by the VSYNC or the time needed for one blur step, or both. - Sometimes it may be desirable to perform the blurring with a slower pace. In - that case, it may be convenient to control the property with Animation which - increases the value. - - The value ranges from 0 to inf. By default, the property is set to \c 0. - - \table - \header - \li Output examples with different loops values - \li - \li - \row - \li \image RecursiveBlur_loops1.png - \li \image RecursiveBlur_loops2.png - \li \image RecursiveBlur_loops3.png - \row - \li \b { loops: 4 } - \li \b { loops: 20 } - \li \b { loops: 70 } - \row - \li \l radius: 7.5 - \li \l radius: 7.5 - \li \l radius: 7.5 - \endtable - -*/ diff --git a/doc/src/qtgraphicaleffects-thresholdmask.qdoc b/doc/src/qtgraphicaleffects-thresholdmask.qdoc deleted file mode 100644 index eaf7257..0000000 --- a/doc/src/qtgraphicaleffects-thresholdmask.qdoc +++ /dev/null @@ -1,161 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype ThresholdMask - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-mask - \brief Masks the source item with another item and applies a threshold value. - - The masking behavior can be controlled with the \l threshold value for the - mask pixels. - - \table - \header - \li Source - \li MaskSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image ThresholdMask_mask.png - \li \image ThresholdMask_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/ThresholdMask-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::ThresholdMask::source - - This property defines the source item that is going to be masked. - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::ThresholdMask::maskSource - - This property defines the item that is going to be used as the mask. Mask item gets rendered into an intermediate pixel buffer and - the alpha values from the result are used to determine the source item's pixels visibility in the display. - - \table - \header - \li Original - \li Mask - \li Effect applied - \row - \li \image Original_bug.png - \li \image ThresholdMask_mask.png - \li \image ThresholdMask_bug.png - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::ThresholdMask::threshold - - This property defines a threshold value for the mask pixels. The mask pixels that have an alpha value - below this property are used to completely mask away the corresponding pixels from the source item. - The mask pixels that have a higher alpha value are used to alphablend the source item to the display. - - The value ranges from 0.0 (alpha value 0) to 1.0 (alpha value 255). By default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different threshold values - \li - \li - \row - \li \image ThresholdMask_threshold1.png - \li \image ThresholdMask_threshold2.png - \li \image ThresholdMask_threshold3.png - \row - \li \b { threshold: 0.0 } - \li \b { threshold: 0.5 } - \li \b { threshold: 0.7 } - \row - \li \l spread: 0.2 - \li \l spread: 0.2 - \li \l spread: 0.2 - \endtable - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::ThresholdMask::spread - - This property defines the smoothness of the mask edges near the - \l{ThresholdMask::threshold}{threshold} alpha value. Setting spread to 0.0 - uses mask normally with the specified threshold. Setting higher spread values - softens the transition from the transparent mask pixels towards opaque mask - pixels by adding interpolated values between them. - - The value ranges from 0.0 (sharp mask edge) to 1.0 (smooth mask edge). By default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image ThresholdMask_spread1.png - \li \image ThresholdMask_spread2.png - \li \image ThresholdMask_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.2 } - \li \b { spread: 0.8 } - \row - \li \l threshold: 0.4 - \li \l threshold: 0.4 - \li \l threshold: 0.4 - \endtable - -*/ - - -/*! - \qmlproperty bool QtGraphicalEffects1::ThresholdMask::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/src/qtgraphicaleffects-zoomblur.qdoc b/doc/src/qtgraphicaleffects-zoomblur.qdoc deleted file mode 100644 index 502171d..0000000 --- a/doc/src/qtgraphicaleffects-zoomblur.qdoc +++ /dev/null @@ -1,196 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype ZoomBlur - \inqmlmodule QtGraphicalEffects 1.0 - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-motion-blur - \brief Applies directional blur effect towards source items center point. - - Effect creates perceived impression that the source item appears to be - moving towards the center point in Z-direction or that the camera appears - to be zooming rapidly. Other available motion blur effects are - \l{QtGraphicalEffects1::DirectionalBlur}{DirectionalBlur} - and \l{QtGraphicalEffects1::RadialBlur}{RadialBlur}. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image ZoomBlur_bug.png - \endtable - - \section1 Example - - The following example shows how to apply the effect. - \snippet snippets/ZoomBlur-example.qml example - -*/ - -/*! - \qmlproperty variant QtGraphicalEffects1::ZoomBlur::source - - This property defines the source item that is going to be blurred. - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::ZoomBlur::length - - This property defines the maximum perceived amount of movement for each - pixel. The amount is smaller near the center and reaches the specified - value at the edges. - - The quality of the blur depends on \l{ZoomBlur::samples}{samples} property. If length value is - large, more samples are needed to keep the visual quality at high level. - - The value ranges from 0.0 to inf. - By default the property is set to \c 0.0 (no blur). - - \table - \header - \li Output examples with different length values - \li - \li - \row - \li \image ZoomBlur_length1.png - \li \image ZoomBlur_length2.png - \li \image ZoomBlur_length3.png - \row - \li \b { length: 0.0 } - \li \b { length: 32.0 } - \li \b { length: 48.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - -/*! - \qmlproperty int QtGraphicalEffects1::ZoomBlur::samples - - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - Allowed values are between 0 and inf (practical maximum depends on GPU). - By default the property is set to \c 0 (no samples). - -*/ - -/*! - \qmlproperty real QtGraphicalEffects1::ZoomBlur::horizontalOffset - \qmlproperty real QtGraphicalEffects1::ZoomBlur::verticalOffset - - These properties define an offset in pixels for the blur direction center - point. - - The values range from -inf to inf. By default these properties are set - to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image ZoomBlur_horizontalOffset1.png - \li \image ZoomBlur_horizontalOffset2.png - \li \image ZoomBlur_horizontalOffset3.png - \row - \li \b { horizontalOffset: 100.0 } - \li \b { horizontalOffset: 0.0 } - \li \b { horizontalOffset: -100.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l length: 32 - \li \l length: 32 - \li \l length: 32 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - -*/ - - -/*! - \qmlproperty bool QtGraphicalEffects1::ZoomBlur::transparentBorder - - This property defines the blur behavior near the edges of the item, where - the pixel blurring is affected by the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the item, - which is similar to OpenGL clamp-to-edge behavior. The blur does not expand - outside the effect item area. - - By default, the property is set to \c false. - -*/ - -/*! - \qmlproperty bool QtGraphicalEffects1::ZoomBlur::cached - - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - -*/ diff --git a/doc/style/style.css b/doc/style/style.css deleted file mode 100644 index df84049..0000000 --- a/doc/style/style.css +++ /dev/null @@ -1,137 +0,0 @@ -a:link, a:visited { - color: #00732F; - text-decoration: none; - font-weight: bold; -} - -body { - font: normal 400 14px/1.2 Arial; - margin-top: 85px; -} - -h1 { - margin: 0; -} - -h2 { - font: 500 20px/1.2 Arial; -} - -h3.fn, span.fn { - -moz-border-radius: 7px 7px 7px 7px; - -webkit-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - background-color: #F6F6F6; - border-width: 1px; - border-style: solid; - border-color: #E6E6E6; - word-spacing: 3px; - padding: 3px 5px; -} - -table, pre { - -moz-border-radius: 7px 7px 7px 7px; - -webkit-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - background-color: #F6F6F6; - border: 1px solid #E6E6E6; - border-collapse: separate; - font-size: 12px; - line-height: 1.2; - margin-bottom: 25px; - margin-left: 15px; -} - -table td { - padding: 3px 15px 3px 20px; -} - -table tr.even { - background-color: white; - color: #66666E; -} - -table tr.odd { - background-color: #F6F6F6; - color: #66666E; -} - -li { - margin-bottom: 10px; - padding-left: 12px; -} - -.cpp { - display: block; - margin: 10; - overflow: hidden; - overflow-x: hidden; - overflow-y: hidden; - padding: 20px 0 20px 0; -} - -.footer { - margin-top: 50px; -} - -.memItemLeft { - padding-right: 3px; -} - -.memItemRight { - padding: 3px 15px 3px 0; -} - -.qml { - display: block; - margin: 10; - overflow: hidden; - overflow-x: hidden; - overflow-y: hidden; - padding: 20px 0 20px 0; -} - -.qmldefault { - padding-left: 5px; - float: right; - color: red; -} - -.qmlreadonly { - padding-left: 5px; - float: right; - color: #254117; -} - -.rightAlign { - padding: 3px 5px 3px 10px; - text-align: right; -} - -.title { - background-color: white; - color: #44A51C; - font-family: Verdana; - font-size: 35px; - font-weight: normal; - left: 0; - padding-bottom: 5px; - padding-left: 16px; - padding-top: 20px; - position: absolute; - right: 0; - top: 0; -} - -.toc { - float: right; - -moz-border-radius: 7px 7px 7px 7px; - -webkit-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - background-color: #F6F6F6; - border: 1px solid #DDD; - margin: 0 20px 10px 10px; - padding: 20px 15px 20px 20px; - height: auto; - width: 200px; -} diff --git a/src/effects/Blend.qml b/src/effects/Blend.qml index 8d35e36..e52f638 100644 --- a/src/effects/Blend.qml +++ b/src/effects/Blend.qml @@ -41,11 +41,240 @@ import QtQuick 2.0 import "private" +/*! + \qmltype Blend + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blend + \brief Merges two source items by using a blend mode. + + Blend mode can be selected with the \l{Blend::mode}{mode} property. + + \table + \header + \li source + \li foregroundSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image Original_butterfly.png + \li \image Blend_bug_and_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Blend-example.qml example + +*/ + Item { id: rootItem + + /*! + This property defines the source item that is going to be the base when + \l{Blend::foregroundSource}{foregroundSource} is blended over it. + */ property variant source + + /*! + This property defines the item that is going to be blended over the + \l{Blend::source}{source}. + */ property variant foregroundSource + + /*! + This property defines the mode which is used when foregroundSource is + blended over source. Values are case insensitive. + + \table + \header + \li mode + \li description + \row + \li normal + \li The pixel component values from foregroundSource are written + over source by using alpha blending. + \row + \li addition + \li The pixel component values from source and foregroundSource are + added together and written. + \row + \li average + \li The pixel component values from source and foregroundSource are + averaged and written. + \row + \li color + \li The lightness value from source is combined with hue and + saturation from foregroundSource and written. + \row + \li colorBurn + \li The darker pixels from source are darkened more, if both source + and foregroundSource pixels are light the result is light. + \row + \li colorDodge + \li The lighter pixels from source are lightened more, if both + source and foregroundSource pixels are dark the result is dark. + \row + \li darken + \li The darker pixel component value from source and + foregroundSource is written. + \row + \li darkerColor + \li The lower luminance pixel rgb-value from source and + foregroundSource is written. + \row + \li difference + \li The absolute pixel component value difference between source and + foregroundSource is written. + \row + \li divide + \li The pixel component values from source is divided by the value + from foregroundSource and written. + \row + \li exclusion + \li The pixel component value difference with reduced contrast + between source and foregroundSource is written. + \row + \li hardLight + \li The pixel component values from source are lightened or darkened + according to foregroundSource values and written. + \row + \li hue + \li The hue value from foregroundSource is combined with saturation + and lightness from source and written. + \row + \li lighten + \li The lightest pixel component value from source and + foregroundSource is written. + \row + \li lighterColor + \li The higher luminance pixel rgb-value from source and + foregroundSource is written. + \row + \li lightness + \li The lightness value from foregroundSource is combined with hue + and saturation from source and written. + \row + \li multiply + \li The pixel component values from source and foregroundSource are + multiplied together and written. + \row + \li negation + \li The inverted absolute pixel component value difference between + source and foregroundSource is written. + \row + \li saturation + \li The saturation value from foregroundSource is combined with hue + and lightness from source and written. + \row + \li screen + \li The pixel values from source and foregroundSource are negated, + then multiplied, negated again, and written. + \row + \li subtract + \li Pixel value from foregroundSource is subracted from source and + written. + \row + \li softLight + \li The pixel component values from source are lightened or darkened + slightly according to foregroundSource values and written. + + \endtable + + \table + \header + \li Example source + \li Example foregroundSource + \row + \li \image Original_bug.png + \li \image Original_butterfly.png + \endtable + + \table + \header + \li Output examples with different mode values + \li + \li + \row + \li \image Blend_mode1.png + \li \image Blend_mode2.png + \li \image Blend_mode3.png + \row + \li \b { mode: normal } + \li \b { mode: addition } + \li \b { mode: average } + \row + \li \image Blend_mode4.png + \li \image Blend_mode5.png + \li \image Blend_mode6.png + \row + \li \b { mode: color } + \li \b { mode: colorBurn } + \li \b { mode: colorDodge } + \row + \li \image Blend_mode7.png + \li \image Blend_mode8.png + \li \image Blend_mode9.png + \row + \li \b { mode: darken } + \li \b { mode: darkerColor } + \li \b { mode: difference } + \row + \li \image Blend_mode10.png + \li \image Blend_mode11.png + \li \image Blend_mode12.png + \row + \li \b { mode: divide } + \li \b { mode: exclusion } + \li \b { mode: hardlight } + \row + \li \image Blend_mode13.png + \li \image Blend_mode14.png + \li \image Blend_mode15.png + \row + \li \b { mode: hue } + \li \b { mode: lighten } + \li \b { mode: lighterColor } + \row + \li \image Blend_mode16.png + \li \image Blend_mode17.png + \li \image Blend_mode18.png + \row + \li \b { mode: lightness } + \li \b { mode: negation } + \li \b { mode: multiply } + \row + \li \image Blend_mode19.png + \li \image Blend_mode20.png + \li \image Blend_mode21.png + \row + \li \b { mode: saturation } + \li \b { mode: screen } + \li \b { mode: subtract } + \row + \li \image Blend_mode22.png + \row + \li \b { mode: softLight } + \endtable + */ property string mode: "normal" + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in the + cache must be updated. Memory consumption is increased, because an extra + buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/BrightnessContrast.qml b/src/effects/BrightnessContrast.qml index df87947..4266a02 100644 --- a/src/effects/BrightnessContrast.qml +++ b/src/effects/BrightnessContrast.qml @@ -41,11 +41,123 @@ import QtQuick 2.0 import "private" +/*! + \qmltype BrightnessContrast + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Adjusts brightness and contrast. + + This effect adjusts the source item colors. + Brightness adjustment changes the perceived luminance of the source item. + Contrast adjustment increases or decreases the color + and brightness variations. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image BrightnessContrast_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet BrightnessContrast-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + */ property variant source + + /*! + This property defines how much the source brightness is increased or + decreased. + + The value ranges from -1.0 to 1.0. By default, the property is set to \c + 0.0 (no change). + + \table + \header + \li Output examples with different brightness values + \li + \li + \row + \li \image BrightnessContrast_brightness1.png + \li \image BrightnessContrast_brightness2.png + \li \image BrightnessContrast_brightness3.png + \row + \li \b { brightness: -0.25 } + \li \b { brightness: 0 } + \li \b { brightness: 0.5 } + \row + \li \l contrast: 0 + \li \l contrast: 0 + \li \l contrast: 0 + \endtable + + */ property real brightness: 0.0 + + /*! + This property defines how much the source contrast is increased or + decreased. The decrease of the contrast is linear, but the increase is + applied with a non-linear curve to allow very high contrast adjustment at + the high end of the value range. + + \table + \header + \li Contrast adjustment curve + \row + \li \image BrightnessContrast_contrast_graph.png + \endtable + + The value ranges from -1.0 to 1.0. By default, the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different contrast values + \li + \li + \row + \li \image BrightnessContrast_contrast1.png + \li \image BrightnessContrast_contrast2.png + \li \image BrightnessContrast_contrast3.png + \row + \li \b { contrast: -0.5 } + \li \b { contrast: 0 } + \li \b { contrast: 0.5 } + \row + \li \l brightness: 0 + \li \l brightness: 0 + \li \l brightness: 0 + \endtable + + */ property real contrast: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/ColorOverlay.qml b/src/effects/ColorOverlay.qml index 37a3bb0..fcbedfe 100644 --- a/src/effects/ColorOverlay.qml +++ b/src/effects/ColorOverlay.qml @@ -41,10 +41,79 @@ import QtQuick 2.0 import "private" +/*! + \qmltype ColorOverlay + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the colors of the source item by applying an overlay color. + + The effect is similar to what happens when a colorized glass is put on top + of a grayscale image. The color for the overlay is given in the RGBA format. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image ColorOverlay_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet ColorOverlay-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + */ property variant source + + /*! + This property defines the RGBA color value which is used to colorize the + source. + + By default, the property is set to \c "transparent". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image ColorOverlay_color1.png + \li \image ColorOverlay_color2.png + \li \image ColorOverlay_color3.png + \row + \li \b { color: #80ff0000 } + \li \b { color: #8000ff00 } + \li \b { color: #800000ff } + \endtable + + */ property color color: "transparent" + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/Colorize.qml b/src/effects/Colorize.qml index f892a9e..a27937d 100644 --- a/src/effects/Colorize.qml +++ b/src/effects/Colorize.qml @@ -41,12 +41,166 @@ import QtQuick 2.0 import "private" +/*! + \qmltype Colorize + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Sets the color in the HSL color space. + + The effect is similar to what happens when a colorized glass is put on top + of a grayscale image. Colorize uses the hue, saturation, and lightness (HSL) + color space. You can specify a desired value for each property. You can + shift all HSL values with the + \l{QtGraphicalEffects1::HueSaturation}{HueSaturation} effect. + + Alternatively, you can use the + \l{QtGraphicalEffects1::ColorOverlay}{ColorOverlay} effect to colorize the + source item in the RGBA color space. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image Colorize_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Colorize-example.qml example +*/ Item { id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + */ property variant source + + /*! + This property defines the hue value which is used to colorize the + source. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.0, which produces a slightly red color. + + \table + \header + \li Allowed hue values + \row + \li \image Colorize_hue_scale.png + \endtable + + \table + \header + \li Output examples with different hue values + \li + \li + \row + \li \image Colorize_hue1.png + \li \image Colorize_hue2.png + \li \image Colorize_hue3.png + \row + \li \b { hue: 0.2 } + \li \b { hue: 0.5 } + \li \b { hue: 0.8 } + \row + \li \l saturation: 1 + \li \l saturation: 1 + \li \l saturation: 1 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + */ property real hue: 0.0 + + /*! + This property defines the saturation value which is used to colorize the + source. + + The value ranges from 0.0 (desaturated) to 1.0 (saturated). By default, + the property is set to \c 1.0 (saturated). + + \table + \header + \li Output examples with different saturation values + \li + \li + \row + \li \image Colorize_saturation1.png + \li \image Colorize_saturation2.png + \li \image Colorize_saturation3.png + \row + \li \b { saturation: 0 } + \li \b { saturation: 0.5 } + \li \b { saturation: 1 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + */ property real saturation: 1.0 + + /*! + This property defines how much the source lightness value is increased + or decreased. + + Unlike hue and saturation properties, lightness does not set the used + value, but it shifts the existing source pixel lightness value. + + The value ranges from -1.0 (decreased) to 1.0 (increased). By default, + the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different lightness values + \li + \li + \row + \li \image Colorize_lightness1.png + \li \image Colorize_lightness2.png + \li \image Colorize_lightness3.png + \row + \li \b { lightness: -0.75 } + \li \b { lightness: 0 } + \li \b { lightness: 0.75 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l saturation: 1 + \li \l saturation: 1 + \li \l saturation: 1 + \endtable + */ property real lightness: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/src/effects/ConicalGradient.qml b/src/effects/ConicalGradient.qml index 6877e6d..73070e6 100644 --- a/src/effects/ConicalGradient.qml +++ b/src/effects/ConicalGradient.qml @@ -41,14 +41,222 @@ import QtQuick 2.0 import "private" +/*! + \qmltype ConicalGradient + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-gradient + \brief Draws a conical gradient. + + A gradient is defined by two or more colors, which are blended seamlessly. + The colors start from the specified angle and end at 360 degrees larger + angle value. + + \table + \header + \li Effect applied + \row + \li \image ConicalGradient.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet ConicalGradient-example.qml example + +*/ Item { id: rootItem + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false + + /*! + This property defines the starting angle where the color at the gradient + position of 0.0 is rendered. Colors at larger position values are + rendered into larger angle values and blended seamlessly. Angle values + increase clockwise. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image ConicalGradient_angle1.png + \li \image ConicalGradient_angle2.png + \li \image ConicalGradient_angle3.png + \row + \li \b { angle: 0 } + \li \b { angle: 45 } + \li \b { angle: 185 } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ property real angle: 0.0 + + /*! + \qmlproperty real QtGraphicalEffects1::ConicalGradient::horizontalOffset + \qmlproperty real QtGraphicalEffects1::ConicalGradient::verticalOffset + + The horizontalOffset and verticalOffset properties define the offset in + pixels for the center point of the gradient compared to the item center. + + The value ranges from -inf to inf. By default, the properties are set to \c + 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image ConicalGradient_horizontalOffset1.png + \li \image ConicalGradient_horizontalOffset2.png + \li \image ConicalGradient_horizontalOffset3.png + \row + \li \b { horizontalOffset: -50 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 50 } + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ property real horizontalOffset: 0.0 property real verticalOffset: 0.0 + + /*! + This property defines the item that is going to be filled with gradient. + Source item gets rendered into an intermediate pixel buffer and the + alpha values from the result are used to determine the gradient's pixels + visibility in the display. The default value for source is undefined and + in that case whole effect area is filled with gradient. + + \table + \header + \li Output examples with different source values + \li + \row + \li \image ConicalGradient_maskSource1.png + \li \image ConicalGradient_maskSource2.png + \row + \li \b { source: undefined } + \li \b { source: } + \row + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ property variant source +/*! + A gradient is defined by two or more colors, which are blended seamlessly. + The colors are specified as a set of GradientStop child items, each of which + defines a position on the gradient (from 0.0 to 1.0), and a color. + The position of each GradientStop is defined by the position property. + The color is defined by the color property. + + \table + \header + \li Output examples with different gradient values + \li + \li + \row + \li \image ConicalGradient_gradient1.png + \li \image ConicalGradient_gradient2.png + \li \image ConicalGradient_gradient3.png + \row + \li \b {gradient:} \code +Gradient { + GradientStop { position: 0.000 + color: Qt.rgba(1, 0, 0, 1) } + GradientStop { position: 0.167; + color: Qt.rgba(1, 1, 0, 1) } + GradientStop { position: 0.333; + color: Qt.rgba(0, 1, 0, 1) } + GradientStop { position: 0.500; + color: Qt.rgba(0, 1, 1, 1) } + GradientStop { position: 0.667; + color: Qt.rgba(0, 0, 1, 1) } + GradientStop { position: 0.833; + color: Qt.rgba(1, 0, 1, 1) } + GradientStop { position: 1.000; + color: Qt.rgba(1, 0, 0, 1) } +} + \endcode + \li \b {gradient:} \code +Gradient { + GradientStop { position: 0.0 + color: "#F0F0F0" + } + GradientStop { position: 0.5 + color: "#000000" + } + GradientStop { position: 1.0 + color: "#F0F0F0" + } +} + \endcode + \li \b {gradient:} \code +Gradient { + GradientStop { position: 0.0 + color: "#00000000" + } + GradientStop { position: 1.0 + color: "#FF000000" + } +} + \endcode + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + +*/ property Gradient gradient: Gradient { GradientStop { position: 0.0; color: "white" } GradientStop { position: 1.0; color: "black" } diff --git a/src/effects/Desaturate.qml b/src/effects/Desaturate.qml index a51cf0b..fb2ec3b 100644 --- a/src/effects/Desaturate.qml +++ b/src/effects/Desaturate.qml @@ -41,10 +41,78 @@ import QtQuick 2.0 import "private" +/*! + \qmltype Desaturate + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Reduces the saturation of the colors. + + Desaturated pixel values are calculated as averages of the original RGB + component values of the source item. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image Desaturate_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Desaturate-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that provides the source pixels to + the effect. + */ property variant source + + /*! + This property defines how much the source colors are desaturated. + + The value ranges from 0.0 (no change) to 1.0 (desaturated). By default, + the property is set to \c 0.0 (no chnage). + + \table + \header + \li Output examples with different desaturation values + \li + \li + \row + \li \image Desaturate_desaturation1.png + \li \image Desaturate_desaturation2.png + \li \image Desaturate_desaturation3.png + \row + \li \b { desaturation: 0.0 } + \li \b { desaturation: 0.5 } + \li \b { desaturation: 1.0 } + \endtable + */ property real desaturation: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/DirectionalBlur.qml b/src/effects/DirectionalBlur.qml index 10cccb3..844b18d 100644 --- a/src/effects/DirectionalBlur.qml +++ b/src/effects/DirectionalBlur.qml @@ -41,13 +41,164 @@ import QtQuick 2.0 import "private" +/*! + \qmltype DirectionalBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies blur effect to the specified direction. + + Effect creates perceived impression that the source item appears to be + moving in the direction of the blur. Blur is applied to both sides of + each pixel, therefore setting the direction to 0 and 180 provides the + same result. + + Other available motionblur effects are \l{QtGraphicalEffects1::ZoomBlur}{ZoomBlur} and + \l{QtGraphicalEffects1::RadialBlur}{RadialBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image DirectionalBlur_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet DirectionalBlur-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the percieved amount of movement for each pixel. + The movement is divided evenly to both sides of each pixel. + + The quality of the blur depends on \l{DirectionalBlur::samples}{samples} + property. If length value is large, more samples are needed to keep the + visual quality at high level. + + The value ranges from 0.0 to inf. + By default the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different length values + \li + \li + \row + \li \image DirectionalBlur_length1.png + \li \image DirectionalBlur_length2.png + \li \image DirectionalBlur_length3.png + \row + \li \b { length: 0.0 } + \li \b { length: 32.0 } + \li \b { length: 48.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + + */ property real length: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ property int samples: 0 + + /*! + This property defines the direction for the blur. Blur is applied to + both sides of each pixel, therefore setting the direction to 0 and 180 + produces the same result. + + The value ranges from -180.0 to 180.0. + By default the property is set to \c 0.0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image DirectionalBlur_angle1.png + \li \image DirectionalBlur_angle2.png + \li \image DirectionalBlur_angle3.png + \row + \li \b { angle: 0.0 } + \li \b { angle: 45.0 } + \li \b { angle: 90.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l length: 32 + \li \l length: 32 + \li \l length: 32 + \endtable + + */ property real angle: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + */ property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/Displace.qml b/src/effects/Displace.qml index 5b921e6..0a28311 100644 --- a/src/effects/Displace.qml +++ b/src/effects/Displace.qml @@ -41,11 +41,114 @@ import QtQuick 2.0 import "private" +/*! + \qmltype Displace + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-distortion + \brief Moves the pixels of the source item according to the given + displacement map. + + \table + \header + \li Source + \li DisplacementSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image Displace_map.png + \li \image Displace_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Displace-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item for the pixels that are going to + be displaced according to the data from + \l{Displace::displacementSource}{displacementSource}. + */ property variant source + + /*! + This property defines the item that is going to be used as the + displacement map. The displacementSource item gets rendered into the + intermediate pixel buffer. The red and green component values from the + result determine the displacement of the pixels from the source item. + + The format for the displacement map is similar to the tangent space + normal maps, which can be created with most 3D-modeling tools. Many + image processing tools include the support for generating normal maps. + Alternatively, the displacement map for this effect can also be a QML + element which is colored appropriately. Like any QML element, it can be + animated. It is recommended that the size of the diplacement map matches + the size of the \l{Displace::source}{source}. + + The displace data is interpreted in the RGBA format. For every pixel: + the red channel stores the x-axis displacement, and the green channel + stores the y-axis displacement. Blue and alpha channels are ignored for + this effect. + + Assuming that red channel value 1.0 is fully red (0.0 having no red at + all), this effect considers pixel component value 0.5 to cause no + displacement at all. Values above 0.5 shift pixels to the left, values + below 0.5 do the shift to the right. In a similar way, green channel + values above 0.5 displace the pixels upwards, and values below 0.5 shift + the pixels downwards. The actual amount of displacement in pixels + depends on the \l displacement property. + + */ property variant displacementSource + + /*! + This property defines the scale for the displacement. The bigger scale, + the bigger the displacement of the pixels. The value set to 0.0 causes + no displacement. + + The value ranges from -1.0 (inverted maximum shift, according to + displacementSource) to 1.0 (maximum shift, according to + displacementSource). By default, the property is set to \c 0.0 (no + displacement). + + \table + \header + \li Output examples with different displacement values + \li + \li + \row + \li \image Displace_displacement1.png + \li \image Displace_displacement2.png + \li \image Displace_displacement3.png + \row + \li \b { displacement: -0.2 } + \li \b { displacement: 0.0 } + \li \b { displacement: 0.2 } + \endtable + + */ property real displacement: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/DropShadow.qml b/src/effects/DropShadow.qml index d13a6e1..26d9cc1 100644 --- a/src/effects/DropShadow.qml +++ b/src/effects/DropShadow.qml @@ -41,17 +41,316 @@ import QtQuick 2.0 import "private" +/*! + \qmltype DropShadow + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-drop-shadow + \brief Generates a colorized and blurred shadow image of the + source and places it behind the original, giving the impression that + source item is raised from the background. + + By default the effect produces a high quality shadow image, thus the + rendering speed of the shadow might not be the highest possible. The + rendering speed is reduced especially if the shadow edges are heavily + softened. + + For use cases that require faster rendering speed and for which the highest + possible visual quality is not necessary, property + \l{DropShadow::fast}{fast} can be set to true. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image DropShadow_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet DropShadow-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be used as the + source for the generated shadow. + */ property variant source + + /*! + Radius defines the softness of the shadow. A larger radius causes the + edges of the shadow to appear more blurry. + + Depending on the radius value, value of the + \l{DropShadow::samples}{samples} should be set to sufficiently large to + ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image DropShadow_radius1.png + \li \image DropShadow_radius2.png + \li \image DropShadow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ property real radius: 0.0 + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value, for example, if the radius is animated between 0.0 and + 4.0, samples should be set to 8. + + The value ranges from 0 to 32. By default, the property is set to \c 0. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + When \l{DropShadow::fast}{fast} property is set to true, this property + has no effect. + + */ property int samples: 0 + + /*! + This property defines the RGBA color value which is used for the shadow. + + By default, the property is set to \c "black". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image DropShadow_color1.png + \li \image DropShadow_color2.png + \li \image DropShadow_color3.png + \row + \li \b { color: #000000 } + \li \b { color: #0000ff } + \li \b { color: #aa000000 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ property color color: "black" + + /*! + \qmlproperty real QtGraphicalEffects1::DropShadow::horizontalOffset + \qmlproperty real QtGraphicalEffects1::DropShadow::verticalOffset + + HorizontalOffset and verticalOffset properties define the offset for the + rendered shadow compared to the DropShadow item position. Often, the + DropShadow item is anchored so that it fills the source element. In this + case, if the HorizontalOffset and verticalOffset properties are set to + 0, the shadow is rendered exactly under the source item. By changing the + offset properties, the shadow can be positioned relatively to the source + item. + + The values range from -inf to inf. By default, the properties are set to + \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image DropShadow_horizontalOffset1.png + \li \image DropShadow_horizontalOffset2.png + \li \image DropShadow_horizontalOffset3.png + \row + \li \b { horizontalOffset: -20 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 20 } + \row + \li \l radius: 4 + \li \l radius: 4 + \li \l radius: 4 + \row + \li \l samples: 8 + \li \l samples: 8 + \li \l samples: 8 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ property real horizontalOffset: 0.0 property real verticalOffset: 0.0 + + /*! + This property defines how large part of the shadow color is strenghtened + near the source edges. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.5. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image DropShadow_spread1.png + \li \image DropShadow_spread2.png + \li \image DropShadow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \endtable + + */ property real spread: 0.0 + + /*! + This property selects the blurring algorithm that is used to produce the + softness for the effect. Setting this to true enables fast algorithm, + setting value to false produces higher quality result. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different fast values + \li + \li + \row + \li \image DropShadow_fast1.png + \li \image DropShadow_fast2.png + \row + \li \b { fast: false } + \li \b { fast: true } + \row + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false + property bool transparentBorder: false Loader { diff --git a/src/effects/FastBlur.qml b/src/effects/FastBlur.qml index 94479e2..4d2f319 100644 --- a/src/effects/FastBlur.qml +++ b/src/effects/FastBlur.qml @@ -41,11 +41,120 @@ import QtQuick 2.0 import "private" +/*! + \qmltype FastBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a fast blur effect to one or more source items. + + FastBlur offers lower blur quality than + \l{QtGraphicalEffects1::GaussianBlur}{GaussianBlur}, but it is faster to + render. The FastBlur effect softens the source content by blurring it with + algorithm which uses the source content downscaling and bilinear filtering. + Use this effect in situations where the source content is rapidly changing + and the highest possible blur quality is not + needed. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image FastBlur_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet FastBlur-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the distance of the neighboring pixels which affect + the blurring of an individual pixel. A larger radius increases the blur + effect. FastBlur algorithm may internally reduce the accuracy of the radius in order to + provide good rendering performance. + + The value ranges from 0.0 (no blur) to inf. Visual quality of the blur is reduced when + radius exceeds value 64. By default, the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different blur values + \li + \li + \row + \li \image FastBlur_radius1.png + \li \image FastBlur_radius2.png + \li \image FastBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 32 } + \li \b { radius: 64 } + \endtable + */ property real radius: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image FastBlur_transparentBorder1.png + \li \image FastBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l radius: 64 + \li \l radius: 64 + \endtable + */ property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/GammaAdjust.qml b/src/effects/GammaAdjust.qml index 3cb045e..12dc33e 100644 --- a/src/effects/GammaAdjust.qml +++ b/src/effects/GammaAdjust.qml @@ -41,10 +41,115 @@ import QtQuick 2.0 import "private" +/*! + \qmltype GammaAdjust + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the luminance of the source item. + + GammaAdjust is applied to each pixel according to the curve which is + pre-defined as a power-law expression, where the property gamma is used as the + reciprocal scaling exponent. Refer to the property documentation of \l{GammaAdjust::gamma}{gamma} + for more details. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image GammaAdjust_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet GammaAdjust-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item for which the luminance is going to be + adjusted. + */ property variant source + + /*! + This property defines the change factor for how the luminance of each pixel + is altered according to the equation: + + \code +luminance = pow(original_luminance, 1.0 / gamma); // The luminance is assumed to be between 0.0 and 1.0 + \endcode + + Setting the gamma values under 1.0 makes the image darker, the values + above 1.0 lighten it. + + The value ranges from 0.0 (darkest) to inf (lightest). By default, the + property is set to \c 1.0 (no change). + + \table + \header + \li Output examples with different gamma values + \li + \li + \row + \li \image GammaAdjust_gamma1.png + \li \image GammaAdjust_gamma2.png + \li \image GammaAdjust_gamma3.png + \row + \li \b { gamma: 0.5 } + \li \b { gamma: 1.0 } + \li \b { gamma: 2.0 } + \endtable + + \table + \header + \li Pixel luminance curves of the above images. + \li + \li + \row + \li \image GammaAdjust_gamma1_graph.png + \li \image GammaAdjust_gamma2_graph.png + \li \image GammaAdjust_gamma3_graph.png + \row + \li Red curve: default gamma (1.0) + \li + \li + \row + \li Yellow curve: effect applied + \li + \li + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: pixel luminance with effect applied + \li + \li + \endtable + + */ property real gamma: 1.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/src/effects/GaussianBlur.qml b/src/effects/GaussianBlur.qml index 1711fe7..46c5526 100644 --- a/src/effects/GaussianBlur.qml +++ b/src/effects/GaussianBlur.qml @@ -41,13 +41,198 @@ import QtQuick 2.0 import "private" +/*! + \qmltype GaussianBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a higher quality blur effect. + + GaussianBlur effect softens the image by blurring it with an algorithm that + uses the Gaussian function to calculate the effect. The effect produces + higher quality than \l{QtGraphicalEffects1::FastBlur}{FastBlur}, but is + slower to render. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image GaussianBlur_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet GaussianBlur-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the distance of the neighboring pixels which + affect the blurring of an individual pixel. A larger radius increases + the blur effect. + + Depending on the radius value, value of the + \l{GaussianBlur::samples}{samples} should be set to sufficiently large + to ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image GaussianBlur_radius1.png + \li \image GaussianBlur_radius2.png + \li \image GaussianBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 4 } + \li \b { radius: 8 } + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l deviation: 3 + \li \l deviation: 3 + \li \l deviation: 3 + \endtable + + */ property real radius: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + Ideally, this value should be twice as large as the highest required + radius value, for example, if the radius is animated between 0.0 and + 4.0, samples should be set to 8. + + The value ranges from 0 to 32. By default, the property is set to \c 0. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + */ property int samples: 0 + + /*! + This property is a parameter to the gaussian function that is used when + calculating neighboring pixel weights for the blurring. A larger + deviation causes image to appear more blurry, but it also reduces the + quality of the blur. A very large deviation value causes the effect to + look a bit similar to what, for exmple, a box blur algorithm produces. A + too small deviation values makes the effect insignificant for the pixels + near the radius. + + \inlineimage GaussianBlur_deviation_graph.png + \caption The image above shows the Gaussian function with two different + deviation values, yellow (1) and cyan (2.7). The y-axis shows the + weights, the x-axis shows the pixel distance. + + The value ranges from 0.0 (no deviation) to inf (maximum deviation). By + default, devaition is binded to radius. When radius increases, deviation + is automatically increased linearly. With the radius value of 8, the + deviation default value becomes approximately 2.7034. This value + produces a compromise between the blur quality and overall blurriness. + + \table + \header + \li Output examples with different deviation values + \li + \li + \row + \li \image GaussianBlur_deviation1.png + \li \image GaussianBlur_deviation2.png + \li \image GaussianBlur_deviation3.png + \row + \li \b { deviation: 1 } + \li \b { deviation: 2 } + \li \b { deviation: 4 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \endtable + + */ property real deviation: (radius + 1) / 3.3333 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image GaussianBlur_transparentBorder1.png + \li \image GaussianBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l deviation: 2.7 + \li \l deviation: 2.7 + \endtable + + */ property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/Glow.qml b/src/effects/Glow.qml index 7a966f0..d6c9e59 100644 --- a/src/effects/Glow.qml +++ b/src/effects/Glow.qml @@ -41,14 +41,222 @@ import QtQuick 2.0 import "private" +/*! + \qmltype Glow + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-glow + \brief Generates a blurred and colorized image of the source and places it + behind the original, giving impression that the source is glowing. + + By default effect produces a high quality glow image, thus the rendering + speed of the effect may not be the highest possible. The rendering speed is + reduced especially if the glow edges are heavily softened. For use cases + that require faster rendering speed and the highest possible visual quality + is not necessary, property \l{Glow::fast}{fast} can be set to true. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly_black.png + \li \image Glow_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Glow-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be used as source + for the generated glow. + */ property variant source + + /*! + Radius defines the softness of the glow. A larger radius causes the + edges of the glow to appear more blurry. + + Depending on the radius value, value of the \l{Glow::samples}{samples} + should be set to sufficiently large to ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image Glow_radius1.png + \li \image Glow_radius2.png + \li \image Glow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + */ property real radius: 0.0 + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value, for example, if the radius is animated between 0.0 and + 4.0, samples should be set to 8. + + The value ranges from 0 to 32. By default, the property is set to \c 0. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + When \l fast property is set to true, this property has no effect. + + */ property int samples: 0 + + /*! + This property defines how large part of the glow color is strenghtened + near the source edges. + + The values range from 0.0 to 1.0. By default, the property is set to \c + 0.5. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image Glow_spread1.png + \li \image Glow_spread2.png + \li \image Glow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ property real spread: 0.0 + + /*! + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image Glow_color1.png + \li \image Glow_color2.png + \li \image Glow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #00ff00 } + \li \b { color: #aa00ff00 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l spread: 0.5 + \li \l spread: 0.5 + \li \l spread: 0.5 + \endtable + + */ property color color: "white" + + /*! + This property selects the blurring algorithm that is used to produce the + softness for the effect. Setting this to true enables fast algorithm, + setting value to false produces higher quality result. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different fast values + \li + \li + \row + \li \image Glow_fast1.png + \li \image Glow_fast2.png + \row + \li \b { fast: false } + \li \b { fast: true } + \row + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l spread: 0.3 + \li \l spread: 0.3 + \endtable + */ property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false property bool transparentBorder: false diff --git a/src/effects/HueSaturation.qml b/src/effects/HueSaturation.qml index 03e0859..7687242 100644 --- a/src/effects/HueSaturation.qml +++ b/src/effects/HueSaturation.qml @@ -41,12 +41,155 @@ import QtQuick 2.0 import "private" +/*! + \qmltype HueSaturation + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the source item colors in the HSL color space. + + HueSaturation is similar to the \l{QtGraphicalEffects1::Colorize}{Colorize} + effect, but the hue and saturation property values are handled differently. + The HueSaturation effect always shifts the hue, saturation, and lightness + from the original, instead of setting them. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image HueSaturation_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet HueSaturation-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + */ property variant source: 0 + + /*! + This property defines the hue value which is added to the source hue + value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different hue values + \li + \li + \row + \li \image HueSaturation_hue1.png + \li \image HueSaturation_hue2.png + \li \image HueSaturation_hue3.png + \row + \li \b { hue: -0.3 } + \li \b { hue: 0.0 } + \li \b { hue: 0.3 } + \row + \li \l saturation: 0 + \li \l saturation: 0 + \li \l saturation: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + + */ property real hue: 0.0 + + /*! + This property defines the saturation value value which is added to the + source saturation value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different saturation values + \li + \li + \row + \li \image HueSaturation_saturation1.png + \li \image HueSaturation_saturation2.png + \li \image HueSaturation_saturation3.png + \row + \li \b { saturation: -0.8 } + \li \b { saturation: 0.0 } + \li \b { saturation: 1.0 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + + */ property real saturation: 0.0 + + /*! + This property defines the lightness value which is added to the source + saturation value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different lightness values + \li + \li + \row + \li \image HueSaturation_lightness1.png + \li \image HueSaturation_lightness2.png + \li \image HueSaturation_lightness3.png + \row + \li \b { lightness: -0.5 } + \li \b { lightness: 0.0 } + \li \b { lightness: 0.5 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l saturation: 0 + \li \l saturation: 0 + \li \l saturation: 0 + \endtable + + */ property real lightness: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/src/effects/InnerShadow.qml b/src/effects/InnerShadow.qml index 102c7e1..ef3e8b2 100644 --- a/src/effects/InnerShadow.qml +++ b/src/effects/InnerShadow.qml @@ -41,16 +41,309 @@ import QtQuick 2.0 import "private" +/*! + \qmltype InnerShadow + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-drop-shadow + \brief Generates a colorized and blurred shadow inside the + source. + + By default the effect produces a high quality shadow image, thus the + rendering speed of the shadow might not be the highest possible. The + rendering speed is reduced especially if the shadow edges are heavily + softened. For use cases that require faster rendering speed and for which + the highest possible visual quality is not necessary, property + \l{InnerShadow::fast}{fast} can be set to true. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image InnerShadow_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet InnerShadow-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be used as the + source for the generated shadow. + */ property variant source + + /*! + Radius defines the softness of the shadow. A larger radius causes the + edges of the shadow to appear more blurry. + + Depending on the radius value, value of the + \l{InnerShadow::samples}{samples} should be set to sufficiently large to + ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image InnerShadow_radius1.png + \li \image InnerShadow_radius2.png + \li \image InnerShadow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ property real radius: 0.0 + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value, for example, if the radius is animated between 0.0 and + 4.0, samples should be set to 8. + + The value ranges from 0 to 32. By default, the property is set to \c 0. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + When \l{InnerShadow::fast}{fast} property is set to true, this property + has no effect. + + */ property int samples: 0 + + /*! + This property defines how large part of the shadow color is strenghtened + near the source edges. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.5. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image InnerShadow_spread1.png + \li \image InnerShadow_spread2.png + \li \image InnerShadow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.3 } + \li \b { spread: 0.5 } + \row + \li \l radius: 16 + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ property real spread: 0.0 + + /*! + This property defines the RGBA color value which is used for the shadow. + + By default, the property is set to \c "black". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image InnerShadow_color1.png + \li \image InnerShadow_color2.png + \li \image InnerShadow_color3.png + \row + \li \b { color: #000000 } + \li \b { color: #ffffff } + \li \b { color: #ff0000 } + \row + \li \l radius: 16 + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ property color color: "black" + + /*! + \qmlproperty real QtGraphicalEffects1::InnerShadow::horizontalOffset + \qmlproperty real QtGraphicalEffects1::InnerShadow::verticalOffset + + HorizontalOffset and verticalOffset properties define the offset for the + rendered shadow compared to the InnerShadow item position. Often, the + InnerShadow item is anchored so that it fills the source element. In + this case, if the HorizontalOffset and verticalOffset properties are set + to 0, the shadow is rendered fully inside the source item. By changing + the offset properties, the shadow can be positioned relatively to the + source item. + + The values range from -inf to inf. By default, the properties are set to + \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image InnerShadow_horizontalOffset1.png + \li \image InnerShadow_horizontalOffset2.png + \li \image InnerShadow_horizontalOffset3.png + \row + \li \b { horizontalOffset: -20 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 20 } + \row + \li \l radius: 16 + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ property real horizontalOffset: 0 property real verticalOffset: 0 + + /*! + This property selects the blurring algorithm that is used to produce the + softness for the effect. Setting this to true enables fast algorithm, + setting value to false produces higher quality result. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different fast values + \li + \li + \row + \li \image InnerShadow_fast1.png + \li \image InnerShadow_fast2.png + \row + \li \b { fast: false } + \li \b { fast: true } + \row + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false Loader { diff --git a/src/effects/LevelAdjust.qml b/src/effects/LevelAdjust.qml index a193107..e13f8aa 100644 --- a/src/effects/LevelAdjust.qml +++ b/src/effects/LevelAdjust.qml @@ -41,14 +41,362 @@ import QtQuick 2.0 import "private" +/*! + \qmltype LevelAdjust + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Adjusts color levels in the RGBA color space. + + This effect adjusts the source item colors separately for each color + channel. Source item contrast can be adjusted and color balance altered. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image LevelAdjust_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet LevelAdjust-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + */ property variant source + + /*! + This property defines the change factor for how the value of each pixel + color channel is altered according to the equation: + + \code result.rgb = pow(original.rgb, 1.0 / gamma.rgb); \endcode + + Setting the gamma values under QtVector3d(1.0, 1.0, 1.0) makes the image + darker, the values above QtVector3d(1.0, 1.0, 1.0) lighten it. + + The value ranges from QtVector3d(0.0, 0.0, 0.0) (darkest) to inf + (lightest). By default, the property is set to \c QtVector3d(1.0, 1.0, + 1.0) (no change). + + \table + \header + \li Output examples with different gamma values + \li + \li + \row + \li \image LevelAdjust_gamma1.png + \li \image LevelAdjust_gamma2.png + \li \image LevelAdjust_gamma3.png + \row + \li \b { gamma: Qt.vector3d(1.0, 1.0, 1.0) } + \li \b { gamma: Qt.vector3d(1.0, 0.4, 2.0) } + \li \b { gamma: Qt.vector3d(1.0, 0.1, 4.0) } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_gamma2_curve.png + \li \image LevelAdjust_gamma3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + */ property variant gamma: Qt.vector3d(1.0, 1.0, 1.0) + + /*! + This property defines the minimum input level for each color channel. It + sets the black-point, all pixels having lower value than this property + are rendered as black (per color channel). Increasing the value darkens + the dark areas. + + The value ranges from "#00000000" to "#ffffffff". By default, the + property is set to \c "#00000000" (no change). + + \table + \header + \li Output examples with different minimumInput values + \li + \li + \row + \li \image LevelAdjust_minimumInput1.png + \li \image LevelAdjust_minimumInput2.png + \li \image LevelAdjust_minimumInput3.png + \row + \li \b { minimumInput: #00000000 } + \li \b { minimumInput: #00000040 } + \li \b { minimumInput: #00000070 } + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_minimumInput2_curve.png + \li \image LevelAdjust_minimumInput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + + */ property color minimumInput: Qt.rgba(0.0, 0.0, 0.0, 0.0) + + /*! + This property defines the maximum input level for each color channel. + It sets the white-point, all pixels having higher value than this + property are rendered as white (per color channel). + Decreasing the value lightens the light areas. + + The value ranges from "#ffffffff" to "#00000000". By default, the + property is set to \c "#ffffffff" (no change). + + \table + \header + \li Output examples with different maximumInput values + \li + \li + \row + \li \image LevelAdjust_maximumInput1.png + \li \image LevelAdjust_maximumInput2.png + \li \image LevelAdjust_maximumInput3.png + \row + \li \b { maximumInput: #FFFFFFFF } + \li \b { maximumInput: #FFFFFF80 } + \li \b { maximumInput: #FFFFFF30 } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_maximumInput2_curve.png + \li \image LevelAdjust_maximumInput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + + */ property color maximumInput: Qt.rgba(1.0, 1.0, 1.0, 1.0) + + /*! + This property defines the minimum output level for each color channel. + Increasing the value lightens the dark areas, reducing the contrast. + + The value ranges from "#00000000" to "#ffffffff". By default, the + property is set to \c "#00000000" (no change). + + \table + \header + \li Output examples with different minimumOutput values + \li + \li + \row + \li \image LevelAdjust_minimumOutput1.png + \li \image LevelAdjust_minimumOutput2.png + \li \image LevelAdjust_minimumOutput3.png + \row + \li \b { minimumOutput: #00000000 } + \li \b { minimumOutput: #00000070 } + \li \b { minimumOutput: #000000A0 } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_minimumOutput2_curve.png + \li \image LevelAdjust_minimumOutput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + + */ property color minimumOutput: Qt.rgba(0.0, 0.0, 0.0, 0.0) + + /*! + This property defines the maximum output level for each color channel. + Decreasing the value darkens the light areas, reducing the contrast. + + The value ranges from "#ffffffff" to "#00000000". By default, the + property is set to \c "#ffffffff" (no change). + + \table + \header + \li Output examples with different maximumOutput values + \li + \li + \row + \li \image LevelAdjust_maximumOutput1.png + \li \image LevelAdjust_maximumOutput2.png + \li \image LevelAdjust_maximumOutput3.png + \row + \li \b { maximumOutput: #FFFFFFFF } + \li \b { maximumOutput: #FFFFFF80 } + \li \b { maximumOutput: #FFFFFF30 } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_maximumOutput2_curve.png + \li \image LevelAdjust_maximumOutput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + */ property color maximumOutput: Qt.rgba(1.0, 1.0, 1.0, 1.0) + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/src/effects/LinearGradient.qml b/src/effects/LinearGradient.qml index dfd35a8..10f565f 100644 --- a/src/effects/LinearGradient.qml +++ b/src/effects/LinearGradient.qml @@ -41,13 +41,207 @@ import QtQuick 2.0 import "private" +/*! + \qmltype LinearGradient + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-gradient + \brief Draws a linear gradient. + + A gradient is defined by two or more colors, which are blended seamlessly. + The colors start from the given start point and end to the given end point. + + \table + \header + \li Effect applied + \row + \li \image LinearGradient.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet LinearGradient-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the starting point where the color at gradient + position of 0.0 is rendered. Colors at larger position values are + rendered linearly towards the end point. The point is given in pixels + and the default value is Qt.point(0, 0). Setting the default values for + the start and \l{LinearGradient::end}{end} results in a full height + linear gradient on the y-axis. + + \table + \header + \li Output examples with different start values + \li + \li + \row + \li \image LinearGradient_start1.png + \li \image LinearGradient_start2.png + \li \image LinearGradient_start3.png + \row + \li \b { start: QPoint(0, 0) } + \li \b { start: QPoint(150, 150) } + \li \b { start: QPoint(300, 0) } + \row + \li \l end: QPoint(300, 300) + \li \l end: QPoint(300, 300) + \li \l end: QPoint(300, 300) + \endtable + + */ property variant start: Qt.point(0, 0) + + /*! + This property defines the ending point where the color at gradient + position of 1.0 is rendered. Colors at smaller position values are + rendered linearly towards the start point. The point is given in pixels + and the default value is Qt.point(0, height). Setting the default values + for the \l{LinearGradient::start}{start} and end results in a full + height linear gradient on the y-axis. + + \table + \header + \li Output examples with different end values + \li + \li + \row + \li \image LinearGradient_end1.png + \li \image LinearGradient_end2.png + \li \image LinearGradient_end3.png + \row + \li \b { end: Qt.point(300, 300) } + \li \b { end: Qt.point(150, 150) } + \li \b { end: Qt.point(300, 0) } + \row + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \endtable + + */ property variant end: Qt.point(0, height) + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false + + /*! + This property defines the item that is going to be filled with gradient. + Source item gets rendered into an intermediate pixel buffer and the + alpha values from the result are used to determine the gradient's pixels + visibility in the display. The default value for source is undefined and + in that case whole effect area is filled with gradient. + + \table + \header + \li Output examples with different source values + \li + \li + \row + \li \image LinearGradient_maskSource1.png + \li \image LinearGradient_maskSource2.png + \row + \li \b { source: undefined } + \li \b { source: Image { source: images/butterfly.png } } + \row + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \row + \li \l end: Qt.point(300, 300) + \li \l end: Qt.point(300, 300) + \endtable + + */ property variant source + + /*! + A gradient is defined by two or more colors, which are blended + seamlessly. The colors are specified as a set of GradientStop child + items, each of which defines a position on the gradient from 0.0 to 1.0 + and a color. The position of each GradientStop is defined by the + position property, and the color is definded by the color property. + + \table + \header + \li Output examples with different gradient values + \li + \li + \row + \li \image LinearGradient_gradient1.png + \li \image LinearGradient_gradient2.png + \li \image LinearGradient_gradient3.png + \row + \li \b {gradient:} \code + Gradient { + GradientStop { position: 0.000 + color: Qt.rgba(1, 0, 0, 1) } + GradientStop { position: 0.167; + color: Qt.rgba(1, 1, 0, 1) } + GradientStop { position: 0.333; + color: Qt.rgba(0, 1, 0, 1) } + GradientStop { position: 0.500; + color: Qt.rgba(0, 1, 1, 1) } + GradientStop { position: 0.667; + color: Qt.rgba(0, 0, 1, 1) } + GradientStop { position: 0.833; + color: Qt.rgba(1, 0, 1, 1) } + GradientStop { position: 1.000; + color: Qt.rgba(1, 0, 0, 1) } + } + \endcode + \li \b {gradient:} \code + Gradient { + GradientStop { position: 0.0 + color: "#F0F0F0" + } + GradientStop { position: 0.5 + color: "#000000" + } + GradientStop { position: 1.0 + color: "#F0F0F0" + } + } + \endcode + \li \b {gradient:} \code + Gradient { + GradientStop { position: 0.0 + color: "#00000000" + } + GradientStop { position: 1.0 + color: "#FF000000" + } + } + \endcode + \row + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \row + \li \l end: Qt.point(300, 300) + \li \l end: Qt.point(300, 300) + \li \l end: Qt.point(300, 300) + \endtable + + */ property Gradient gradient: Gradient { GradientStop { position: 0.0; color: "white" } GradientStop { position: 1.0; color: "black" } diff --git a/src/effects/MaskedBlur.qml b/src/effects/MaskedBlur.qml index e426156..181b435 100644 --- a/src/effects/MaskedBlur.qml +++ b/src/effects/MaskedBlur.qml @@ -41,14 +41,209 @@ import QtQuick 2.0 import "private" +/*! + \qmltype MaskedBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a blur effect with a varying intesity. + + MaskedBlur effect softens the image by blurring it. The intensity of the + blur can be controlled for each pixel using maskSource so that some parts of + the source are blurred more than others. By default the effect produces a + high quality result, thus the rendering speed may not be the highest + possible. The rendering speed is reduced especially if the + \l{MaskedBlur::samples}{samples} is large. For use cases that require faster + rendering speed and the highest possible visual quality is not necessary, + property \l{MaskedBlur::fast}{fast} can be set to true. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image MaskedBlur_mask.png + \li \image MaskedBlur_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet MaskedBlur-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the item that is controlling the final intensity + of the blur. The pixel alpha channel value from maskSource defines the + actual blur radius that is going to be used for blurring the + corresponding source pixel. + + Opaque maskSource pixels produce blur with specified + \l{MaskedBlur::radius}{radius}, while transparent pixels suppress the + blur completely. Semitransparent maskSource pixels produce blur with a + radius that is interpolated according to the pixel transparency level. + */ property variant maskSource + + /*! + This property defines the distance of the neighboring pixels which + affect the blurring of an individual pixel. A larger radius increases + the blur effect. + + Depending on the radius value, value of the + \l{MaskedBlur::samples}{samples} should be set to sufficiently large to + ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image MaskedBlur_radius1.png + \li \image MaskedBlur_radius2.png + \li \image MaskedBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 8 } + \li \b { radius: 16 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l transparentBorder: false + \li \l transparentBorder: false + \li \l transparentBorder: false + \row + \li \l fast: false + \li \l fast: false + \li \l fast: false + \endtable + + */ property real radius: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + Ideally, this value should be twice as large as the highest required + radius value, for example, if the radius is animated between 0.0 and + 4.0, samples should be set to 8. + + The value ranges from 0 to 32. By default, the property is set to \c 0. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + When \l{MaskedBlur::fast}{fast} property is set to true, this property + has no effect. + */ property int samples: 0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false + + /*! + This property selects the blurring algorithm that is used to produce the + blur. Setting this to true enables fast algorithm, setting value to + false produces higher quality result. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different fast values + \li + \li + \row + \li \image MaskedBlur_fast1.png + \li \image MaskedBlur_fast2.png + \row + \li \b { fast: false } + \li \b { fast: true } + \row + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l transparentBorder: false + \li \l transparentBorder: false + \endtable + + */ property bool fast: false + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image MaskedBlur_transparentBorder1.png + \li \image MaskedBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l radius: 64 + \li \l radius: 64 + \row + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l fast: true + \li \l fast: true + \endtable + + */ property bool transparentBorder: false Loader { diff --git a/src/effects/OpacityMask.qml b/src/effects/OpacityMask.qml index 825002c..c0b8a43 100644 --- a/src/effects/OpacityMask.qml +++ b/src/effects/OpacityMask.qml @@ -41,10 +41,71 @@ import QtQuick 2.0 import "private" +/*! + \qmltype OpacityMask + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-mask + \brief Masks the source item with another item. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image OpacityMask_mask.png + \li \image OpacityMask_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet OpacityMask-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be masked. + */ property variant source + + /*! + This property defines the item that is going to be used as the mask. The + mask item gets rendered into an intermediate pixel buffer and the alpha + values from the result are used to determine the source item's pixels + visibility in the display. + + \table + \header + \li Original + \li Mask + \li Effect applied + \row + \li \image Original_bug.png + \li \image OpacityMask_mask.png + \li \image OpacityMask_bug.png + \endtable + */ property variant maskSource + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/src/effects/RadialBlur.qml b/src/effects/RadialBlur.qml index 09eb885..e58f0f0 100644 --- a/src/effects/RadialBlur.qml +++ b/src/effects/RadialBlur.qml @@ -41,14 +41,170 @@ import QtQuick 2.0 import "private" +/*! + \qmltype RadialBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies directional blur in a circular direction around the items + center point. + + Effect creates perceived impression that the source item appears to be + rotating to the direction of the blur. + + Other available motionblur effects are + \l{QtGraphicalEffects1::ZoomBlur}{ZoomBlur} and + \l{QtGraphicalEffects1::DirectionalBlur}{DirectionalBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image RadialBlur_bug.png + \endtable + + \section1 Example Usage + + The following example shows how to apply the effect. + \snippet RadialBlur-example.qml example +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the direction for the blur and at the same time + the level of blurring. The larger the angle, the more the result becomes + blurred. The quality of the blur depends on + \l{RadialBlur::samples}{samples} property. If angle value is large, more + samples are needed to keep the visual quality at high level. + + Allowed values are between 0.0 and 360.0. By default the property is set + to \c 0.0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image RadialBlur_angle1.png + \li \image RadialBlur_angle2.png + \li \image RadialBlur_angle3.png + \row + \li \b { angle: 0.0 } + \li \b { angle: 15.0 } + \li \b { angle: 30.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ property real angle: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ property int samples: 0 + + /*! + \qmlproperty real QtGraphicalEffects1::RadialBlur::horizontalOffset + \qmlproperty real QtGraphicalEffects1::RadialBlur::verticalOffset + + These properties define the offset in pixels for the perceived center + point of the rotation. + + Allowed values are between -inf and inf. + By default these properties are set to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image RadialBlur_horizontalOffset1.png + \li \image RadialBlur_horizontalOffset2.png + \li \image RadialBlur_horizontalOffset3.png + \row + \li \b { horizontalOffset: 75.0 } + \li \b { horizontalOffset: 0.0 } + \li \b { horizontalOffset: -75.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l angle: 20 + \li \l angle: 20 + \li \l angle: 20 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ property real horizontalOffset: 0.0 property real verticalOffset: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + */ property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false SourceProxy { diff --git a/src/effects/RadialGradient.qml b/src/effects/RadialGradient.qml index a5e1e2f..fbfe227 100644 --- a/src/effects/RadialGradient.qml +++ b/src/effects/RadialGradient.qml @@ -41,16 +41,289 @@ import QtQuick 2.0 import "private" +/*! + \qmltype RadialGradient + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-gradient + \brief Draws a radial gradient. + + A gradient is defined by two or more colors, which are blended seamlessly. + The colors start from the middle of the item and end at the borders. + + \table + \header + \li Effect applied + \row + \li \image RadialGradient.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet RadialGradient-example.qml example + +*/ Item { id: rootItem + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false + + /*! + The HorizontalOffset and verticalOffset properties define the offset in + pixels for the center point of the gradient compared to the item center. + + The values range from -inf to inf. By default, these properties are set + to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image RadialGradient_horizontalOffset1.png + \li \image RadialGradient_horizontalOffset2.png + \li \image RadialGradient_horizontalOffset3.png + \row + \li \b { horizontalOffset: -150 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 150 } + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + + */ property real horizontalOffset: 0.0 property real verticalOffset: 0.0 + + /*! + The HorizontalRadius and verticalRadius properties define the shape and + size of the radial gradient. If the radiuses are equal, the shape of the + gradient is a circle. If the horizontal and vertical radiuses differ, + the shape is elliptical. The radiuses are given in pixels. + + The value ranges from -inf to inf. By default, horizontalRadius is bound + to width and verticalRadius is bound to height. + + \table + \header + \li Output examples with different horizontalRadius values + \li + \li + \row + \li \image RadialGradient_horizontalRadius1.png + \li \image RadialGradient_horizontalRadius2.png + \row + \li \b { horizontalRadius: 300 } + \li \b { horizontalRadius: 100 } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l gradient: QQuickGradient(0xa05fb10) + \li \l gradient: QQuickGradient(0xa05fb10) + \endtable + + */ property real horizontalRadius: width property real verticalRadius: height + + /*! + This property defines the rotation of the gradient around its center + point. The rotation is only visible when the + \l{RadialGradient::horizontalRadius}{horizontalRadius} and + \l{RadialGradient::verticalRadius}{verticalRadius} properties are not + equal. The angle is given in degrees and the default value is \c 0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image RadialGradient_angle1.png + \li \image RadialGradient_angle2.png + \li \image RadialGradient_angle3.png + \row + \li \b { angle: 0 } + \li \b { angle: 45 } + \li \b { angle: 90 } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 100 + \li \l horizontalRadius: 100 + \li \l horizontalRadius: 100 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \endtable + */ property real angle: 0.0 + + /*! + This property defines the item that is going to be filled with gradient. + Source item gets rendered into an intermediate pixel buffer and the + alpha values from the result are used to determine the gradient's pixels + visibility in the display. The default value for source is undefined and + in that case whole effect area is filled with gradient. + + \table + \header + \li Output examples with different source values + \li + \li + \row + \li \image RadialGradient_maskSource1.png + \li \image RadialGradient_maskSource2.png + \row + \li \b { source: undefined } + \li \b { source: Image { source: images/butterfly.png } } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \endtable + */ property variant source + /*! + A gradient is defined by two or more colors, which are blended + seamlessly. The colors are specified as a set of GradientStop child + items, each of which defines a position on the gradient from 0.0 to 1.0 + and a color. The position of each GradientStop is defined by setting the + position property. The color is defined by setting the color property. + + \table + \header + \li Output examples with different gradient values + \li + \li + \row + \li \image RadialGradient_gradient1.png + \li \image RadialGradient_gradient2.png + \li \image RadialGradient_gradient3.png + \row + \li \b {gradient:} \code + Gradient { + GradientStop { position: 0.000 + color: Qt.rgba(1, 0, 0, 1) } + GradientStop { position: 0.167; + color: Qt.rgba(1, 1, 0, 1) } + GradientStop { position: 0.333; + color: Qt.rgba(0, 1, 0, 1) } + GradientStop { position: 0.500; + color: Qt.rgba(0, 1, 1, 1) } + GradientStop { position: 0.667; + color: Qt.rgba(0, 0, 1, 1) } + GradientStop { position: 0.833; + color: Qt.rgba(1, 0, 1, 1) } + GradientStop { position: 1.000; + color: Qt.rgba(1, 0, 0, 1) } + } + \endcode + \li \b {gradient:} \code + Gradient { + GradientStop { position: 0.0 + color: "#F0F0F0" + } + GradientStop { position: 0.5 + color: "#000000" + } + GradientStop { position: 1.0 + color: "#F0F0F0" + } + } + \endcode + \li \b {gradient:} + \code + Gradient { + GradientStop { position: 0.0 + color: "#00000000" + } + GradientStop { position: 1.0 + color: "#FF000000" + } + } + \endcode + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + */ property Gradient gradient: Gradient { GradientStop { position: 0.0; color: "white" } GradientStop { position: 1.0; color: "black" } diff --git a/src/effects/RectangularGlow.qml b/src/effects/RectangularGlow.qml index d5fef32..591fb48 100644 --- a/src/effects/RectangularGlow.qml +++ b/src/effects/RectangularGlow.qml @@ -41,12 +41,196 @@ import QtQuick 2.0 import "private" +/*! + \qmltype RectangularGlow + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-glow + \brief Generates a blurred and colorized rectangle, which gives + the impression that the source is glowing. + + This effect is intended to have good performance. The shape of the glow is + limited to a rectangle with a custom corner radius. For situations where + custom shapes are required, consider \l {QtGraphicalEffects1::Glow} {Glow} + effect. + + \table + \header + \li Effect applied + \row + \li \image RectangularGlow_applied.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet RectangularGlow-example.qml example +*/ Item { id: rootItem + + /*! + This property defines how many pixels outside the item area are reached + by the glow. + + The value ranges from 0.0 (no glow) to inf (infinite glow). By default, + the property is set to \c 0.0. + + \table + \header + \li Output examples with different glowRadius values + \li + \li + \row + \li \image RectangularGlow_glowRadius1.png + \li \image RectangularGlow_glowRadius2.png + \li \image RectangularGlow_glowRadius3.png + \row + \li \b { glowRadius: 10 } + \li \b { glowRadius: 20 } + \li \b { glowRadius: 40 } + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + + */ property real glowRadius: 0.0 + + /*! + This property defines how large part of the glow color is strenghtened + near the source edges. + + The value ranges from 0.0 (no strenght increase) to 1.0 (maximum + strenght increase). By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image RectangularGlow_spread1.png + \li \image RectangularGlow_spread2.png + \li \image RectangularGlow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ property real spread: 0.0 + + /*! + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image RectangularGlow_color1.png + \li \image RectangularGlow_color2.png + \li \image RectangularGlow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #55ff55 } + \li \b { color: #5555ff } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ property color color: "white" + + /*! + This property defines the corner radius that is used to draw a glow with + rounded corners. + + The value ranges from 0.0 to half of the effective width or height of + the glow, whichever is smaller. This can be calculated with: \c{ + min(width, height) / 2.0 + glowRadius} + + By default, the property is bound to glowRadius property. The glow + behaves as if the rectangle was blurred when adjusting the glowRadius + property. + + \table + \header + \li Output examples with different cornerRadius values + \li + \li + \row + \li \image RectangularGlow_cornerRadius1.png + \li \image RectangularGlow_cornerRadius2.png + \li \image RectangularGlow_cornerRadius3.png + \row + \li \b { cornerRadius: 0 } + \li \b { cornerRadius: 25 } + \li \b { cornerRadius: 50 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ property real cornerRadius: glowRadius + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false ShaderEffectSource { diff --git a/src/effects/RecursiveBlur.qml b/src/effects/RecursiveBlur.qml index ec2baac..3e5fafa 100644 --- a/src/effects/RecursiveBlur.qml +++ b/src/effects/RecursiveBlur.qml @@ -41,13 +41,174 @@ import QtQuick 2.0 import "private" +/*! + \qmltype RecursiveBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Blurs repeatedly, providing a strong blur effect. + + The RecursiveBlur effect softens the image by blurring it with an algorithm + that uses a recursive feedback loop to blur the source multiple times. The + effect may give more blurry results than + \l{QtGraphicalEffects1::GaussianBlur}{GaussianBlur} or + \l{QtGraphicalEffects1::FastBlur}{FastBlur}, but the result is produced + asynchronously and takes more time. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image RecursiveBlur_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet RecursiveBlur-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the distance of neighboring pixels which influence + the blurring of individual pixels. A larger radius provides better + quality, but is slower to render. + + \b Note: The radius value in this effect is not intended to be changed + or animated frequently. The correct way to use it is to set the correct + value and keep it unchanged for the whole duration of the iterative blur + sequence. + + The value ranges from (no blur) to 16.0 (maximum blur step). By default, + the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image RecursiveBlur_radius1.png + \li \image RecursiveBlur_radius2.png + \li \image RecursiveBlur_radius3.png + \row + \li \b { radius: 2.5 } + \li \b { radius: 4.5 } + \li \b { radius: 7.5 } + \row + \li \l loops: 20 + \li \l loops: 20 + \li \l loops: 20 + \endtable + + */ property real radius: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ property bool cached: false + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image RecursiveBlur_transparentBorder1.png + \li \image RecursiveBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l loops: 20 + \li \l loops: 20 + \row + \li \l radius: 7.5 + \li \l radius: 7.5 + \endtable + */ property bool transparentBorder: false + + /*! + This property defines the amount of blur iterations that are going to be + performed for the source. When the property changes, the iterative + blurring process starts. If the value is decreased or if the value + changes from zero to non-zero, a snapshot is taken from the source. The + snapshot is used as a starting point for the process. + + The iteration loop tries to run as fast as possible. The speed might be + limited by the VSYNC or the time needed for one blur step, or both. + Sometimes it may be desirable to perform the blurring with a slower + pace. In that case, it may be convenient to control the property with + Animation which increases the value. + + The value ranges from 0 to inf. By default, the property is set to \c 0. + + \table + \header + \li Output examples with different loops values + \li + \li + \row + \li \image RecursiveBlur_loops1.png + \li \image RecursiveBlur_loops2.png + \li \image RecursiveBlur_loops3.png + \row + \li \b { loops: 4 } + \li \b { loops: 20 } + \li \b { loops: 70 } + \row + \li \l radius: 7.5 + \li \l radius: 7.5 + \li \l radius: 7.5 + \endtable + + */ property int loops: 0 + + /*! + This property holds the progress of asynchronous source blurring + process, from 0.0 (nothing blurred) to 1.0 (finished). + */ property real progress: loops > 0.0 ? Math.min(1.0, recursionTimer.counter / loops) : 0.0 onLoopsChanged: recursiveSource.scheduleUpdate() diff --git a/src/effects/ThresholdMask.qml b/src/effects/ThresholdMask.qml index 6da388a..4645928 100644 --- a/src/effects/ThresholdMask.qml +++ b/src/effects/ThresholdMask.qml @@ -41,12 +41,137 @@ import QtQuick 2.0 import "private" +/*! + \qmltype ThresholdMask + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-mask + \brief Masks the source item with another item and applies a threshold + value. + + The masking behavior can be controlled with the \l threshold value for the + mask pixels. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image ThresholdMask_mask.png + \li \image ThresholdMask_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet ThresholdMask-example.qml example +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be masked. + */ property variant source + + /*! + This property defines the item that is going to be used as the mask. + Mask item gets rendered into an intermediate pixel buffer and the alpha + values from the result are used to determine the source item's pixels + visibility in the display. + + \table + \header + \li Original + \li Mask + \li Effect applied + \row + \li \image Original_bug.png + \li \image ThresholdMask_mask.png + \li \image ThresholdMask_bug.png + \endtable + */ property variant maskSource + + /*! + This property defines a threshold value for the mask pixels. The mask + pixels that have an alpha value below this property are used to + completely mask away the corresponding pixels from the source item. The + mask pixels that have a higher alpha value are used to alphablend the + source item to the display. + + The value ranges from 0.0 (alpha value 0) to 1.0 (alpha value 255). By + default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different threshold values + \li + \li + \row + \li \image ThresholdMask_threshold1.png + \li \image ThresholdMask_threshold2.png + \li \image ThresholdMask_threshold3.png + \row + \li \b { threshold: 0.0 } + \li \b { threshold: 0.5 } + \li \b { threshold: 0.7 } + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ property real threshold: 0.0 + + /*! + This property defines the smoothness of the mask edges near the + \l{ThresholdMask::threshold}{threshold} alpha value. Setting spread to + 0.0 uses mask normally with the specified threshold. Setting higher + spread values softens the transition from the transparent mask pixels + towards opaque mask pixels by adding interpolated values between them. + + The value ranges from 0.0 (sharp mask edge) to 1.0 (smooth mask edge). + By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image ThresholdMask_spread1.png + \li \image ThresholdMask_spread2.png + \li \image ThresholdMask_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.2 } + \li \b { spread: 0.8 } + \row + \li \l threshold: 0.4 + \li \l threshold: 0.4 + \li \l threshold: 0.4 + \endtable + + */ property real spread: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/src/effects/ZoomBlur.qml b/src/effects/ZoomBlur.qml index 4ef0469..94b1722 100644 --- a/src/effects/ZoomBlur.qml +++ b/src/effects/ZoomBlur.qml @@ -41,14 +41,172 @@ import QtQuick 2.0 import "private" +/*! + \qmltype ZoomBlur + \inqmlmodule QtGraphicalEffects 1.0 + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies directional blur effect towards source items center point. + + Effect creates perceived impression that the source item appears to be + moving towards the center point in Z-direction or that the camera appears + to be zooming rapidly. Other available motion blur effects are + \l{QtGraphicalEffects1::DirectionalBlur}{DirectionalBlur} + and \l{QtGraphicalEffects1::RadialBlur}{RadialBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image ZoomBlur_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet ZoomBlur-example.qml example + +*/ Item { id: rootItem + + /*! + This property defines the source item that is going to be blurred. + */ property variant source + + /*! + This property defines the maximum perceived amount of movement for each + pixel. The amount is smaller near the center and reaches the specified + value at the edges. + + The quality of the blur depends on \l{ZoomBlur::samples}{samples} + property. If length value is large, more samples are needed to keep the + visual quality at high level. + + The value ranges from 0.0 to inf. By default the property is set to \c + 0.0 (no blur). + + \table + \header + \li Output examples with different length values + \li + \li + \row + \li \image ZoomBlur_length1.png + \li \image ZoomBlur_length2.png + \li \image ZoomBlur_length3.png + \row + \li \b { length: 0.0 } + \li \b { length: 32.0 } + \li \b { length: 48.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ property real length: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ property int samples: 0 + + /*! + \qmlproperty real QtGraphicalEffects1::ZoomBlur::horizontalOffset + \qmlproperty real QtGraphicalEffects1::ZoomBlur::verticalOffset + + These properties define an offset in pixels for the blur direction + center point. + + The values range from -inf to inf. By default these properties are set + to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image ZoomBlur_horizontalOffset1.png + \li \image ZoomBlur_horizontalOffset2.png + \li \image ZoomBlur_horizontalOffset3.png + \row + \li \b { horizontalOffset: 100.0 } + \li \b { horizontalOffset: 0.0 } + \li \b { horizontalOffset: -100.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l length: 32 + \li \l length: 32 + \li \l length: 32 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ property real horizontalOffset: 0.0 property real verticalOffset: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + */ property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ property bool cached: false SourceProxy { diff --git a/doc/src/images/Blend_bug_and_butterfly.png b/src/effects/doc/images/Blend_bug_and_butterfly.png Binary files differindex 1e3f09f..1e3f09f 100755 --- a/doc/src/images/Blend_bug_and_butterfly.png +++ b/src/effects/doc/images/Blend_bug_and_butterfly.png diff --git a/doc/src/images/Blend_mode1.png b/src/effects/doc/images/Blend_mode1.png Binary files differindex 4ac773d..4ac773d 100644 --- a/doc/src/images/Blend_mode1.png +++ b/src/effects/doc/images/Blend_mode1.png diff --git a/doc/src/images/Blend_mode10.png b/src/effects/doc/images/Blend_mode10.png Binary files differindex 282725b..282725b 100644 --- a/doc/src/images/Blend_mode10.png +++ b/src/effects/doc/images/Blend_mode10.png diff --git a/doc/src/images/Blend_mode11.png b/src/effects/doc/images/Blend_mode11.png Binary files differindex e4e0db6..e4e0db6 100644 --- a/doc/src/images/Blend_mode11.png +++ b/src/effects/doc/images/Blend_mode11.png diff --git a/doc/src/images/Blend_mode12.png b/src/effects/doc/images/Blend_mode12.png Binary files differindex 0f9c98a..0f9c98a 100644 --- a/doc/src/images/Blend_mode12.png +++ b/src/effects/doc/images/Blend_mode12.png diff --git a/doc/src/images/Blend_mode13.png b/src/effects/doc/images/Blend_mode13.png Binary files differindex ac2567c..ac2567c 100644 --- a/doc/src/images/Blend_mode13.png +++ b/src/effects/doc/images/Blend_mode13.png diff --git a/doc/src/images/Blend_mode14.png b/src/effects/doc/images/Blend_mode14.png Binary files differindex cea329b..cea329b 100644 --- a/doc/src/images/Blend_mode14.png +++ b/src/effects/doc/images/Blend_mode14.png diff --git a/doc/src/images/Blend_mode15.png b/src/effects/doc/images/Blend_mode15.png Binary files differindex 5c7bc40..5c7bc40 100644 --- a/doc/src/images/Blend_mode15.png +++ b/src/effects/doc/images/Blend_mode15.png diff --git a/doc/src/images/Blend_mode16.png b/src/effects/doc/images/Blend_mode16.png Binary files differindex cda82c1..cda82c1 100644 --- a/doc/src/images/Blend_mode16.png +++ b/src/effects/doc/images/Blend_mode16.png diff --git a/doc/src/images/Blend_mode17.png b/src/effects/doc/images/Blend_mode17.png Binary files differindex 7dfa8d8..7dfa8d8 100644 --- a/doc/src/images/Blend_mode17.png +++ b/src/effects/doc/images/Blend_mode17.png diff --git a/doc/src/images/Blend_mode18.png b/src/effects/doc/images/Blend_mode18.png Binary files differindex 25cd7b0..25cd7b0 100644 --- a/doc/src/images/Blend_mode18.png +++ b/src/effects/doc/images/Blend_mode18.png diff --git a/doc/src/images/Blend_mode19.png b/src/effects/doc/images/Blend_mode19.png Binary files differindex f9565cc..f9565cc 100644 --- a/doc/src/images/Blend_mode19.png +++ b/src/effects/doc/images/Blend_mode19.png diff --git a/doc/src/images/Blend_mode2.png b/src/effects/doc/images/Blend_mode2.png Binary files differindex 0cd57eb..0cd57eb 100644 --- a/doc/src/images/Blend_mode2.png +++ b/src/effects/doc/images/Blend_mode2.png diff --git a/doc/src/images/Blend_mode20.png b/src/effects/doc/images/Blend_mode20.png Binary files differindex 80cb192..80cb192 100644 --- a/doc/src/images/Blend_mode20.png +++ b/src/effects/doc/images/Blend_mode20.png diff --git a/doc/src/images/Blend_mode21.png b/src/effects/doc/images/Blend_mode21.png Binary files differindex be97d63..be97d63 100644 --- a/doc/src/images/Blend_mode21.png +++ b/src/effects/doc/images/Blend_mode21.png diff --git a/doc/src/images/Blend_mode22.png b/src/effects/doc/images/Blend_mode22.png Binary files differindex a5d0280..a5d0280 100644 --- a/doc/src/images/Blend_mode22.png +++ b/src/effects/doc/images/Blend_mode22.png diff --git a/doc/src/images/Blend_mode3.png b/src/effects/doc/images/Blend_mode3.png Binary files differindex cd14337..cd14337 100644 --- a/doc/src/images/Blend_mode3.png +++ b/src/effects/doc/images/Blend_mode3.png diff --git a/doc/src/images/Blend_mode4.png b/src/effects/doc/images/Blend_mode4.png Binary files differindex 509b372..509b372 100644 --- a/doc/src/images/Blend_mode4.png +++ b/src/effects/doc/images/Blend_mode4.png diff --git a/doc/src/images/Blend_mode5.png b/src/effects/doc/images/Blend_mode5.png Binary files differindex 8f557c0..8f557c0 100644 --- a/doc/src/images/Blend_mode5.png +++ b/src/effects/doc/images/Blend_mode5.png diff --git a/doc/src/images/Blend_mode6.png b/src/effects/doc/images/Blend_mode6.png Binary files differindex de85ea6..de85ea6 100644 --- a/doc/src/images/Blend_mode6.png +++ b/src/effects/doc/images/Blend_mode6.png diff --git a/doc/src/images/Blend_mode7.png b/src/effects/doc/images/Blend_mode7.png Binary files differindex 11b0b55..11b0b55 100644 --- a/doc/src/images/Blend_mode7.png +++ b/src/effects/doc/images/Blend_mode7.png diff --git a/doc/src/images/Blend_mode8.png b/src/effects/doc/images/Blend_mode8.png Binary files differindex 7376f44..7376f44 100644 --- a/doc/src/images/Blend_mode8.png +++ b/src/effects/doc/images/Blend_mode8.png diff --git a/doc/src/images/Blend_mode9.png b/src/effects/doc/images/Blend_mode9.png Binary files differindex ed1aba9..ed1aba9 100644 --- a/doc/src/images/Blend_mode9.png +++ b/src/effects/doc/images/Blend_mode9.png diff --git a/doc/src/images/BrightnessContrast_brightness1.png b/src/effects/doc/images/BrightnessContrast_brightness1.png Binary files differindex 98a9d25..98a9d25 100644 --- a/doc/src/images/BrightnessContrast_brightness1.png +++ b/src/effects/doc/images/BrightnessContrast_brightness1.png diff --git a/doc/src/images/BrightnessContrast_brightness2.png b/src/effects/doc/images/BrightnessContrast_brightness2.png Binary files differindex 8683c0a..8683c0a 100644 --- a/doc/src/images/BrightnessContrast_brightness2.png +++ b/src/effects/doc/images/BrightnessContrast_brightness2.png diff --git a/doc/src/images/BrightnessContrast_brightness3.png b/src/effects/doc/images/BrightnessContrast_brightness3.png Binary files differindex 8d0cbb9..8d0cbb9 100644 --- a/doc/src/images/BrightnessContrast_brightness3.png +++ b/src/effects/doc/images/BrightnessContrast_brightness3.png diff --git a/doc/src/images/BrightnessContrast_bug.png b/src/effects/doc/images/BrightnessContrast_bug.png Binary files differindex 9b3c467..9b3c467 100644 --- a/doc/src/images/BrightnessContrast_bug.png +++ b/src/effects/doc/images/BrightnessContrast_bug.png diff --git a/doc/src/images/BrightnessContrast_contrast1.png b/src/effects/doc/images/BrightnessContrast_contrast1.png Binary files differindex 908cc0f..908cc0f 100644 --- a/doc/src/images/BrightnessContrast_contrast1.png +++ b/src/effects/doc/images/BrightnessContrast_contrast1.png diff --git a/doc/src/images/BrightnessContrast_contrast2.png b/src/effects/doc/images/BrightnessContrast_contrast2.png Binary files differindex 8683c0a..8683c0a 100644 --- a/doc/src/images/BrightnessContrast_contrast2.png +++ b/src/effects/doc/images/BrightnessContrast_contrast2.png diff --git a/doc/src/images/BrightnessContrast_contrast3.png b/src/effects/doc/images/BrightnessContrast_contrast3.png Binary files differindex 2fc89dc..2fc89dc 100644 --- a/doc/src/images/BrightnessContrast_contrast3.png +++ b/src/effects/doc/images/BrightnessContrast_contrast3.png diff --git a/doc/src/images/BrightnessContrast_contrast_graph.png b/src/effects/doc/images/BrightnessContrast_contrast_graph.png Binary files differindex 67b3d7b..67b3d7b 100755 --- a/doc/src/images/BrightnessContrast_contrast_graph.png +++ b/src/effects/doc/images/BrightnessContrast_contrast_graph.png diff --git a/doc/src/images/ColorOverlay_butterfly.png b/src/effects/doc/images/ColorOverlay_butterfly.png Binary files differindex faa0dbf..faa0dbf 100644 --- a/doc/src/images/ColorOverlay_butterfly.png +++ b/src/effects/doc/images/ColorOverlay_butterfly.png diff --git a/doc/src/images/ColorOverlay_color1.png b/src/effects/doc/images/ColorOverlay_color1.png Binary files differindex 48925eb..48925eb 100644 --- a/doc/src/images/ColorOverlay_color1.png +++ b/src/effects/doc/images/ColorOverlay_color1.png diff --git a/doc/src/images/ColorOverlay_color2.png b/src/effects/doc/images/ColorOverlay_color2.png Binary files differindex bfb27af..bfb27af 100644 --- a/doc/src/images/ColorOverlay_color2.png +++ b/src/effects/doc/images/ColorOverlay_color2.png diff --git a/doc/src/images/ColorOverlay_color3.png b/src/effects/doc/images/ColorOverlay_color3.png Binary files differindex 16ded7a..16ded7a 100644 --- a/doc/src/images/ColorOverlay_color3.png +++ b/src/effects/doc/images/ColorOverlay_color3.png diff --git a/doc/src/images/Colorize_bug.png b/src/effects/doc/images/Colorize_bug.png Binary files differindex 7b5e7df..7b5e7df 100644 --- a/doc/src/images/Colorize_bug.png +++ b/src/effects/doc/images/Colorize_bug.png diff --git a/doc/src/images/Colorize_hue1.png b/src/effects/doc/images/Colorize_hue1.png Binary files differindex b5cf01d..b5cf01d 100644 --- a/doc/src/images/Colorize_hue1.png +++ b/src/effects/doc/images/Colorize_hue1.png diff --git a/doc/src/images/Colorize_hue2.png b/src/effects/doc/images/Colorize_hue2.png Binary files differindex 23c8348..23c8348 100644 --- a/doc/src/images/Colorize_hue2.png +++ b/src/effects/doc/images/Colorize_hue2.png diff --git a/doc/src/images/Colorize_hue3.png b/src/effects/doc/images/Colorize_hue3.png Binary files differindex 5b7ec44..5b7ec44 100644 --- a/doc/src/images/Colorize_hue3.png +++ b/src/effects/doc/images/Colorize_hue3.png diff --git a/doc/src/images/Colorize_hue_scale.png b/src/effects/doc/images/Colorize_hue_scale.png Binary files differindex 2eb9bc4..2eb9bc4 100755 --- a/doc/src/images/Colorize_hue_scale.png +++ b/src/effects/doc/images/Colorize_hue_scale.png diff --git a/doc/src/images/Colorize_lightness1.png b/src/effects/doc/images/Colorize_lightness1.png Binary files differindex b40eb49..b40eb49 100644 --- a/doc/src/images/Colorize_lightness1.png +++ b/src/effects/doc/images/Colorize_lightness1.png diff --git a/doc/src/images/Colorize_lightness2.png b/src/effects/doc/images/Colorize_lightness2.png Binary files differindex 100c718..100c718 100644 --- a/doc/src/images/Colorize_lightness2.png +++ b/src/effects/doc/images/Colorize_lightness2.png diff --git a/doc/src/images/Colorize_lightness3.png b/src/effects/doc/images/Colorize_lightness3.png Binary files differindex 2e1e50c..2e1e50c 100644 --- a/doc/src/images/Colorize_lightness3.png +++ b/src/effects/doc/images/Colorize_lightness3.png diff --git a/doc/src/images/Colorize_saturation1.png b/src/effects/doc/images/Colorize_saturation1.png Binary files differindex de755e7..de755e7 100644 --- a/doc/src/images/Colorize_saturation1.png +++ b/src/effects/doc/images/Colorize_saturation1.png diff --git a/doc/src/images/Colorize_saturation2.png b/src/effects/doc/images/Colorize_saturation2.png Binary files differindex 059a5ac..059a5ac 100644 --- a/doc/src/images/Colorize_saturation2.png +++ b/src/effects/doc/images/Colorize_saturation2.png diff --git a/doc/src/images/Colorize_saturation3.png b/src/effects/doc/images/Colorize_saturation3.png Binary files differindex 100c718..100c718 100644 --- a/doc/src/images/Colorize_saturation3.png +++ b/src/effects/doc/images/Colorize_saturation3.png diff --git a/doc/src/images/ConicalGradient.png b/src/effects/doc/images/ConicalGradient.png Binary files differindex d22dba0..d22dba0 100644 --- a/doc/src/images/ConicalGradient.png +++ b/src/effects/doc/images/ConicalGradient.png diff --git a/doc/src/images/ConicalGradient_angle1.png b/src/effects/doc/images/ConicalGradient_angle1.png Binary files differindex c29f72a..c29f72a 100644 --- a/doc/src/images/ConicalGradient_angle1.png +++ b/src/effects/doc/images/ConicalGradient_angle1.png diff --git a/doc/src/images/ConicalGradient_angle2.png b/src/effects/doc/images/ConicalGradient_angle2.png Binary files differindex d77f438..d77f438 100644 --- a/doc/src/images/ConicalGradient_angle2.png +++ b/src/effects/doc/images/ConicalGradient_angle2.png diff --git a/doc/src/images/ConicalGradient_angle3.png b/src/effects/doc/images/ConicalGradient_angle3.png Binary files differindex 7c7b165..7c7b165 100644 --- a/doc/src/images/ConicalGradient_angle3.png +++ b/src/effects/doc/images/ConicalGradient_angle3.png diff --git a/doc/src/images/ConicalGradient_gradient1.png b/src/effects/doc/images/ConicalGradient_gradient1.png Binary files differindex 34676bf..34676bf 100644 --- a/doc/src/images/ConicalGradient_gradient1.png +++ b/src/effects/doc/images/ConicalGradient_gradient1.png diff --git a/doc/src/images/ConicalGradient_gradient2.png b/src/effects/doc/images/ConicalGradient_gradient2.png Binary files differindex 819915f..819915f 100644 --- a/doc/src/images/ConicalGradient_gradient2.png +++ b/src/effects/doc/images/ConicalGradient_gradient2.png diff --git a/doc/src/images/ConicalGradient_gradient3.png b/src/effects/doc/images/ConicalGradient_gradient3.png Binary files differindex f53a65d..f53a65d 100644 --- a/doc/src/images/ConicalGradient_gradient3.png +++ b/src/effects/doc/images/ConicalGradient_gradient3.png diff --git a/doc/src/images/ConicalGradient_horizontalOffset1.png b/src/effects/doc/images/ConicalGradient_horizontalOffset1.png Binary files differindex abd767e..abd767e 100644 --- a/doc/src/images/ConicalGradient_horizontalOffset1.png +++ b/src/effects/doc/images/ConicalGradient_horizontalOffset1.png diff --git a/doc/src/images/ConicalGradient_horizontalOffset2.png b/src/effects/doc/images/ConicalGradient_horizontalOffset2.png Binary files differindex c29f72a..c29f72a 100644 --- a/doc/src/images/ConicalGradient_horizontalOffset2.png +++ b/src/effects/doc/images/ConicalGradient_horizontalOffset2.png diff --git a/doc/src/images/ConicalGradient_horizontalOffset3.png b/src/effects/doc/images/ConicalGradient_horizontalOffset3.png Binary files differindex 9052e45..9052e45 100644 --- a/doc/src/images/ConicalGradient_horizontalOffset3.png +++ b/src/effects/doc/images/ConicalGradient_horizontalOffset3.png diff --git a/doc/src/images/ConicalGradient_maskSource1.png b/src/effects/doc/images/ConicalGradient_maskSource1.png Binary files differindex c29f72a..c29f72a 100644 --- a/doc/src/images/ConicalGradient_maskSource1.png +++ b/src/effects/doc/images/ConicalGradient_maskSource1.png diff --git a/doc/src/images/ConicalGradient_maskSource2.png b/src/effects/doc/images/ConicalGradient_maskSource2.png Binary files differindex 4c6e25d..4c6e25d 100644 --- a/doc/src/images/ConicalGradient_maskSource2.png +++ b/src/effects/doc/images/ConicalGradient_maskSource2.png diff --git a/doc/src/images/Desaturate_bug.png b/src/effects/doc/images/Desaturate_bug.png Binary files differindex 1f684df..1f684df 100755 --- a/doc/src/images/Desaturate_bug.png +++ b/src/effects/doc/images/Desaturate_bug.png diff --git a/doc/src/images/Desaturate_desaturation1.png b/src/effects/doc/images/Desaturate_desaturation1.png Binary files differindex f514ee4..f514ee4 100644 --- a/doc/src/images/Desaturate_desaturation1.png +++ b/src/effects/doc/images/Desaturate_desaturation1.png diff --git a/doc/src/images/Desaturate_desaturation2.png b/src/effects/doc/images/Desaturate_desaturation2.png Binary files differindex 9665093..9665093 100644 --- a/doc/src/images/Desaturate_desaturation2.png +++ b/src/effects/doc/images/Desaturate_desaturation2.png diff --git a/doc/src/images/Desaturate_desaturation3.png b/src/effects/doc/images/Desaturate_desaturation3.png Binary files differindex 0c9a6ec..0c9a6ec 100644 --- a/doc/src/images/Desaturate_desaturation3.png +++ b/src/effects/doc/images/Desaturate_desaturation3.png diff --git a/doc/src/images/DirectionalBlur_angle1.png b/src/effects/doc/images/DirectionalBlur_angle1.png Binary files differindex 9700f73..9700f73 100644 --- a/doc/src/images/DirectionalBlur_angle1.png +++ b/src/effects/doc/images/DirectionalBlur_angle1.png diff --git a/doc/src/images/DirectionalBlur_angle2.png b/src/effects/doc/images/DirectionalBlur_angle2.png Binary files differindex adf9791..adf9791 100644 --- a/doc/src/images/DirectionalBlur_angle2.png +++ b/src/effects/doc/images/DirectionalBlur_angle2.png diff --git a/doc/src/images/DirectionalBlur_angle3.png b/src/effects/doc/images/DirectionalBlur_angle3.png Binary files differindex 7bf2a62..7bf2a62 100644 --- a/doc/src/images/DirectionalBlur_angle3.png +++ b/src/effects/doc/images/DirectionalBlur_angle3.png diff --git a/doc/src/images/DirectionalBlur_bug.png b/src/effects/doc/images/DirectionalBlur_bug.png Binary files differindex ad2fff5..ad2fff5 100644 --- a/doc/src/images/DirectionalBlur_bug.png +++ b/src/effects/doc/images/DirectionalBlur_bug.png diff --git a/doc/src/images/DirectionalBlur_length1.png b/src/effects/doc/images/DirectionalBlur_length1.png Binary files differindex f514ee4..f514ee4 100644 --- a/doc/src/images/DirectionalBlur_length1.png +++ b/src/effects/doc/images/DirectionalBlur_length1.png diff --git a/doc/src/images/DirectionalBlur_length2.png b/src/effects/doc/images/DirectionalBlur_length2.png Binary files differindex 9700f73..9700f73 100644 --- a/doc/src/images/DirectionalBlur_length2.png +++ b/src/effects/doc/images/DirectionalBlur_length2.png diff --git a/doc/src/images/DirectionalBlur_length3.png b/src/effects/doc/images/DirectionalBlur_length3.png Binary files differindex 1b3c52c..1b3c52c 100644 --- a/doc/src/images/DirectionalBlur_length3.png +++ b/src/effects/doc/images/DirectionalBlur_length3.png diff --git a/doc/src/images/Displace_bug.png b/src/effects/doc/images/Displace_bug.png Binary files differindex db95764..db95764 100644 --- a/doc/src/images/Displace_bug.png +++ b/src/effects/doc/images/Displace_bug.png diff --git a/doc/src/images/Displace_displacement1.png b/src/effects/doc/images/Displace_displacement1.png Binary files differindex a7c4a68..a7c4a68 100644 --- a/doc/src/images/Displace_displacement1.png +++ b/src/effects/doc/images/Displace_displacement1.png diff --git a/doc/src/images/Displace_displacement2.png b/src/effects/doc/images/Displace_displacement2.png Binary files differindex ad8a68c..ad8a68c 100644 --- a/doc/src/images/Displace_displacement2.png +++ b/src/effects/doc/images/Displace_displacement2.png diff --git a/doc/src/images/Displace_displacement3.png b/src/effects/doc/images/Displace_displacement3.png Binary files differindex 58286a8..58286a8 100644 --- a/doc/src/images/Displace_displacement3.png +++ b/src/effects/doc/images/Displace_displacement3.png diff --git a/doc/src/images/Displace_map.png b/src/effects/doc/images/Displace_map.png Binary files differindex 42f6baa..42f6baa 100644 --- a/doc/src/images/Displace_map.png +++ b/src/effects/doc/images/Displace_map.png diff --git a/doc/src/images/DropShadow_butterfly.png b/src/effects/doc/images/DropShadow_butterfly.png Binary files differindex 67f18d1..67f18d1 100755 --- a/doc/src/images/DropShadow_butterfly.png +++ b/src/effects/doc/images/DropShadow_butterfly.png diff --git a/doc/src/images/DropShadow_color1.png b/src/effects/doc/images/DropShadow_color1.png Binary files differindex a5945d4..a5945d4 100644 --- a/doc/src/images/DropShadow_color1.png +++ b/src/effects/doc/images/DropShadow_color1.png diff --git a/doc/src/images/DropShadow_color2.png b/src/effects/doc/images/DropShadow_color2.png Binary files differindex 6e5a16e..6e5a16e 100644 --- a/doc/src/images/DropShadow_color2.png +++ b/src/effects/doc/images/DropShadow_color2.png diff --git a/doc/src/images/DropShadow_color3.png b/src/effects/doc/images/DropShadow_color3.png Binary files differindex 042ada6..042ada6 100644 --- a/doc/src/images/DropShadow_color3.png +++ b/src/effects/doc/images/DropShadow_color3.png diff --git a/doc/src/images/DropShadow_fast1.png b/src/effects/doc/images/DropShadow_fast1.png Binary files differindex 1138f84..1138f84 100644 --- a/doc/src/images/DropShadow_fast1.png +++ b/src/effects/doc/images/DropShadow_fast1.png diff --git a/doc/src/images/DropShadow_fast2.png b/src/effects/doc/images/DropShadow_fast2.png Binary files differindex 385c0dc..385c0dc 100644 --- a/doc/src/images/DropShadow_fast2.png +++ b/src/effects/doc/images/DropShadow_fast2.png diff --git a/doc/src/images/DropShadow_horizontalOffset1.png b/src/effects/doc/images/DropShadow_horizontalOffset1.png Binary files differindex 901780d..901780d 100644 --- a/doc/src/images/DropShadow_horizontalOffset1.png +++ b/src/effects/doc/images/DropShadow_horizontalOffset1.png diff --git a/doc/src/images/DropShadow_horizontalOffset2.png b/src/effects/doc/images/DropShadow_horizontalOffset2.png Binary files differindex 87ebf93..87ebf93 100644 --- a/doc/src/images/DropShadow_horizontalOffset2.png +++ b/src/effects/doc/images/DropShadow_horizontalOffset2.png diff --git a/doc/src/images/DropShadow_horizontalOffset3.png b/src/effects/doc/images/DropShadow_horizontalOffset3.png Binary files differindex 1f56467..1f56467 100644 --- a/doc/src/images/DropShadow_horizontalOffset3.png +++ b/src/effects/doc/images/DropShadow_horizontalOffset3.png diff --git a/doc/src/images/DropShadow_radius1.png b/src/effects/doc/images/DropShadow_radius1.png Binary files differindex 2dd234b..2dd234b 100644 --- a/doc/src/images/DropShadow_radius1.png +++ b/src/effects/doc/images/DropShadow_radius1.png diff --git a/doc/src/images/DropShadow_radius2.png b/src/effects/doc/images/DropShadow_radius2.png Binary files differindex 50fdd15..50fdd15 100644 --- a/doc/src/images/DropShadow_radius2.png +++ b/src/effects/doc/images/DropShadow_radius2.png diff --git a/doc/src/images/DropShadow_radius3.png b/src/effects/doc/images/DropShadow_radius3.png Binary files differindex e7daa02..e7daa02 100644 --- a/doc/src/images/DropShadow_radius3.png +++ b/src/effects/doc/images/DropShadow_radius3.png diff --git a/doc/src/images/DropShadow_spread1.png b/src/effects/doc/images/DropShadow_spread1.png Binary files differindex fa9ca85..fa9ca85 100644 --- a/doc/src/images/DropShadow_spread1.png +++ b/src/effects/doc/images/DropShadow_spread1.png diff --git a/doc/src/images/DropShadow_spread2.png b/src/effects/doc/images/DropShadow_spread2.png Binary files differindex 0a9024f..0a9024f 100644 --- a/doc/src/images/DropShadow_spread2.png +++ b/src/effects/doc/images/DropShadow_spread2.png diff --git a/doc/src/images/DropShadow_spread3.png b/src/effects/doc/images/DropShadow_spread3.png Binary files differindex 4f50544..4f50544 100644 --- a/doc/src/images/DropShadow_spread3.png +++ b/src/effects/doc/images/DropShadow_spread3.png diff --git a/doc/src/images/FastBlur_bug.png b/src/effects/doc/images/FastBlur_bug.png Binary files differindex 05d5e8d..05d5e8d 100755 --- a/doc/src/images/FastBlur_bug.png +++ b/src/effects/doc/images/FastBlur_bug.png diff --git a/doc/src/images/FastBlur_radius1.png b/src/effects/doc/images/FastBlur_radius1.png Binary files differindex 43816e9..43816e9 100644 --- a/doc/src/images/FastBlur_radius1.png +++ b/src/effects/doc/images/FastBlur_radius1.png diff --git a/doc/src/images/FastBlur_radius2.png b/src/effects/doc/images/FastBlur_radius2.png Binary files differindex 239bee7..239bee7 100644 --- a/doc/src/images/FastBlur_radius2.png +++ b/src/effects/doc/images/FastBlur_radius2.png diff --git a/doc/src/images/FastBlur_radius3.png b/src/effects/doc/images/FastBlur_radius3.png Binary files differindex 6c66780..6c66780 100644 --- a/doc/src/images/FastBlur_radius3.png +++ b/src/effects/doc/images/FastBlur_radius3.png diff --git a/doc/src/images/FastBlur_transparentBorder1.png b/src/effects/doc/images/FastBlur_transparentBorder1.png Binary files differindex 6c66780..6c66780 100644 --- a/doc/src/images/FastBlur_transparentBorder1.png +++ b/src/effects/doc/images/FastBlur_transparentBorder1.png diff --git a/doc/src/images/FastBlur_transparentBorder2.png b/src/effects/doc/images/FastBlur_transparentBorder2.png Binary files differindex 9f0d293..9f0d293 100644 --- a/doc/src/images/FastBlur_transparentBorder2.png +++ b/src/effects/doc/images/FastBlur_transparentBorder2.png diff --git a/doc/src/images/GammaAdjust_bug.png b/src/effects/doc/images/GammaAdjust_bug.png Binary files differindex dd3c907..dd3c907 100644 --- a/doc/src/images/GammaAdjust_bug.png +++ b/src/effects/doc/images/GammaAdjust_bug.png diff --git a/doc/src/images/GammaAdjust_gamma1.png b/src/effects/doc/images/GammaAdjust_gamma1.png Binary files differindex 4154557..4154557 100644 --- a/doc/src/images/GammaAdjust_gamma1.png +++ b/src/effects/doc/images/GammaAdjust_gamma1.png diff --git a/doc/src/images/GammaAdjust_gamma1_graph.png b/src/effects/doc/images/GammaAdjust_gamma1_graph.png Binary files differindex bdb854c..bdb854c 100755 --- a/doc/src/images/GammaAdjust_gamma1_graph.png +++ b/src/effects/doc/images/GammaAdjust_gamma1_graph.png diff --git a/doc/src/images/GammaAdjust_gamma2.png b/src/effects/doc/images/GammaAdjust_gamma2.png Binary files differindex 8683c0a..8683c0a 100644 --- a/doc/src/images/GammaAdjust_gamma2.png +++ b/src/effects/doc/images/GammaAdjust_gamma2.png diff --git a/doc/src/images/GammaAdjust_gamma2_graph.png b/src/effects/doc/images/GammaAdjust_gamma2_graph.png Binary files differindex 9b9c859..9b9c859 100755 --- a/doc/src/images/GammaAdjust_gamma2_graph.png +++ b/src/effects/doc/images/GammaAdjust_gamma2_graph.png diff --git a/doc/src/images/GammaAdjust_gamma3.png b/src/effects/doc/images/GammaAdjust_gamma3.png Binary files differindex 7e76d49..7e76d49 100644 --- a/doc/src/images/GammaAdjust_gamma3.png +++ b/src/effects/doc/images/GammaAdjust_gamma3.png diff --git a/doc/src/images/GammaAdjust_gamma3_graph.png b/src/effects/doc/images/GammaAdjust_gamma3_graph.png Binary files differindex 4e16dae..4e16dae 100755 --- a/doc/src/images/GammaAdjust_gamma3_graph.png +++ b/src/effects/doc/images/GammaAdjust_gamma3_graph.png diff --git a/doc/src/images/GaussianBlur_bug.png b/src/effects/doc/images/GaussianBlur_bug.png Binary files differindex 262ef0e..262ef0e 100755 --- a/doc/src/images/GaussianBlur_bug.png +++ b/src/effects/doc/images/GaussianBlur_bug.png diff --git a/doc/src/images/GaussianBlur_deviation1.png b/src/effects/doc/images/GaussianBlur_deviation1.png Binary files differindex 5dcb775..5dcb775 100644 --- a/doc/src/images/GaussianBlur_deviation1.png +++ b/src/effects/doc/images/GaussianBlur_deviation1.png diff --git a/doc/src/images/GaussianBlur_deviation2.png b/src/effects/doc/images/GaussianBlur_deviation2.png Binary files differindex 68ff492..68ff492 100644 --- a/doc/src/images/GaussianBlur_deviation2.png +++ b/src/effects/doc/images/GaussianBlur_deviation2.png diff --git a/doc/src/images/GaussianBlur_deviation3.png b/src/effects/doc/images/GaussianBlur_deviation3.png Binary files differindex 4823e31..4823e31 100644 --- a/doc/src/images/GaussianBlur_deviation3.png +++ b/src/effects/doc/images/GaussianBlur_deviation3.png diff --git a/doc/src/images/GaussianBlur_deviation4.png b/src/effects/doc/images/GaussianBlur_deviation4.png Binary files differindex ba82f8f..ba82f8f 100755 --- a/doc/src/images/GaussianBlur_deviation4.png +++ b/src/effects/doc/images/GaussianBlur_deviation4.png diff --git a/doc/src/images/GaussianBlur_deviation_graph.png b/src/effects/doc/images/GaussianBlur_deviation_graph.png Binary files differindex d4a09a5..d4a09a5 100755 --- a/doc/src/images/GaussianBlur_deviation_graph.png +++ b/src/effects/doc/images/GaussianBlur_deviation_graph.png diff --git a/doc/src/images/GaussianBlur_radius1.png b/src/effects/doc/images/GaussianBlur_radius1.png Binary files differindex ce02060..ce02060 100644 --- a/doc/src/images/GaussianBlur_radius1.png +++ b/src/effects/doc/images/GaussianBlur_radius1.png diff --git a/doc/src/images/GaussianBlur_radius2.png b/src/effects/doc/images/GaussianBlur_radius2.png Binary files differindex 3ddd227..3ddd227 100644 --- a/doc/src/images/GaussianBlur_radius2.png +++ b/src/effects/doc/images/GaussianBlur_radius2.png diff --git a/doc/src/images/GaussianBlur_radius3.png b/src/effects/doc/images/GaussianBlur_radius3.png Binary files differindex df8f675..df8f675 100644 --- a/doc/src/images/GaussianBlur_radius3.png +++ b/src/effects/doc/images/GaussianBlur_radius3.png diff --git a/doc/src/images/GaussianBlur_transparentBorder1.png b/src/effects/doc/images/GaussianBlur_transparentBorder1.png Binary files differindex 7365ccd..7365ccd 100644 --- a/doc/src/images/GaussianBlur_transparentBorder1.png +++ b/src/effects/doc/images/GaussianBlur_transparentBorder1.png diff --git a/doc/src/images/GaussianBlur_transparentBorder2.png b/src/effects/doc/images/GaussianBlur_transparentBorder2.png Binary files differindex e33661c..e33661c 100644 --- a/doc/src/images/GaussianBlur_transparentBorder2.png +++ b/src/effects/doc/images/GaussianBlur_transparentBorder2.png diff --git a/doc/src/images/Glow_butterfly.png b/src/effects/doc/images/Glow_butterfly.png Binary files differindex f6eb9e3..f6eb9e3 100755 --- a/doc/src/images/Glow_butterfly.png +++ b/src/effects/doc/images/Glow_butterfly.png diff --git a/doc/src/images/Glow_color1.png b/src/effects/doc/images/Glow_color1.png Binary files differindex 1a7ec7e..1a7ec7e 100644 --- a/doc/src/images/Glow_color1.png +++ b/src/effects/doc/images/Glow_color1.png diff --git a/doc/src/images/Glow_color2.png b/src/effects/doc/images/Glow_color2.png Binary files differindex d080e4e..d080e4e 100644 --- a/doc/src/images/Glow_color2.png +++ b/src/effects/doc/images/Glow_color2.png diff --git a/doc/src/images/Glow_color3.png b/src/effects/doc/images/Glow_color3.png Binary files differindex 4f938b9..4f938b9 100644 --- a/doc/src/images/Glow_color3.png +++ b/src/effects/doc/images/Glow_color3.png diff --git a/doc/src/images/Glow_fast1.png b/src/effects/doc/images/Glow_fast1.png Binary files differindex 02dda5f..02dda5f 100644 --- a/doc/src/images/Glow_fast1.png +++ b/src/effects/doc/images/Glow_fast1.png diff --git a/doc/src/images/Glow_fast2.png b/src/effects/doc/images/Glow_fast2.png Binary files differindex 6bec33e..6bec33e 100644 --- a/doc/src/images/Glow_fast2.png +++ b/src/effects/doc/images/Glow_fast2.png diff --git a/doc/src/images/Glow_radius1.png b/src/effects/doc/images/Glow_radius1.png Binary files differindex 884e591..884e591 100644 --- a/doc/src/images/Glow_radius1.png +++ b/src/effects/doc/images/Glow_radius1.png diff --git a/doc/src/images/Glow_radius2.png b/src/effects/doc/images/Glow_radius2.png Binary files differindex cf641fa..cf641fa 100644 --- a/doc/src/images/Glow_radius2.png +++ b/src/effects/doc/images/Glow_radius2.png diff --git a/doc/src/images/Glow_radius3.png b/src/effects/doc/images/Glow_radius3.png Binary files differindex c8c59d0..c8c59d0 100644 --- a/doc/src/images/Glow_radius3.png +++ b/src/effects/doc/images/Glow_radius3.png diff --git a/doc/src/images/Glow_spread1.png b/src/effects/doc/images/Glow_spread1.png Binary files differindex 6751da5..6751da5 100644 --- a/doc/src/images/Glow_spread1.png +++ b/src/effects/doc/images/Glow_spread1.png diff --git a/doc/src/images/Glow_spread2.png b/src/effects/doc/images/Glow_spread2.png Binary files differindex 1a7ec7e..1a7ec7e 100644 --- a/doc/src/images/Glow_spread2.png +++ b/src/effects/doc/images/Glow_spread2.png diff --git a/doc/src/images/Glow_spread3.png b/src/effects/doc/images/Glow_spread3.png Binary files differindex 2ac79e7..2ac79e7 100644 --- a/doc/src/images/Glow_spread3.png +++ b/src/effects/doc/images/Glow_spread3.png diff --git a/doc/src/images/HueSaturation_bug.png b/src/effects/doc/images/HueSaturation_bug.png Binary files differindex bbdcdc5..bbdcdc5 100755 --- a/doc/src/images/HueSaturation_bug.png +++ b/src/effects/doc/images/HueSaturation_bug.png diff --git a/doc/src/images/HueSaturation_hue1.png b/src/effects/doc/images/HueSaturation_hue1.png Binary files differindex a48fbf2..a48fbf2 100644 --- a/doc/src/images/HueSaturation_hue1.png +++ b/src/effects/doc/images/HueSaturation_hue1.png diff --git a/doc/src/images/HueSaturation_hue2.png b/src/effects/doc/images/HueSaturation_hue2.png Binary files differindex cbb2883..cbb2883 100644 --- a/doc/src/images/HueSaturation_hue2.png +++ b/src/effects/doc/images/HueSaturation_hue2.png diff --git a/doc/src/images/HueSaturation_hue3.png b/src/effects/doc/images/HueSaturation_hue3.png Binary files differindex 01ce35c..01ce35c 100644 --- a/doc/src/images/HueSaturation_hue3.png +++ b/src/effects/doc/images/HueSaturation_hue3.png diff --git a/doc/src/images/HueSaturation_lightness1.png b/src/effects/doc/images/HueSaturation_lightness1.png Binary files differindex 64cd230..64cd230 100644 --- a/doc/src/images/HueSaturation_lightness1.png +++ b/src/effects/doc/images/HueSaturation_lightness1.png diff --git a/doc/src/images/HueSaturation_lightness2.png b/src/effects/doc/images/HueSaturation_lightness2.png Binary files differindex cbb2883..cbb2883 100644 --- a/doc/src/images/HueSaturation_lightness2.png +++ b/src/effects/doc/images/HueSaturation_lightness2.png diff --git a/doc/src/images/HueSaturation_lightness3.png b/src/effects/doc/images/HueSaturation_lightness3.png Binary files differindex 037f20f..037f20f 100644 --- a/doc/src/images/HueSaturation_lightness3.png +++ b/src/effects/doc/images/HueSaturation_lightness3.png diff --git a/doc/src/images/HueSaturation_saturation1.png b/src/effects/doc/images/HueSaturation_saturation1.png Binary files differindex 0ba3ff6..0ba3ff6 100644 --- a/doc/src/images/HueSaturation_saturation1.png +++ b/src/effects/doc/images/HueSaturation_saturation1.png diff --git a/doc/src/images/HueSaturation_saturation2.png b/src/effects/doc/images/HueSaturation_saturation2.png Binary files differindex cbb2883..cbb2883 100644 --- a/doc/src/images/HueSaturation_saturation2.png +++ b/src/effects/doc/images/HueSaturation_saturation2.png diff --git a/doc/src/images/HueSaturation_saturation3.png b/src/effects/doc/images/HueSaturation_saturation3.png Binary files differindex f2fb8ed..f2fb8ed 100644 --- a/doc/src/images/HueSaturation_saturation3.png +++ b/src/effects/doc/images/HueSaturation_saturation3.png diff --git a/doc/src/images/InnerShadow_butterfly.png b/src/effects/doc/images/InnerShadow_butterfly.png Binary files differindex 654929c..654929c 100644 --- a/doc/src/images/InnerShadow_butterfly.png +++ b/src/effects/doc/images/InnerShadow_butterfly.png diff --git a/doc/src/images/InnerShadow_color1.png b/src/effects/doc/images/InnerShadow_color1.png Binary files differindex 2626e3e..2626e3e 100644 --- a/doc/src/images/InnerShadow_color1.png +++ b/src/effects/doc/images/InnerShadow_color1.png diff --git a/doc/src/images/InnerShadow_color2.png b/src/effects/doc/images/InnerShadow_color2.png Binary files differindex 807941e..807941e 100644 --- a/doc/src/images/InnerShadow_color2.png +++ b/src/effects/doc/images/InnerShadow_color2.png diff --git a/doc/src/images/InnerShadow_color3.png b/src/effects/doc/images/InnerShadow_color3.png Binary files differindex 43c6365..43c6365 100644 --- a/doc/src/images/InnerShadow_color3.png +++ b/src/effects/doc/images/InnerShadow_color3.png diff --git a/doc/src/images/InnerShadow_fast1.png b/src/effects/doc/images/InnerShadow_fast1.png Binary files differindex bf3e750..bf3e750 100644 --- a/doc/src/images/InnerShadow_fast1.png +++ b/src/effects/doc/images/InnerShadow_fast1.png diff --git a/doc/src/images/InnerShadow_fast2.png b/src/effects/doc/images/InnerShadow_fast2.png Binary files differindex 7a1b5c7..7a1b5c7 100644 --- a/doc/src/images/InnerShadow_fast2.png +++ b/src/effects/doc/images/InnerShadow_fast2.png diff --git a/doc/src/images/InnerShadow_horizontalOffset1.png b/src/effects/doc/images/InnerShadow_horizontalOffset1.png Binary files differindex 62fd5e2..62fd5e2 100644 --- a/doc/src/images/InnerShadow_horizontalOffset1.png +++ b/src/effects/doc/images/InnerShadow_horizontalOffset1.png diff --git a/doc/src/images/InnerShadow_horizontalOffset2.png b/src/effects/doc/images/InnerShadow_horizontalOffset2.png Binary files differindex b268697..b268697 100644 --- a/doc/src/images/InnerShadow_horizontalOffset2.png +++ b/src/effects/doc/images/InnerShadow_horizontalOffset2.png diff --git a/doc/src/images/InnerShadow_horizontalOffset3.png b/src/effects/doc/images/InnerShadow_horizontalOffset3.png Binary files differindex afb2892..afb2892 100644 --- a/doc/src/images/InnerShadow_horizontalOffset3.png +++ b/src/effects/doc/images/InnerShadow_horizontalOffset3.png diff --git a/doc/src/images/InnerShadow_radius1.png b/src/effects/doc/images/InnerShadow_radius1.png Binary files differindex 1dd0f39..1dd0f39 100644 --- a/doc/src/images/InnerShadow_radius1.png +++ b/src/effects/doc/images/InnerShadow_radius1.png diff --git a/doc/src/images/InnerShadow_radius2.png b/src/effects/doc/images/InnerShadow_radius2.png Binary files differindex 01a0141..01a0141 100644 --- a/doc/src/images/InnerShadow_radius2.png +++ b/src/effects/doc/images/InnerShadow_radius2.png diff --git a/doc/src/images/InnerShadow_radius3.png b/src/effects/doc/images/InnerShadow_radius3.png Binary files differindex 1bcd6f5..1bcd6f5 100644 --- a/doc/src/images/InnerShadow_radius3.png +++ b/src/effects/doc/images/InnerShadow_radius3.png diff --git a/doc/src/images/InnerShadow_spread1.png b/src/effects/doc/images/InnerShadow_spread1.png Binary files differindex b268697..b268697 100644 --- a/doc/src/images/InnerShadow_spread1.png +++ b/src/effects/doc/images/InnerShadow_spread1.png diff --git a/doc/src/images/InnerShadow_spread2.png b/src/effects/doc/images/InnerShadow_spread2.png Binary files differindex 8485191..8485191 100644 --- a/doc/src/images/InnerShadow_spread2.png +++ b/src/effects/doc/images/InnerShadow_spread2.png diff --git a/doc/src/images/InnerShadow_spread3.png b/src/effects/doc/images/InnerShadow_spread3.png Binary files differindex 563226a..563226a 100644 --- a/doc/src/images/InnerShadow_spread3.png +++ b/src/effects/doc/images/InnerShadow_spread3.png diff --git a/doc/src/images/LevelAdjust_butterfly.png b/src/effects/doc/images/LevelAdjust_butterfly.png Binary files differindex 442380e..442380e 100644 --- a/doc/src/images/LevelAdjust_butterfly.png +++ b/src/effects/doc/images/LevelAdjust_butterfly.png diff --git a/doc/src/images/LevelAdjust_default_curve.png b/src/effects/doc/images/LevelAdjust_default_curve.png Binary files differindex 4e98cc4..4e98cc4 100755 --- a/doc/src/images/LevelAdjust_default_curve.png +++ b/src/effects/doc/images/LevelAdjust_default_curve.png diff --git a/doc/src/images/LevelAdjust_gamma1.png b/src/effects/doc/images/LevelAdjust_gamma1.png Binary files differindex 83475bf..83475bf 100644 --- a/doc/src/images/LevelAdjust_gamma1.png +++ b/src/effects/doc/images/LevelAdjust_gamma1.png diff --git a/doc/src/images/LevelAdjust_gamma1_curve.png b/src/effects/doc/images/LevelAdjust_gamma1_curve.png Binary files differindex a8434d9..a8434d9 100755 --- a/doc/src/images/LevelAdjust_gamma1_curve.png +++ b/src/effects/doc/images/LevelAdjust_gamma1_curve.png diff --git a/doc/src/images/LevelAdjust_gamma2.png b/src/effects/doc/images/LevelAdjust_gamma2.png Binary files differindex 1f968a5..1f968a5 100644 --- a/doc/src/images/LevelAdjust_gamma2.png +++ b/src/effects/doc/images/LevelAdjust_gamma2.png diff --git a/doc/src/images/LevelAdjust_gamma2_curve.png b/src/effects/doc/images/LevelAdjust_gamma2_curve.png Binary files differindex 3fd61b5..3fd61b5 100755 --- a/doc/src/images/LevelAdjust_gamma2_curve.png +++ b/src/effects/doc/images/LevelAdjust_gamma2_curve.png diff --git a/doc/src/images/LevelAdjust_gamma3.png b/src/effects/doc/images/LevelAdjust_gamma3.png Binary files differindex d656513..d656513 100644 --- a/doc/src/images/LevelAdjust_gamma3.png +++ b/src/effects/doc/images/LevelAdjust_gamma3.png diff --git a/doc/src/images/LevelAdjust_gamma3_curve.png b/src/effects/doc/images/LevelAdjust_gamma3_curve.png Binary files differindex 90d3e92..90d3e92 100755 --- a/doc/src/images/LevelAdjust_gamma3_curve.png +++ b/src/effects/doc/images/LevelAdjust_gamma3_curve.png diff --git a/doc/src/images/LevelAdjust_maximumInput1.png b/src/effects/doc/images/LevelAdjust_maximumInput1.png Binary files differindex ac3d2aa..ac3d2aa 100644 --- a/doc/src/images/LevelAdjust_maximumInput1.png +++ b/src/effects/doc/images/LevelAdjust_maximumInput1.png diff --git a/doc/src/images/LevelAdjust_maximumInput2.png b/src/effects/doc/images/LevelAdjust_maximumInput2.png Binary files differindex 59ab858..59ab858 100644 --- a/doc/src/images/LevelAdjust_maximumInput2.png +++ b/src/effects/doc/images/LevelAdjust_maximumInput2.png diff --git a/doc/src/images/LevelAdjust_maximumInput2_curve.png b/src/effects/doc/images/LevelAdjust_maximumInput2_curve.png Binary files differindex 669dcd8..669dcd8 100755 --- a/doc/src/images/LevelAdjust_maximumInput2_curve.png +++ b/src/effects/doc/images/LevelAdjust_maximumInput2_curve.png diff --git a/doc/src/images/LevelAdjust_maximumInput3.png b/src/effects/doc/images/LevelAdjust_maximumInput3.png Binary files differindex 309f60e..309f60e 100644 --- a/doc/src/images/LevelAdjust_maximumInput3.png +++ b/src/effects/doc/images/LevelAdjust_maximumInput3.png diff --git a/doc/src/images/LevelAdjust_maximumInput3_curve.png b/src/effects/doc/images/LevelAdjust_maximumInput3_curve.png Binary files differindex 7cc4316..7cc4316 100755 --- a/doc/src/images/LevelAdjust_maximumInput3_curve.png +++ b/src/effects/doc/images/LevelAdjust_maximumInput3_curve.png diff --git a/doc/src/images/LevelAdjust_maximumOutput1.png b/src/effects/doc/images/LevelAdjust_maximumOutput1.png Binary files differindex ac3d2aa..ac3d2aa 100644 --- a/doc/src/images/LevelAdjust_maximumOutput1.png +++ b/src/effects/doc/images/LevelAdjust_maximumOutput1.png diff --git a/doc/src/images/LevelAdjust_maximumOutput2.png b/src/effects/doc/images/LevelAdjust_maximumOutput2.png Binary files differindex 4c69453..4c69453 100644 --- a/doc/src/images/LevelAdjust_maximumOutput2.png +++ b/src/effects/doc/images/LevelAdjust_maximumOutput2.png diff --git a/doc/src/images/LevelAdjust_maximumOutput2_curve.png b/src/effects/doc/images/LevelAdjust_maximumOutput2_curve.png Binary files differindex 467ff1f..467ff1f 100755 --- a/doc/src/images/LevelAdjust_maximumOutput2_curve.png +++ b/src/effects/doc/images/LevelAdjust_maximumOutput2_curve.png diff --git a/doc/src/images/LevelAdjust_maximumOutput3.png b/src/effects/doc/images/LevelAdjust_maximumOutput3.png Binary files differindex 3039b56..3039b56 100644 --- a/doc/src/images/LevelAdjust_maximumOutput3.png +++ b/src/effects/doc/images/LevelAdjust_maximumOutput3.png diff --git a/doc/src/images/LevelAdjust_maximumOutput3_curve.png b/src/effects/doc/images/LevelAdjust_maximumOutput3_curve.png Binary files differindex c94123b..c94123b 100755 --- a/doc/src/images/LevelAdjust_maximumOutput3_curve.png +++ b/src/effects/doc/images/LevelAdjust_maximumOutput3_curve.png diff --git a/doc/src/images/LevelAdjust_minimumInput1.png b/src/effects/doc/images/LevelAdjust_minimumInput1.png Binary files differindex ac3d2aa..ac3d2aa 100644 --- a/doc/src/images/LevelAdjust_minimumInput1.png +++ b/src/effects/doc/images/LevelAdjust_minimumInput1.png diff --git a/doc/src/images/LevelAdjust_minimumInput2.png b/src/effects/doc/images/LevelAdjust_minimumInput2.png Binary files differindex aa317d0..aa317d0 100644 --- a/doc/src/images/LevelAdjust_minimumInput2.png +++ b/src/effects/doc/images/LevelAdjust_minimumInput2.png diff --git a/doc/src/images/LevelAdjust_minimumInput2_curve.png b/src/effects/doc/images/LevelAdjust_minimumInput2_curve.png Binary files differindex bea83c2..bea83c2 100755 --- a/doc/src/images/LevelAdjust_minimumInput2_curve.png +++ b/src/effects/doc/images/LevelAdjust_minimumInput2_curve.png diff --git a/doc/src/images/LevelAdjust_minimumInput3.png b/src/effects/doc/images/LevelAdjust_minimumInput3.png Binary files differindex be62f73..be62f73 100644 --- a/doc/src/images/LevelAdjust_minimumInput3.png +++ b/src/effects/doc/images/LevelAdjust_minimumInput3.png diff --git a/doc/src/images/LevelAdjust_minimumInput3_curve.png b/src/effects/doc/images/LevelAdjust_minimumInput3_curve.png Binary files differindex 5663a81..5663a81 100755 --- a/doc/src/images/LevelAdjust_minimumInput3_curve.png +++ b/src/effects/doc/images/LevelAdjust_minimumInput3_curve.png diff --git a/doc/src/images/LevelAdjust_minimumOutput1.png b/src/effects/doc/images/LevelAdjust_minimumOutput1.png Binary files differindex ac3d2aa..ac3d2aa 100644 --- a/doc/src/images/LevelAdjust_minimumOutput1.png +++ b/src/effects/doc/images/LevelAdjust_minimumOutput1.png diff --git a/doc/src/images/LevelAdjust_minimumOutput2.png b/src/effects/doc/images/LevelAdjust_minimumOutput2.png Binary files differindex 6124df1..6124df1 100644 --- a/doc/src/images/LevelAdjust_minimumOutput2.png +++ b/src/effects/doc/images/LevelAdjust_minimumOutput2.png diff --git a/doc/src/images/LevelAdjust_minimumOutput2_curve.png b/src/effects/doc/images/LevelAdjust_minimumOutput2_curve.png Binary files differindex f0e6b09..f0e6b09 100755 --- a/doc/src/images/LevelAdjust_minimumOutput2_curve.png +++ b/src/effects/doc/images/LevelAdjust_minimumOutput2_curve.png diff --git a/doc/src/images/LevelAdjust_minimumOutput3.png b/src/effects/doc/images/LevelAdjust_minimumOutput3.png Binary files differindex 43fe2b7..43fe2b7 100644 --- a/doc/src/images/LevelAdjust_minimumOutput3.png +++ b/src/effects/doc/images/LevelAdjust_minimumOutput3.png diff --git a/doc/src/images/LevelAdjust_minimumOutput3_curve.png b/src/effects/doc/images/LevelAdjust_minimumOutput3_curve.png Binary files differindex 26c9211..26c9211 100755 --- a/doc/src/images/LevelAdjust_minimumOutput3_curve.png +++ b/src/effects/doc/images/LevelAdjust_minimumOutput3_curve.png diff --git a/doc/src/images/LinearGradient.png b/src/effects/doc/images/LinearGradient.png Binary files differindex 1f96c11..1f96c11 100644 --- a/doc/src/images/LinearGradient.png +++ b/src/effects/doc/images/LinearGradient.png diff --git a/doc/src/images/LinearGradient_end1.png b/src/effects/doc/images/LinearGradient_end1.png Binary files differindex 0967b0f..0967b0f 100644 --- a/doc/src/images/LinearGradient_end1.png +++ b/src/effects/doc/images/LinearGradient_end1.png diff --git a/doc/src/images/LinearGradient_end2.png b/src/effects/doc/images/LinearGradient_end2.png Binary files differindex d0cde06..d0cde06 100644 --- a/doc/src/images/LinearGradient_end2.png +++ b/src/effects/doc/images/LinearGradient_end2.png diff --git a/doc/src/images/LinearGradient_end3.png b/src/effects/doc/images/LinearGradient_end3.png Binary files differindex 49e5be2..49e5be2 100644 --- a/doc/src/images/LinearGradient_end3.png +++ b/src/effects/doc/images/LinearGradient_end3.png diff --git a/doc/src/images/LinearGradient_gradient1.png b/src/effects/doc/images/LinearGradient_gradient1.png Binary files differindex 5788562..5788562 100644 --- a/doc/src/images/LinearGradient_gradient1.png +++ b/src/effects/doc/images/LinearGradient_gradient1.png diff --git a/doc/src/images/LinearGradient_gradient2.png b/src/effects/doc/images/LinearGradient_gradient2.png Binary files differindex 21c2809..21c2809 100644 --- a/doc/src/images/LinearGradient_gradient2.png +++ b/src/effects/doc/images/LinearGradient_gradient2.png diff --git a/doc/src/images/LinearGradient_gradient3.png b/src/effects/doc/images/LinearGradient_gradient3.png Binary files differindex 3950a09..3950a09 100644 --- a/doc/src/images/LinearGradient_gradient3.png +++ b/src/effects/doc/images/LinearGradient_gradient3.png diff --git a/doc/src/images/LinearGradient_maskSource1.png b/src/effects/doc/images/LinearGradient_maskSource1.png Binary files differindex 0967b0f..0967b0f 100644 --- a/doc/src/images/LinearGradient_maskSource1.png +++ b/src/effects/doc/images/LinearGradient_maskSource1.png diff --git a/doc/src/images/LinearGradient_maskSource2.png b/src/effects/doc/images/LinearGradient_maskSource2.png Binary files differindex 5f0fcdd..5f0fcdd 100644 --- a/doc/src/images/LinearGradient_maskSource2.png +++ b/src/effects/doc/images/LinearGradient_maskSource2.png diff --git a/doc/src/images/LinearGradient_start1.png b/src/effects/doc/images/LinearGradient_start1.png Binary files differindex 0967b0f..0967b0f 100644 --- a/doc/src/images/LinearGradient_start1.png +++ b/src/effects/doc/images/LinearGradient_start1.png diff --git a/doc/src/images/LinearGradient_start2.png b/src/effects/doc/images/LinearGradient_start2.png Binary files differindex b895154..b895154 100644 --- a/doc/src/images/LinearGradient_start2.png +++ b/src/effects/doc/images/LinearGradient_start2.png diff --git a/doc/src/images/LinearGradient_start3.png b/src/effects/doc/images/LinearGradient_start3.png Binary files differindex ddf06b6..ddf06b6 100644 --- a/doc/src/images/LinearGradient_start3.png +++ b/src/effects/doc/images/LinearGradient_start3.png diff --git a/doc/src/images/MaskedBlur_bug.png b/src/effects/doc/images/MaskedBlur_bug.png Binary files differindex c736d8b..c736d8b 100644 --- a/doc/src/images/MaskedBlur_bug.png +++ b/src/effects/doc/images/MaskedBlur_bug.png diff --git a/doc/src/images/MaskedBlur_fast1.png b/src/effects/doc/images/MaskedBlur_fast1.png Binary files differindex 95ca1be..95ca1be 100644 --- a/doc/src/images/MaskedBlur_fast1.png +++ b/src/effects/doc/images/MaskedBlur_fast1.png diff --git a/doc/src/images/MaskedBlur_fast2.png b/src/effects/doc/images/MaskedBlur_fast2.png Binary files differindex 8928e25..8928e25 100644 --- a/doc/src/images/MaskedBlur_fast2.png +++ b/src/effects/doc/images/MaskedBlur_fast2.png diff --git a/doc/src/images/MaskedBlur_mask.png b/src/effects/doc/images/MaskedBlur_mask.png Binary files differindex 871c1f9..871c1f9 100644 --- a/doc/src/images/MaskedBlur_mask.png +++ b/src/effects/doc/images/MaskedBlur_mask.png diff --git a/doc/src/images/MaskedBlur_radius1.png b/src/effects/doc/images/MaskedBlur_radius1.png Binary files differindex c7f85e1..c7f85e1 100644 --- a/doc/src/images/MaskedBlur_radius1.png +++ b/src/effects/doc/images/MaskedBlur_radius1.png diff --git a/doc/src/images/MaskedBlur_radius2.png b/src/effects/doc/images/MaskedBlur_radius2.png Binary files differindex 51b9651..51b9651 100644 --- a/doc/src/images/MaskedBlur_radius2.png +++ b/src/effects/doc/images/MaskedBlur_radius2.png diff --git a/doc/src/images/MaskedBlur_radius3.png b/src/effects/doc/images/MaskedBlur_radius3.png Binary files differindex 95ca1be..95ca1be 100644 --- a/doc/src/images/MaskedBlur_radius3.png +++ b/src/effects/doc/images/MaskedBlur_radius3.png diff --git a/doc/src/images/MaskedBlur_transparentBorder1.png b/src/effects/doc/images/MaskedBlur_transparentBorder1.png Binary files differindex 1f2bc5d..1f2bc5d 100644 --- a/doc/src/images/MaskedBlur_transparentBorder1.png +++ b/src/effects/doc/images/MaskedBlur_transparentBorder1.png diff --git a/doc/src/images/MaskedBlur_transparentBorder2.png b/src/effects/doc/images/MaskedBlur_transparentBorder2.png Binary files differindex d62df72..d62df72 100644 --- a/doc/src/images/MaskedBlur_transparentBorder2.png +++ b/src/effects/doc/images/MaskedBlur_transparentBorder2.png diff --git a/doc/src/images/OpacityMask_bug.png b/src/effects/doc/images/OpacityMask_bug.png Binary files differindex 353aa19..353aa19 100644 --- a/doc/src/images/OpacityMask_bug.png +++ b/src/effects/doc/images/OpacityMask_bug.png diff --git a/doc/src/images/OpacityMask_mask.png b/src/effects/doc/images/OpacityMask_mask.png Binary files differindex 2522da3..2522da3 100644 --- a/doc/src/images/OpacityMask_mask.png +++ b/src/effects/doc/images/OpacityMask_mask.png diff --git a/doc/src/images/Original_bug.png b/src/effects/doc/images/Original_bug.png Binary files differindex 9445834..9445834 100755 --- a/doc/src/images/Original_bug.png +++ b/src/effects/doc/images/Original_bug.png diff --git a/doc/src/images/Original_butterfly.png b/src/effects/doc/images/Original_butterfly.png Binary files differindex ca6a3cf..ca6a3cf 100755 --- a/doc/src/images/Original_butterfly.png +++ b/src/effects/doc/images/Original_butterfly.png diff --git a/doc/src/images/Original_butterfly_black.png b/src/effects/doc/images/Original_butterfly_black.png Binary files differindex e8247b4..e8247b4 100755 --- a/doc/src/images/Original_butterfly_black.png +++ b/src/effects/doc/images/Original_butterfly_black.png diff --git a/doc/src/images/RadialBlur_angle1.png b/src/effects/doc/images/RadialBlur_angle1.png Binary files differindex f514ee4..f514ee4 100644 --- a/doc/src/images/RadialBlur_angle1.png +++ b/src/effects/doc/images/RadialBlur_angle1.png diff --git a/doc/src/images/RadialBlur_angle2.png b/src/effects/doc/images/RadialBlur_angle2.png Binary files differindex 20e51f4..20e51f4 100644 --- a/doc/src/images/RadialBlur_angle2.png +++ b/src/effects/doc/images/RadialBlur_angle2.png diff --git a/doc/src/images/RadialBlur_angle3.png b/src/effects/doc/images/RadialBlur_angle3.png Binary files differindex d1c0270..d1c0270 100644 --- a/doc/src/images/RadialBlur_angle3.png +++ b/src/effects/doc/images/RadialBlur_angle3.png diff --git a/doc/src/images/RadialBlur_bug.png b/src/effects/doc/images/RadialBlur_bug.png Binary files differindex cf49512..cf49512 100644 --- a/doc/src/images/RadialBlur_bug.png +++ b/src/effects/doc/images/RadialBlur_bug.png diff --git a/doc/src/images/RadialBlur_horizontalOffset1.png b/src/effects/doc/images/RadialBlur_horizontalOffset1.png Binary files differindex dc8afa7..dc8afa7 100644 --- a/doc/src/images/RadialBlur_horizontalOffset1.png +++ b/src/effects/doc/images/RadialBlur_horizontalOffset1.png diff --git a/doc/src/images/RadialBlur_horizontalOffset2.png b/src/effects/doc/images/RadialBlur_horizontalOffset2.png Binary files differindex 272950f..272950f 100644 --- a/doc/src/images/RadialBlur_horizontalOffset2.png +++ b/src/effects/doc/images/RadialBlur_horizontalOffset2.png diff --git a/doc/src/images/RadialBlur_horizontalOffset3.png b/src/effects/doc/images/RadialBlur_horizontalOffset3.png Binary files differindex a06a454..a06a454 100644 --- a/doc/src/images/RadialBlur_horizontalOffset3.png +++ b/src/effects/doc/images/RadialBlur_horizontalOffset3.png diff --git a/doc/src/images/RadialGradient.png b/src/effects/doc/images/RadialGradient.png Binary files differindex 279e3de..279e3de 100644 --- a/doc/src/images/RadialGradient.png +++ b/src/effects/doc/images/RadialGradient.png diff --git a/doc/src/images/RadialGradient_angle1.png b/src/effects/doc/images/RadialGradient_angle1.png Binary files differindex f7b1847..f7b1847 100644 --- a/doc/src/images/RadialGradient_angle1.png +++ b/src/effects/doc/images/RadialGradient_angle1.png diff --git a/doc/src/images/RadialGradient_angle2.png b/src/effects/doc/images/RadialGradient_angle2.png Binary files differindex b39243b..b39243b 100644 --- a/doc/src/images/RadialGradient_angle2.png +++ b/src/effects/doc/images/RadialGradient_angle2.png diff --git a/doc/src/images/RadialGradient_angle3.png b/src/effects/doc/images/RadialGradient_angle3.png Binary files differindex fba3fdb..fba3fdb 100644 --- a/doc/src/images/RadialGradient_angle3.png +++ b/src/effects/doc/images/RadialGradient_angle3.png diff --git a/doc/src/images/RadialGradient_default.png b/src/effects/doc/images/RadialGradient_default.png Binary files differindex 58de74d..58de74d 100644 --- a/doc/src/images/RadialGradient_default.png +++ b/src/effects/doc/images/RadialGradient_default.png diff --git a/doc/src/images/RadialGradient_gradient1.png b/src/effects/doc/images/RadialGradient_gradient1.png Binary files differindex 947ac33..947ac33 100644 --- a/doc/src/images/RadialGradient_gradient1.png +++ b/src/effects/doc/images/RadialGradient_gradient1.png diff --git a/doc/src/images/RadialGradient_gradient2.png b/src/effects/doc/images/RadialGradient_gradient2.png Binary files differindex 90b2ce5..90b2ce5 100644 --- a/doc/src/images/RadialGradient_gradient2.png +++ b/src/effects/doc/images/RadialGradient_gradient2.png diff --git a/doc/src/images/RadialGradient_gradient3.png b/src/effects/doc/images/RadialGradient_gradient3.png Binary files differindex 9f97c8e..9f97c8e 100644 --- a/doc/src/images/RadialGradient_gradient3.png +++ b/src/effects/doc/images/RadialGradient_gradient3.png diff --git a/doc/src/images/RadialGradient_horizontalOffset1.png b/src/effects/doc/images/RadialGradient_horizontalOffset1.png Binary files differindex 0bf231a..0bf231a 100644 --- a/doc/src/images/RadialGradient_horizontalOffset1.png +++ b/src/effects/doc/images/RadialGradient_horizontalOffset1.png diff --git a/doc/src/images/RadialGradient_horizontalOffset2.png b/src/effects/doc/images/RadialGradient_horizontalOffset2.png Binary files differindex 983855f..983855f 100644 --- a/doc/src/images/RadialGradient_horizontalOffset2.png +++ b/src/effects/doc/images/RadialGradient_horizontalOffset2.png diff --git a/doc/src/images/RadialGradient_horizontalOffset3.png b/src/effects/doc/images/RadialGradient_horizontalOffset3.png Binary files differindex 6cb008b..6cb008b 100644 --- a/doc/src/images/RadialGradient_horizontalOffset3.png +++ b/src/effects/doc/images/RadialGradient_horizontalOffset3.png diff --git a/doc/src/images/RadialGradient_horizontalRadius1.png b/src/effects/doc/images/RadialGradient_horizontalRadius1.png Binary files differindex 983855f..983855f 100644 --- a/doc/src/images/RadialGradient_horizontalRadius1.png +++ b/src/effects/doc/images/RadialGradient_horizontalRadius1.png diff --git a/doc/src/images/RadialGradient_horizontalRadius2.png b/src/effects/doc/images/RadialGradient_horizontalRadius2.png Binary files differindex f7b1847..f7b1847 100644 --- a/doc/src/images/RadialGradient_horizontalRadius2.png +++ b/src/effects/doc/images/RadialGradient_horizontalRadius2.png diff --git a/doc/src/images/RadialGradient_horizontalRadius3.png b/src/effects/doc/images/RadialGradient_horizontalRadius3.png Binary files differindex 2f8c8f9..2f8c8f9 100644 --- a/doc/src/images/RadialGradient_horizontalRadius3.png +++ b/src/effects/doc/images/RadialGradient_horizontalRadius3.png diff --git a/doc/src/images/RadialGradient_maskSource1.png b/src/effects/doc/images/RadialGradient_maskSource1.png Binary files differindex 983855f..983855f 100644 --- a/doc/src/images/RadialGradient_maskSource1.png +++ b/src/effects/doc/images/RadialGradient_maskSource1.png diff --git a/doc/src/images/RadialGradient_maskSource2.png b/src/effects/doc/images/RadialGradient_maskSource2.png Binary files differindex 7748131..7748131 100644 --- a/doc/src/images/RadialGradient_maskSource2.png +++ b/src/effects/doc/images/RadialGradient_maskSource2.png diff --git a/doc/src/images/RadialGradient_withmask.png b/src/effects/doc/images/RadialGradient_withmask.png Binary files differindex b78f26a..b78f26a 100644 --- a/doc/src/images/RadialGradient_withmask.png +++ b/src/effects/doc/images/RadialGradient_withmask.png diff --git a/doc/src/images/RectangularGlow_applied.png b/src/effects/doc/images/RectangularGlow_applied.png Binary files differindex c4d530a..c4d530a 100644 --- a/doc/src/images/RectangularGlow_applied.png +++ b/src/effects/doc/images/RectangularGlow_applied.png diff --git a/doc/src/images/RectangularGlow_color1.png b/src/effects/doc/images/RectangularGlow_color1.png Binary files differindex bb0e6a7..bb0e6a7 100644 --- a/doc/src/images/RectangularGlow_color1.png +++ b/src/effects/doc/images/RectangularGlow_color1.png diff --git a/doc/src/images/RectangularGlow_color2.png b/src/effects/doc/images/RectangularGlow_color2.png Binary files differindex e26dafc..e26dafc 100644 --- a/doc/src/images/RectangularGlow_color2.png +++ b/src/effects/doc/images/RectangularGlow_color2.png diff --git a/doc/src/images/RectangularGlow_color3.png b/src/effects/doc/images/RectangularGlow_color3.png Binary files differindex 81003f5..81003f5 100644 --- a/doc/src/images/RectangularGlow_color3.png +++ b/src/effects/doc/images/RectangularGlow_color3.png diff --git a/doc/src/images/RectangularGlow_cornerRadius1.png b/src/effects/doc/images/RectangularGlow_cornerRadius1.png Binary files differindex 8abb5cb..8abb5cb 100644 --- a/doc/src/images/RectangularGlow_cornerRadius1.png +++ b/src/effects/doc/images/RectangularGlow_cornerRadius1.png diff --git a/doc/src/images/RectangularGlow_cornerRadius2.png b/src/effects/doc/images/RectangularGlow_cornerRadius2.png Binary files differindex bb0e6a7..bb0e6a7 100644 --- a/doc/src/images/RectangularGlow_cornerRadius2.png +++ b/src/effects/doc/images/RectangularGlow_cornerRadius2.png diff --git a/doc/src/images/RectangularGlow_cornerRadius3.png b/src/effects/doc/images/RectangularGlow_cornerRadius3.png Binary files differindex 9dc4b8f..9dc4b8f 100644 --- a/doc/src/images/RectangularGlow_cornerRadius3.png +++ b/src/effects/doc/images/RectangularGlow_cornerRadius3.png diff --git a/doc/src/images/RectangularGlow_glowRadius1.png b/src/effects/doc/images/RectangularGlow_glowRadius1.png Binary files differindex 80a316f..80a316f 100644 --- a/doc/src/images/RectangularGlow_glowRadius1.png +++ b/src/effects/doc/images/RectangularGlow_glowRadius1.png diff --git a/doc/src/images/RectangularGlow_glowRadius2.png b/src/effects/doc/images/RectangularGlow_glowRadius2.png Binary files differindex bb0e6a7..bb0e6a7 100644 --- a/doc/src/images/RectangularGlow_glowRadius2.png +++ b/src/effects/doc/images/RectangularGlow_glowRadius2.png diff --git a/doc/src/images/RectangularGlow_glowRadius3.png b/src/effects/doc/images/RectangularGlow_glowRadius3.png Binary files differindex 2ac2561..2ac2561 100644 --- a/doc/src/images/RectangularGlow_glowRadius3.png +++ b/src/effects/doc/images/RectangularGlow_glowRadius3.png diff --git a/doc/src/images/RectangularGlow_spread1.png b/src/effects/doc/images/RectangularGlow_spread1.png Binary files differindex bb0e6a7..bb0e6a7 100644 --- a/doc/src/images/RectangularGlow_spread1.png +++ b/src/effects/doc/images/RectangularGlow_spread1.png diff --git a/doc/src/images/RectangularGlow_spread2.png b/src/effects/doc/images/RectangularGlow_spread2.png Binary files differindex 249eae2..249eae2 100644 --- a/doc/src/images/RectangularGlow_spread2.png +++ b/src/effects/doc/images/RectangularGlow_spread2.png diff --git a/doc/src/images/RectangularGlow_spread3.png b/src/effects/doc/images/RectangularGlow_spread3.png Binary files differindex 536d321..536d321 100644 --- a/doc/src/images/RectangularGlow_spread3.png +++ b/src/effects/doc/images/RectangularGlow_spread3.png diff --git a/doc/src/images/RecursiveBlur_bug.png b/src/effects/doc/images/RecursiveBlur_bug.png Binary files differindex 6caf48e..6caf48e 100755 --- a/doc/src/images/RecursiveBlur_bug.png +++ b/src/effects/doc/images/RecursiveBlur_bug.png diff --git a/doc/src/images/RecursiveBlur_loops1.png b/src/effects/doc/images/RecursiveBlur_loops1.png Binary files differindex b9ea62e..b9ea62e 100644 --- a/doc/src/images/RecursiveBlur_loops1.png +++ b/src/effects/doc/images/RecursiveBlur_loops1.png diff --git a/doc/src/images/RecursiveBlur_loops2.png b/src/effects/doc/images/RecursiveBlur_loops2.png Binary files differindex d710f35..d710f35 100644 --- a/doc/src/images/RecursiveBlur_loops2.png +++ b/src/effects/doc/images/RecursiveBlur_loops2.png diff --git a/doc/src/images/RecursiveBlur_loops3.png b/src/effects/doc/images/RecursiveBlur_loops3.png Binary files differindex e1c18e7..e1c18e7 100644 --- a/doc/src/images/RecursiveBlur_loops3.png +++ b/src/effects/doc/images/RecursiveBlur_loops3.png diff --git a/doc/src/images/RecursiveBlur_radius1.png b/src/effects/doc/images/RecursiveBlur_radius1.png Binary files differindex 2bf1280..2bf1280 100644 --- a/doc/src/images/RecursiveBlur_radius1.png +++ b/src/effects/doc/images/RecursiveBlur_radius1.png diff --git a/doc/src/images/RecursiveBlur_radius2.png b/src/effects/doc/images/RecursiveBlur_radius2.png Binary files differindex 696f118..696f118 100644 --- a/doc/src/images/RecursiveBlur_radius2.png +++ b/src/effects/doc/images/RecursiveBlur_radius2.png diff --git a/doc/src/images/RecursiveBlur_radius3.png b/src/effects/doc/images/RecursiveBlur_radius3.png Binary files differindex 3710011..3710011 100644 --- a/doc/src/images/RecursiveBlur_radius3.png +++ b/src/effects/doc/images/RecursiveBlur_radius3.png diff --git a/doc/src/images/RecursiveBlur_transparentBorder1.png b/src/effects/doc/images/RecursiveBlur_transparentBorder1.png Binary files differindex 3710011..3710011 100644 --- a/doc/src/images/RecursiveBlur_transparentBorder1.png +++ b/src/effects/doc/images/RecursiveBlur_transparentBorder1.png diff --git a/doc/src/images/RecursiveBlur_transparentBorder2.png b/src/effects/doc/images/RecursiveBlur_transparentBorder2.png Binary files differindex 6adbc44..6adbc44 100644 --- a/doc/src/images/RecursiveBlur_transparentBorder2.png +++ b/src/effects/doc/images/RecursiveBlur_transparentBorder2.png diff --git a/doc/src/images/ThresholdMask_bug.png b/src/effects/doc/images/ThresholdMask_bug.png Binary files differindex 1839e03..1839e03 100755 --- a/doc/src/images/ThresholdMask_bug.png +++ b/src/effects/doc/images/ThresholdMask_bug.png diff --git a/doc/src/images/ThresholdMask_mask.png b/src/effects/doc/images/ThresholdMask_mask.png Binary files differindex 1904fbf..1904fbf 100644 --- a/doc/src/images/ThresholdMask_mask.png +++ b/src/effects/doc/images/ThresholdMask_mask.png diff --git a/doc/src/images/ThresholdMask_spread1.png b/src/effects/doc/images/ThresholdMask_spread1.png Binary files differindex 2288c2f..2288c2f 100644 --- a/doc/src/images/ThresholdMask_spread1.png +++ b/src/effects/doc/images/ThresholdMask_spread1.png diff --git a/doc/src/images/ThresholdMask_spread2.png b/src/effects/doc/images/ThresholdMask_spread2.png Binary files differindex 504702e..504702e 100644 --- a/doc/src/images/ThresholdMask_spread2.png +++ b/src/effects/doc/images/ThresholdMask_spread2.png diff --git a/doc/src/images/ThresholdMask_spread3.png b/src/effects/doc/images/ThresholdMask_spread3.png Binary files differindex db289b1..db289b1 100644 --- a/doc/src/images/ThresholdMask_spread3.png +++ b/src/effects/doc/images/ThresholdMask_spread3.png diff --git a/doc/src/images/ThresholdMask_threshold1.png b/src/effects/doc/images/ThresholdMask_threshold1.png Binary files differindex 8683c0a..8683c0a 100644 --- a/doc/src/images/ThresholdMask_threshold1.png +++ b/src/effects/doc/images/ThresholdMask_threshold1.png diff --git a/doc/src/images/ThresholdMask_threshold2.png b/src/effects/doc/images/ThresholdMask_threshold2.png Binary files differindex 15f1a1d..15f1a1d 100644 --- a/doc/src/images/ThresholdMask_threshold2.png +++ b/src/effects/doc/images/ThresholdMask_threshold2.png diff --git a/doc/src/images/ThresholdMask_threshold3.png b/src/effects/doc/images/ThresholdMask_threshold3.png Binary files differindex e0eb02b..e0eb02b 100644 --- a/doc/src/images/ThresholdMask_threshold3.png +++ b/src/effects/doc/images/ThresholdMask_threshold3.png diff --git a/doc/src/images/ZoomBlur_bug.png b/src/effects/doc/images/ZoomBlur_bug.png Binary files differindex 5951ac6..5951ac6 100644 --- a/doc/src/images/ZoomBlur_bug.png +++ b/src/effects/doc/images/ZoomBlur_bug.png diff --git a/doc/src/images/ZoomBlur_horizontalOffset1.png b/src/effects/doc/images/ZoomBlur_horizontalOffset1.png Binary files differindex 299fc45..299fc45 100644 --- a/doc/src/images/ZoomBlur_horizontalOffset1.png +++ b/src/effects/doc/images/ZoomBlur_horizontalOffset1.png diff --git a/doc/src/images/ZoomBlur_horizontalOffset2.png b/src/effects/doc/images/ZoomBlur_horizontalOffset2.png Binary files differindex 190e50b..190e50b 100644 --- a/doc/src/images/ZoomBlur_horizontalOffset2.png +++ b/src/effects/doc/images/ZoomBlur_horizontalOffset2.png diff --git a/doc/src/images/ZoomBlur_horizontalOffset3.png b/src/effects/doc/images/ZoomBlur_horizontalOffset3.png Binary files differindex 98e0276..98e0276 100644 --- a/doc/src/images/ZoomBlur_horizontalOffset3.png +++ b/src/effects/doc/images/ZoomBlur_horizontalOffset3.png diff --git a/doc/src/images/ZoomBlur_length1.png b/src/effects/doc/images/ZoomBlur_length1.png Binary files differindex f514ee4..f514ee4 100644 --- a/doc/src/images/ZoomBlur_length1.png +++ b/src/effects/doc/images/ZoomBlur_length1.png diff --git a/doc/src/images/ZoomBlur_length2.png b/src/effects/doc/images/ZoomBlur_length2.png Binary files differindex 190e50b..190e50b 100644 --- a/doc/src/images/ZoomBlur_length2.png +++ b/src/effects/doc/images/ZoomBlur_length2.png diff --git a/doc/src/images/ZoomBlur_length3.png b/src/effects/doc/images/ZoomBlur_length3.png Binary files differindex b6f2817..b6f2817 100644 --- a/doc/src/images/ZoomBlur_length3.png +++ b/src/effects/doc/images/ZoomBlur_length3.png diff --git a/doc/src/snippets/images/bug.jpg b/src/effects/doc/images/bug.jpg Binary files differindex 43e3676..43e3676 100755 --- a/doc/src/snippets/images/bug.jpg +++ b/src/effects/doc/images/bug.jpg diff --git a/doc/src/snippets/images/butterfly.png b/src/effects/doc/images/butterfly.png Binary files differindex ce544f2..ce544f2 100644 --- a/doc/src/snippets/images/butterfly.png +++ b/src/effects/doc/images/butterfly.png diff --git a/doc/src/snippets/images/checker.png b/src/effects/doc/images/checker.png Binary files differindex b7f067b..b7f067b 100644 --- a/doc/src/snippets/images/checker.png +++ b/src/effects/doc/images/checker.png diff --git a/doc/src/snippets/images/fog.png b/src/effects/doc/images/fog.png Binary files differindex f462222..f462222 100644 --- a/doc/src/snippets/images/fog.png +++ b/src/effects/doc/images/fog.png diff --git a/doc/src/snippets/images/glass_normal.png b/src/effects/doc/images/glass_normal.png Binary files differindex ba360ef..ba360ef 100755 --- a/doc/src/snippets/images/glass_normal.png +++ b/src/effects/doc/images/glass_normal.png diff --git a/src/effects/doc/qtgraphicaleffects.qdocconf b/src/effects/doc/qtgraphicaleffects.qdocconf new file mode 100644 index 0000000..c9b523e --- /dev/null +++ b/src/effects/doc/qtgraphicaleffects.qdocconf @@ -0,0 +1,46 @@ +include(../../../doc/global/qt-html-templates-offline.qdocconf) +include(../../../doc/global/qt-module-defaults.qdocconf) + +project = QtGraphicalEffects +description = Qt Graphical Effects Reference Documentation +url = http://qt-project.org/doc/qt-5.0/qtgraphicaleffects-index.html +version = 5.0.0 + +qhp.projects = QtGraphicalEffects + +qhp.QtGraphicalEffects.file = qtgraphicaleffects.qhp +qhp.QtGraphicalEffects.namespace = org.qt-project.qtgraphicaleffects.500 +qhp.QtGraphicalEffects.virtualFolder = qdoc +qhp.QtGraphicalEffects.indexTitle = Qt Graphical Effects Reference Documentation +qhp.QtGraphicalEffects.indexRoot = + +qhp.QtGraphicalEffects.filterAttributes = qtgraphicaleffects 5.0.0 qtrefdoc +qhp.QtGraphicalEffects.customFilters.Qt.name = QtGraphicalEffects 5.0.0 +qhp.QtGraphicalEffects.customFilters.Qt.filterAttributes = qtgraphicaleffects 5.0.0 +qhp.QtGraphicalEffects.subprojects = classes overviews examples +qhp.QtGraphicalEffects.subprojects.classes.title = Classes +qhp.QtGraphicalEffects.subprojects.classes.indexTitle = Qt Graphical Effects's Classes +qhp.QtGraphicalEffects.subprojects.classes.selectors = class fake:headerfile +qhp.QtGraphicalEffects.subprojects.classes.sortPages = true +qhp.QtGraphicalEffects.subprojects.overviews.title = Overviews +qhp.QtGraphicalEffects.subprojects.overviews.indexTitle = All Overviews and HOWTOs +qhp.QtGraphicalEffects.subprojects.overviews.selectors = fake:page,group,module +qhp.QtGraphicalEffects.subprojects.examples.title = Qt Graphical Effects Examples +qhp.QtGraphicalEffects.subprojects.examples.indexTitle = Qt Graphical Effects Examples +qhp.QtGraphicalEffects.subprojects.examples.selectors = fake:example + +outputdir = ../../../doc/qtgraphicaleffects +tagfile = ../../../doc/qtgraphicaleffects/qtgraphicaleffects.tags + +headerdirs += .. \ + +sourcedirs += .. \ + + +exampledirs += ../../../examples/graphicaleffects \ + snippets/ + + +imagedirs += images + +depends += qtqml qtquick qtbase diff --git a/doc/src/snippets/Blend-example.qml b/src/effects/doc/snippets/Blend-example.qml index e8e616c..e8e616c 100644 --- a/doc/src/snippets/Blend-example.qml +++ b/src/effects/doc/snippets/Blend-example.qml diff --git a/doc/src/snippets/BrightnessContrast-example.qml b/src/effects/doc/snippets/BrightnessContrast-example.qml index cdc9f22..cdc9f22 100644 --- a/doc/src/snippets/BrightnessContrast-example.qml +++ b/src/effects/doc/snippets/BrightnessContrast-example.qml diff --git a/doc/src/snippets/ColorOverlay-example.qml b/src/effects/doc/snippets/ColorOverlay-example.qml index 6d9aed6..6d9aed6 100644 --- a/doc/src/snippets/ColorOverlay-example.qml +++ b/src/effects/doc/snippets/ColorOverlay-example.qml diff --git a/doc/src/snippets/Colorize-example.qml b/src/effects/doc/snippets/Colorize-example.qml index 50bb7e6..50bb7e6 100644 --- a/doc/src/snippets/Colorize-example.qml +++ b/src/effects/doc/snippets/Colorize-example.qml diff --git a/doc/src/snippets/ConicalGradient-example.qml b/src/effects/doc/snippets/ConicalGradient-example.qml index fecdba1..fecdba1 100644 --- a/doc/src/snippets/ConicalGradient-example.qml +++ b/src/effects/doc/snippets/ConicalGradient-example.qml diff --git a/doc/src/snippets/Desaturate-example.qml b/src/effects/doc/snippets/Desaturate-example.qml index 151cff3..151cff3 100644 --- a/doc/src/snippets/Desaturate-example.qml +++ b/src/effects/doc/snippets/Desaturate-example.qml diff --git a/doc/src/snippets/DirectionalBlur-example.qml b/src/effects/doc/snippets/DirectionalBlur-example.qml index 512fa91..512fa91 100644 --- a/doc/src/snippets/DirectionalBlur-example.qml +++ b/src/effects/doc/snippets/DirectionalBlur-example.qml diff --git a/doc/src/snippets/Displace-example.qml b/src/effects/doc/snippets/Displace-example.qml index 7191049..7191049 100644 --- a/doc/src/snippets/Displace-example.qml +++ b/src/effects/doc/snippets/Displace-example.qml diff --git a/doc/src/snippets/DropShadow-example.qml b/src/effects/doc/snippets/DropShadow-example.qml index 09b7a16..09b7a16 100644 --- a/doc/src/snippets/DropShadow-example.qml +++ b/src/effects/doc/snippets/DropShadow-example.qml diff --git a/doc/src/snippets/FastBlur-example.qml b/src/effects/doc/snippets/FastBlur-example.qml index 05072aa..05072aa 100644 --- a/doc/src/snippets/FastBlur-example.qml +++ b/src/effects/doc/snippets/FastBlur-example.qml diff --git a/doc/src/snippets/GammaAdjust-example.qml b/src/effects/doc/snippets/GammaAdjust-example.qml index 8cc9ff0..8cc9ff0 100644 --- a/doc/src/snippets/GammaAdjust-example.qml +++ b/src/effects/doc/snippets/GammaAdjust-example.qml diff --git a/doc/src/snippets/GaussianBlur-example.qml b/src/effects/doc/snippets/GaussianBlur-example.qml index bfbda4c..bfbda4c 100644 --- a/doc/src/snippets/GaussianBlur-example.qml +++ b/src/effects/doc/snippets/GaussianBlur-example.qml diff --git a/doc/src/snippets/Glow-example.qml b/src/effects/doc/snippets/Glow-example.qml index 7a00bda..7a00bda 100644 --- a/doc/src/snippets/Glow-example.qml +++ b/src/effects/doc/snippets/Glow-example.qml diff --git a/doc/src/snippets/HueSaturation-example.qml b/src/effects/doc/snippets/HueSaturation-example.qml index 6d92ef9..6d92ef9 100644 --- a/doc/src/snippets/HueSaturation-example.qml +++ b/src/effects/doc/snippets/HueSaturation-example.qml diff --git a/doc/src/snippets/InnerShadow-example.qml b/src/effects/doc/snippets/InnerShadow-example.qml index bfbe97a..bfbe97a 100644 --- a/doc/src/snippets/InnerShadow-example.qml +++ b/src/effects/doc/snippets/InnerShadow-example.qml diff --git a/doc/src/snippets/LevelAdjust-example.qml b/src/effects/doc/snippets/LevelAdjust-example.qml index 48eedf1..48eedf1 100644 --- a/doc/src/snippets/LevelAdjust-example.qml +++ b/src/effects/doc/snippets/LevelAdjust-example.qml diff --git a/doc/src/snippets/LinearGradient-example.qml b/src/effects/doc/snippets/LinearGradient-example.qml index 43bd6a4..43bd6a4 100644 --- a/doc/src/snippets/LinearGradient-example.qml +++ b/src/effects/doc/snippets/LinearGradient-example.qml diff --git a/doc/src/snippets/MaskedBlur-example.qml b/src/effects/doc/snippets/MaskedBlur-example.qml index f82c5d1..f82c5d1 100644 --- a/doc/src/snippets/MaskedBlur-example.qml +++ b/src/effects/doc/snippets/MaskedBlur-example.qml diff --git a/doc/src/snippets/OpacityMask-example.qml b/src/effects/doc/snippets/OpacityMask-example.qml index 06f1463..06f1463 100644 --- a/doc/src/snippets/OpacityMask-example.qml +++ b/src/effects/doc/snippets/OpacityMask-example.qml diff --git a/doc/src/snippets/RadialBlur-example.qml b/src/effects/doc/snippets/RadialBlur-example.qml index 8dbafb9..8dbafb9 100644 --- a/doc/src/snippets/RadialBlur-example.qml +++ b/src/effects/doc/snippets/RadialBlur-example.qml diff --git a/doc/src/snippets/RadialGradient-example.qml b/src/effects/doc/snippets/RadialGradient-example.qml index b4c2bed..b4c2bed 100644 --- a/doc/src/snippets/RadialGradient-example.qml +++ b/src/effects/doc/snippets/RadialGradient-example.qml diff --git a/doc/src/snippets/RectangularGlow-example.qml b/src/effects/doc/snippets/RectangularGlow-example.qml index a369602..a369602 100644 --- a/doc/src/snippets/RectangularGlow-example.qml +++ b/src/effects/doc/snippets/RectangularGlow-example.qml diff --git a/doc/src/snippets/RecursiveBlur-example.qml b/src/effects/doc/snippets/RecursiveBlur-example.qml index 11cdb6d..11cdb6d 100644 --- a/doc/src/snippets/RecursiveBlur-example.qml +++ b/src/effects/doc/snippets/RecursiveBlur-example.qml diff --git a/doc/src/snippets/ThresholdMask-example.qml b/src/effects/doc/snippets/ThresholdMask-example.qml index 2975143..2975143 100644 --- a/doc/src/snippets/ThresholdMask-example.qml +++ b/src/effects/doc/snippets/ThresholdMask-example.qml diff --git a/doc/src/snippets/ZoomBlur-example.qml b/src/effects/doc/snippets/ZoomBlur-example.qml index 1f3f6c8..1f3f6c8 100644 --- a/doc/src/snippets/ZoomBlur-example.qml +++ b/src/effects/doc/snippets/ZoomBlur-example.qml diff --git a/doc/src/overview-graphicaleffects.qdoc b/src/effects/doc/src/overview-graphicaleffects.qdoc index 7406d35..7406d35 100644 --- a/doc/src/overview-graphicaleffects.qdoc +++ b/src/effects/doc/src/overview-graphicaleffects.qdoc diff --git a/doc/src/qtgraphicaleffects.qdoc b/src/effects/doc/src/qtgraphicaleffects.qdoc index 61bff41..b77644f 100644 --- a/doc/src/qtgraphicaleffects.qdoc +++ b/src/effects/doc/src/qtgraphicaleffects.qdoc @@ -39,7 +39,7 @@ cover functional areas such as blending, masking, blurring, coloring, and many m \section1 Getting started To load Qt Graphical Effects, add the following import statement to your .qml file: -\snippet snippets/Blend-example.qml import +\snippet Blend-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 @@ -55,6 +55,8 @@ documentation contains property descriptions and basic usage examples. Currently there is no C++ API. +\section1 Effects + The \l{Graphical Effects} page has a list of the effects available. */ |