Red Gate forums :: View topic - Shading with PInvoke
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
PInvoke.Net
PInvoke.Net forum

Shading with PInvoke

Search in PInvoke.Net forum
Post new topic   Reply to topic
Jump to:  
Author Message
sirithvasa



Joined: 24 Apr 2007
Posts: 2

PostPosted: Tue Apr 24, 2007 2:23 pm    Post subject: Shading with PInvoke Reply with quote

Hi there,

I have a problem to shade colors with PInvoke. I have to release a printing software, which uses System.Drawing Namespace, itextDotNet and PInvoke.

With System.Drawing is was easy to shade, because I only set the alpha-value of the color. The same for itextDotNet, there it is the tint-value.

How can I set this value in PInvoke? E.q. for the color black, the shading form 0 (= white) till 100 (= black) and all value between 0 and 100 should be several grayscales.

Greets
sirithvasa
Back to top
View user's profile Send private message
Dave Mellors



Joined: 01 Feb 2007
Posts: 31

PostPosted: Fri May 18, 2007 1:27 pm    Post subject: Reply with quote

Thank you for posting your question on the forum. I hope someone from the pInvoke.net community will be able to answer it.

Personally, I'm not a developer and I can only really provide support for the PInvoke.net application but have you looked at the Win32 API Reference? I would hope you would be able to find the answer in there.
_________________
Dave Mellors
Technical Support Engineer
Red Gate Software Ltd.
Tel US and CAN: 1-866-RED GATE
Tel World: +44 (0)870 160 0037 ext 43
Back to top
View user's profile Send private message
sirithvasa



Joined: 24 Apr 2007
Posts: 2

PostPosted: Tue Jun 19, 2007 9:30 am    Post subject: Reply with quote

no sorry, that wasn't what I search.

Now I use the Sytem.Drawing Namespace, and i hope, that it will work togehter with a service
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group