(The Unofficial) PopCap Framework Developer Board
November 25, 2017, 10:42:22 AM CET *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home   Forum   Help Calendar Contact Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: SexyKanji and renderTargets  (Read 2909 times)
0 Members and 1 Guest are viewing this topic.
Andreww
Jr. Member
**
Posts: 54


« on: December 01, 2010, 12:06:00 PM CET »

Hi.

I'm trying to use sexykanji.
And I have one problem.

Code:
m_pEffectImage = new SexyImage();
m_pEffectImage->Create( mWidth, mHeight );

m_pEffectGraphics = new Graphics( m_pEffectImage );
m_pEffectGraphics->DrawImage( mComponentImage, 0, 0 );

After that code in popcap i have m_pEffectImage with a painted on it mComponentImage.
But in sexykanji it not work. m_pEffectImage filled white color.

What I make wrong? How I can use SexyImage as rendertarget?
Logged
Heiko
Administrator
Sr. Member
*****
Posts: 272



WWW
« Reply #1 on: December 01, 2010, 01:38:04 PM CET »

Attached is a rendert target demo. It's made by James and was posted on the old SexyKanji board.
Perhaps it can help you solving your problem.
Logged
Andreww
Jr. Member
**
Posts: 54


« Reply #2 on: December 01, 2010, 01:59:51 PM CET »

Thank you Heiko.

It helped to solve problem.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.3.3 © 2008-2010, SimplePortal