Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 11:17, 17 October 2007.

KIS000762 - SetAlpha does not have any effect with nullpen in the Nokia N93

From Forum Nokia Wiki

ID KIS000762 Creation date October 17, 2007
Platform S60 3rd Edition Devices Nokia N93
Category Symbian C++ Subcategory Graphics


Overview

SetAlpha does not have any effect when it is used with penstyle - ENullPen.


Description

SetAlpha is used to set the transparency factor. However, the color's alpha information is not drawn when it is used with SetPenStyle - ENullPen in the Nokia N93.


How to reproduce

The following code snippet can be used to reproduce this

 TRgb col2 = KRgbYellow;
 col2.SetAlpha(75);   
 gc.SetBrushColor(col2);
 gc.SetPenStyle(CGraphicsContext::ENullPen);
 gc.SetBrushStyle(CGraphicsContext::ESolidBrush);
 gc.DrawRect(rect);


Solution

No known solution.

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX