Rounded Rectangle Better curve Support

edited June 2012 in FastReport 4.0
How can I draw rectangles with smaller curves?
The curve property only works with integer values​​. I would like if it's can work with floating point values​​. (So I could use values like 0.4, 0.5, 0.7)
Look at the image of my report. It does not seem much cool. Would be better if the rounded rectangles fit more together.

testteg.jpg

Do you anybody can help?

Comments

  • gpigpi
    edited 12:41PM
    Try to modify frxClass.pas:
    skRoundRectangle:
            begin
              if FCurve = 0 then
                min := min div 4
              else
                min := Round(FCurve * FScaleX {* 10});
              RoundRect(FX, FY, FX1 + 1, FY1 + 1, min, min);
            end;
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.