• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Highlighter tool
#4
(06-03-2018, 04:36 AM)Zuberman Wrote: It's definitely something I want to do, and I've tried to explore how to do it, but I haven't found anything that has worked so far. I've tried changing the way the painting of the highlighter works on Android by utilizing different PorderDuff Xfermode values, but no matter what I try, the drawing either goes on top of the image or behind it. So that approach doesn't seem to be sufficient unless I'm doing something wrong. That leads me to believe I have to modify the pixels behind on the content on the page myself instead of relying on a blending/multiplying technique. Having to modify the pixel values of the bitmap representing the page is not the simplest thing when dealing with a freeform drawing, which is why I haven't done something about this yet.

Mike

Hi Mike,

my idea could be making some kind of "mathematical operations" between graphic layers. In this way it could be possible to add or multiply, or even subtract, two or more layers so that their values combine themselves.

I've found this page: https://developer.android.com/reference/...rDuff.Mode, maybe you've already seen it, anyway it seems to have some interesting infos on blending layers. Hope it helps...


Attached Files Thumbnail(s)
   
Marco

Samsung Galaxy Note Pro 12,2" - Nord Stage 2 HA88
Reply


Messages In This Thread
Highlighter tool - by mcrossy - 06-02-2018, 10:46 AM
RE: Highlighter tool - by itsme - 06-02-2018, 01:07 PM
RE: Highlighter tool - by Zubersoft - 06-03-2018, 04:36 AM
RE: Highlighter tool - by mcrossy - 06-03-2018, 04:57 AM
RE: Highlighter tool - by Zubersoft - 06-03-2018, 08:20 AM
RE: Highlighter tool - by Zubersoft - 06-03-2018, 09:50 AM
RE: Highlighter tool - by mcrossy - 06-03-2018, 09:51 AM
RE: Highlighter tool - by Zubersoft - 06-03-2018, 10:12 AM
RE: Highlighter tool - by mcrossy - 06-03-2018, 07:45 PM
RE: Highlighter tool - by sciurius - 06-04-2018, 03:34 AM
RE: Highlighter tool - by Zubersoft - 06-04-2018, 03:38 AM
RE: Highlighter tool - by mcrossy - 06-04-2018, 04:37 AM
RE: Highlighter tool - by Zubersoft - 06-04-2018, 04:54 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.