newlc.com
Articles Only
Forum Only
Community
World-Wide Web
Home
News
Tutorials
Reviews
Downloads
Professional Services
Forums
Newsletter
Blog
About us
Last forum posts
Home
::
Forums
::
Development
::
Multimedia
::
Bitmaps and Graphics
User login
Username:
*
Password:
*
Create new account
Request new password
Featured pages
Configure your PC for Symbian development
Getting started with Symbian development
Symbian OS Error Codes
Common products UIDs
Nokia S60 SDK
Featured Software
NlMakesis
Y-Browser
Y-Tasks
Active users (last 30 days)
User
Score
eric
54
rbrunner
50
Andreas
44
sandeepmhptr
41
alh
30
more
Feeds
More feeds...
How to use EDrawModeXOR?
Login
to reply to this topic.
Mon, 2005-11-14 15:11
lotb
Joined: 2003-11-28
Forum posts: 35
hello,
I want to draw a selection rect for my custom control.
How to use SetDrawMode(CGraphicsContext::EDrawModeXOR); in my Draw() function ?
thanks.
Login
or
register
to post in forums
Thu, 2005-12-08 13:47
Andreas
Joined: 2003-12-05
Forum posts: 672
Re: How to use EDrawModeXOR?
Code:
aGc.SetDrawMode(CGraphicsContext::EDrawModeNOTXOR);
iLine->Draw(aGc);
// Draw away the old line.
iLine->SetLowerRight(aPoint);
iLine->Draw(aGc);
// Draw in the new line.
 
Login
to reply to this topic.
Forum posts: 672
iLine->Draw(aGc); // Draw away the old line.
iLine->SetLowerRight(aPoint);
iLine->Draw(aGc); // Draw in the new line.