Hi All,
I am working with a PDF writer and got stuck in a problem which is as follows:
I have two rectangles one which is written as S (stroke) and second one is a filled rectangle written as B, specification of both of the rectangles is as follows:
0 0 0 RG
0.936 w 1 J
0 0 0 rg
27.864 453.096 m
27.864 453.096 27.864 453.096 v
375.84 453.096 l
375.84 453.096 375.84 453.096 v
375.84 507.096 l
375.84 507.096 375.84 507.096 v
27.864 507.096 l
27.864 507.096 27.864 507.096 v
27.864 453.096 l
S
0 0 0 RG
1 1 1 RG
0 w 0 J
0.7529 0.7529 0.7529 rg
0.7529 0.7529 0.7529 RG
70.344 452.16 515.304 165.384 re
B
As you can observe the unfilled rectangle is drawn prior to the filled rectangle but I need it to be reversed I need to draw the filled rectangle first then the unfilled rectangle so, that overlapping does not hide the unfilled rectangle. So, is there any way i can achieve that?
Thanks,
Pankaj