background-Color during caching - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: background-Color during caching

background-Color during caching 9 months 2 days ago #13494

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 45
  • Karma: 1
  • Thank you received: 0
Hello,
I just upgraded to v3.15.

Before that i could change the background-color during rendering-mode to transparent. I did this in VCache
final protected void vDraw(BMP bmp, int x, int y)
	{
		if( m_render && m_dib != null )
			m_dib.DrawToBmp(bmp, x, y);
		else
			bmp.DrawRect(Global.backgroundColorForCache, x, y, m_w, m_h, 1);
	}

That's not working anymore. Could you tell me what you changed and how I could achieve this again?

Thanks,
Lukas

Please Log in or Create an account to join the conversation.

background-Color during caching 9 months 2 days ago #13495

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 45
  • Karma: 1
  • Thank you received: 0
okay. found it myself 10 minutes after posting...

In VThread there is a new method Draw where you could set your color
ms_paint.setColor(Global.backgroundColorForCache);

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum