]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/image.tex
Add docs to wxDataViewCtrl
[wxWidgets.git] / docs / latex / wx / image.tex
index efcbd1119186c25e2c3d15773f4b588691f9b5ff..8f6ecf94c65e2b076fc419c0b7bed9424367e0e6 100644 (file)
@@ -248,7 +248,9 @@ returns true if the current image handlers can read this file
 
 \func{wxImage}{Blur}{\param{int}{ blurRadius}}
 
-Blurs the image in both horizontal and vertical directions by the specified pixel {\it blurRadius}.
+Blurs the image in both horizontal and vertical directions by the specified pixel
+{\it blurRadius}. This should not be used when using a single mask colour
+for transparency.
 
 \wxheading{See also}
 
@@ -260,8 +262,8 @@ Blurs the image in both horizontal and vertical directions by the specified pixe
 
 \func{wxImage}{BlurHorizontal}{\param{int}{ blurRadius}}
 
-Blurs the image in the horizontal direction only.
-
+Blurs the image in the horizontal direction only. This should not be used
+when using a single mask colour for transparency.
 \wxheading{See also}
 
 \helpref{Blur}{wximageblur}
@@ -272,7 +274,8 @@ Blurs the image in the horizontal direction only.
 
 \func{wxImage}{BlurVertical}{\param{int}{ blurRadius}}
 
-Blurs the image in the vertical direction only.
+Blurs the image in the vertical direction only. This should not be used
+when using a single mask colour for transparency.
 
 \wxheading{See also}
 
@@ -1110,7 +1113,13 @@ It should be noted that although using wxIMAGE\_QUALITY\_HIGH produces much nice
 looking results it is a slower method.  Downsampling will use the box averaging method
 which seems to operate very fast.  If you are upsampling larger images using
 this method you will most likely notice that it is a bit slower and in extreme cases
-it will be quite substantially slower as the bicubic algorithm has to process a lot of data.
+it will be quite substantially slower as the bicubic algorithm has to process a lot of
+data.
+
+It should also be noted that the high quality scaling may not work as expected
+when using a single mask colour for transparency, as the scaling will blur the
+image and will therefore remove the mask partially. Using the alpha channel
+will work.
 
 Example: