You are not logged in.
Pages: 1
I found a Work-around... For each cell, i use the TextRec method to display a colored rectangle with a signe space as text, thus producing a pure color rectangle in the right place. After that, I trace all the required lines, around the table as well as the horizontal ane vertical lines. This way, the lines will show up, in the right places. And Zooming confirms the correct dimensins and positionning.
I have the same problem - Floodfill does nothing. I tried the FillRect method (having only rectangles to fill dynamically), but after a FillRect call, no other MoveTo followed by LineTo does produce any effect, whereas befor usage of FillRect, the drawn lines do appear correctly.
So, I tried to draw my grid first using MoveTo and LineTo sequences, which worked fine. But then, using FillRect to color the different rectangles appearantly override the rectangle borders when I display de PDF file with Acrobat reader (default resolution 47 %). Zoom into the page up to 800 % shows correct position of the colored rectangles, not overlapping any separation line.
So, my question is: how can I color an array type ordered sequence of rectangles (each of them may have a different color) ? I'm using SynPDF version 1.18, units directly integrated into a Delphi 6 Personal Edition DLL. I dont see any FillStroke method within VCLCanvas.
Pages: 1