- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the CreatePen Function to create a solid red pen
integer*4 linewidth,c,hPen
integer*2 i1,i2,i3
linewidth=1
i1=255
i2=0
i3=0
c=RGB(int1(i1),int1(i2),int1(i3)) ! red
hpen=createpen(PS_SOLID,LineWidth,c)
How do I create a transparent pen?
integer*4 linewidth,c,hPen
integer*2 i1,i2,i3
linewidth=1
i1=255
i2=0
i3=0
c=RGB(int1(i1),int1(i2),int1(i3)) ! red
hpen=createpen(PS_SOLID,LineWidth,c)
How do I create a transparent pen?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
See : http://msdn.microsoft.com/en-us/library/dd183509%28v=vs.85%29.aspx
PS_NULL for PenStyle parameter
See : http://msdn.microsoft.com/en-us/library/dd183509%28v=vs.85%29.aspx
PS_NULL for PenStyle parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks but I don't think that is what I want.
I want to be a be to see the line but also be able to see that is under the line, so I would set the transparency at say 50%.
You can do this in VB where thare are 4 parameters, 'argb' where a is the transparency.
I want to be a be to see the line but also be able to see that is under the line, so I would set the transparency at say 50%.
You can do this in VB where thare are 4 parameters, 'argb' where a is the transparency.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you need Gdiplus for that. I am not aware of Fortran bindings.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page