PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

very strange problem when I draw transparent rectangle
https://forum.pdfsharp.net/viewtopic.php?f=3&t=1770
Page 1 of 1

Author:  Yosif [ Sat Sep 03, 2011 12:29 pm ]
Post subject:  very strange problem when I draw transparent rectangle

Hi there, for my application I need to use grid and transparent rectangle(grid frame). But I can not understand why after draw rectangle with transparent brush the grid disappear. If I draw some other figure (see attached source code) the grid appear. I need to draw grid first and after that the rectangle.
Please help me?

Attachments:
Program.zip [964 Bytes]
Downloaded 587 times

Author:  Thomas Hoevel [ Mon Sep 05, 2011 10:11 am ]
Post subject:  Re: very strange problem when I draw transparent rectangle

Hi!

I can replicate the problem but it's not my area of expertise.
My boss will have to look at it.

Author:  hardija [ Tue Feb 21, 2012 6:19 pm ]
Post subject:  Re: very strange problem when I draw transparent rectangle

I just had a similar problem. If I draw a rectangle, then try to place an image in the rectangle the image will not appear.
I had to pass in a null background brush so the rectangle would not be filled.
Seems to be an issue with the layering of the image.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/