Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Default line cap and join
Default line cap and join [message #29068] |
Mon, 04 October 2010 13:42 |
|
koldo
Messages: 3357 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
Would it be possible to set the default linecap and linejoin behavior in Painter or in PdfDraw?
In pdf the operators J and j handle this. Example:
page << "1 j\n"; // Sets round join
Best regards
Iñaki
|
|
|
|
|
|
Re: Default line cap and join [message #29110 is a reply to message #29108] |
Tue, 05 October 2010 16:24 |
|
koldo
Messages: 3357 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
Yes, I meant some global setting.
Now:
- Pdf or PdfDraw do not let to define line parameters.
- BufferPainter::BufferPainter() includes:
attr.cap = LINECAP_BUTT;
attr.join = LINEJOIN_MITER;
A solution would be that in both cases it would be possible to set the default behavior, as both can be called indirectly.
Best regards
Iñaki
|
|
|
Goto Forum:
Current Time: Tue Apr 23 23:17:20 CEST 2024
Total time taken to generate the page: 0.04358 seconds
|