Hey Chris, Chris Sherlock wrote:
I’m trying to work out how to implement the SETMETERLIMIT EMF record. Can anyone point me to the spot where we implement bevelling?
We discussed on IRC earlier this week, below the log for reference - did that solve the question for you? chris_wot: thorsten! hey, can you help me out? chris_wot: do you know what does line mitering? chris_wot: is it in basegfx? quikee[m]: the vcl polyline accepts miter limit as an parameter thorsten: yep, fwict the method noelgrandin gave does that ***chris_wot relooks at the code chris_wot: you mean basegfx/source/polygon/b2dlinegeometry.cxx ? thorsten: yep chris_wot: thorsten how do I set the miter limit though? thorsten: chris_wot: see vcl/headless/svpgdi.cxx: // convert miter minimum angle to miter limit for how to convert between the two related ways to express that chris_wot: legend chris_wot: thorsten is it the line double fMiterLimit = 1.0 / sin( fMiterMinimumAngle / 2.0); chris_wot: as I want to do this indepently of the angle chris_wot: which is what SETMITERLIMIT does... chris_wot: thorsten something like this - https://www.partnersoftware.com/documentation/MP/v4.5.26/mp_wblegendlinestylemiterlimit.png thorsten: chris_wot: indeed, that's the concept Cheers, -- Thorsten
Attachment:
signature.asc
Description: PGP signature