Page 3 of 3
Re: [Module] DrawVectorEx - Module
Posted: Sun Mar 15, 2020 4:17 pm
by IdeasVacuum
Hi Thorsten
On a roll today, even got User defined Coordinates working
Can you tell me, what does
Draw::#DPI do?
Edit: I see it now: DesktopScaled
Re: [Module] DrawVectorEx - Module
Posted: Mon Mar 16, 2020 2:07 am
by IdeasVacuum
Hi Thorsten
It looks like there is a snag with using DesktopScaled for individual drawing entities, the units of measure are then tied to Pixels only? Most drawing work is done in either millimeters or inches.
I think it should be OK to work without this feature, until now I have found it adequate to ensure the Compiler dpi aware option is selected. Food for thought for those that need it.
Edit: Now I'm not sure

Am I over thinking it? If I change the outputs of dpiX and dpiY to doubles, then accuracy shouldn't be lost if the Units are inches or mm.
Re: [Module] DrawVectorEx - Module
Posted: Tue Mar 17, 2020 11:44 pm
by IdeasVacuum
Hi Thorsten
Would it be possible to introduce support for Dash, Dot and Custom Dash types?
Plus the different line endings available?
#PB_Path_Default : No special behavior (default value)
#PB_Path_RoundEnd : Draw the line(s) with a rounded ends
#PB_Path_SquareEnd : Draw the line(s) with a square box at the ends
#PB_Path_RoundCorner : Draw the line(s) with rounded corners
#PB_Path_DiagonalCorner : Draw the line(s) with diagonally cut corners
Re: [Module] DrawVectorEx - Module
Posted: Wed Mar 18, 2020 10:16 am
by Thorsten1867
Update:
- SetDotPattern(LineWidth.d, Array Pattern.d(1), Flags.i=#False, StartOffset.d=0)
- Added: DisableDotPattern(State.i=#True)
Re: [Module] DrawVectorEx - Module
Posted: Wed Mar 18, 2020 11:27 am
by IdeasVacuum

Thanks Thorsten
Re: [Module] DrawVectorEx - Module
Posted: Fri Mar 20, 2020 3:17 am
by IdeasVacuum
Hi Thorsten
There, but not implemented?
#RoundEnd = #PB_Path_RoundEnd
#SquareEnd = #PB_Path_SquareEnd
#RoundCorner = #PB_Path_RoundCorner
#DiagonalCorner = #PB_Path_DiagonalCorner