<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - How to create a mask bitmap by program? - Comments</title>
 <link>http://www.newlc.com/forum/how-create-mask-bitmap-program</link>
 <description>Comments for &quot;How to create a mask bitmap by program?&quot;</description>
 <language>en</language>
<item>
 <title>Re: How to create a mask bitmap by program?</title>
 <link>http://www.newlc.com/forum/how-create-mask-bitmap-program#comment-43592</link>
 <description>&lt;p&gt;It does, if you run a symbian os of a late model.&lt;/p&gt;

&lt;p&gt;I don&#039;t remember exactly when it started supporting it, but I think it was somewhere towards the end of in 2nd edition... (FP2, FP3 or something)&lt;br /&gt;
And for UIQ, that would mean not in UIQ2, but supported in UIQ3&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Wed, 19 Dec 2007 10:36:39 +0100</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 43592 at http://www.newlc.com</guid>
</item>
<item>
 <title>How to create a mask bitmap by program?</title>
 <link>http://www.newlc.com/forum/how-create-mask-bitmap-program</link>
 <description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;I tried to create a mask bitmap by program but it failed.&lt;/p&gt;

&lt;p&gt;My code looks like:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
CFbsBitmap* mainBitmap = ... // load from a file&lt;br /&gt;
CFbsBitmap* maskBitmap = new CFbsBitmap();&lt;br /&gt;
maskBitmap-&gt;Create(MainBitmap Size, EGray256);&lt;br /&gt;
TBitMapUtil util(maskBitmap);&lt;br /&gt;
util.begin(0, 0);&lt;br /&gt;
for (int y = 0; y &lt; height; y++) {&lt;br /&gt;
util.SetPos(0, y);&lt;br /&gt;
for (int x = 0; x &lt; width; x++) {&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/how-create-mask-bitmap-program&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/how-create-mask-bitmap-program#comments</comments>
 <category domain="http://www.newlc.com/forums/2d-3d-graphics">Bitmaps and Graphics</category>
 <pubDate>Thu, 15 Nov 2007 07:42:21 +0100</pubDate>
 <dc:creator>biotrail</dc:creator>
 <guid isPermaLink="false">19566 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
