uiacceltk/hitchcock/coretoolkit/src/HuiImageVisual.cpp
branchRCL_3
changeset 18 1801340c26a2
parent 0 15bf7259bb7c
child 19 e5af45d51884
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiImageVisual.cpp	Thu Jul 15 19:40:07 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiImageVisual.cpp	Thu Aug 19 10:48:02 2010 +0300
@@ -301,6 +301,11 @@
     // Actual color of the image.
     aGc.SetPenAlpha(TInt(effectiveOpacity * 255));
     aGc.SetPenColor(iColor);
+    
+    // Render Alf image visuals always with high quality. Otherwise scaling etc. with ALF apis
+    // might produce low-quality
+    const THuiQuality oldQuality = aGc.Quality(); // store the original quality
+    aGc.SetQuality(EHuiQualityAccurate);
 
     // Apply special color mode.
     if(iColorMode == EColorDimmed)
@@ -386,6 +391,8 @@
                 }
             }
         }
+    
+    aGc.SetQuality(oldQuality); // restore quality
 
     // Disable special color modes.
     if(iColorMode == EColorDimmed)