Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

gdip options to connect lines



  • Please log in to reply
4 replies to this topic
noname
  • Members
  • 650 posts
  • Last active:
  • Joined: 12 Nov 2011

Some time ago there was a post that used a gdip option that could change the way lines are connected .I do not remember if it was related to "Path" functions or "line" functions but you could set the connection to be rounded or bevel or clipped.

 

The code was a dll call not a fuction from Tic's gdip library.Unfortunately i fail to find a searchterm to look for it.Does any one remember it or have a clue where to find it?

 

Thanks in advance.

 

 

It is not    " Gdip_AddPathCurve(pPath, Points) " ;)


winXP  and ahk unicode


jNizM
  • Members
  • 928 posts
  • Last active: Jan 12 2018 09:23 AM
  • Joined: 01 Aug 2012
maybe GdipAddPathLine or GdipAddPathLine2?
ref: GraphicsPath Functions


Notice for admin: I can't post the msdn-link
[AHK] 1.1.27.04 x64 Unicode | [WIN] 10 Pro (Version 1709)
My GitHub Profile | Donations are appreciated if I could help you

noname
  • Members
  • 650 posts
  • Last active:
  • Joined: 12 Nov 2011
✓  Best Answer

Thanks jNizM , unfortunately i made a mistake in thinking it is related to Path or Line functions but it is related to Pen functions.

 

I cannot post the link anymore on the forum so here is just the name:

 

GdipSetPenLineJoin

 

and a wrapper posted on the forum in 2010 by  member  " mrr19121970 "

 


Gdip_SetLineJoin(pPen, linejoin=2) ;LineJoinMiter = 0,LineJoinBevel = 1,LineJoinRound = 2,LineJoinMiterClipped = 3
{
    return DllCall("gdiplus\GdipSetPenLineJoin", "Uint", pPen, "uInt", linejoin)
}


winXP  and ahk unicode


jNizM
  • Members
  • 928 posts
  • Last active: Jan 12 2018 09:23 AM
  • Joined: 01 Aug 2012
posted here - same for different peoples
board/topic/121795-the-future-of-autohotkeycom/?p=735066
[AHK] 1.1.27.04 x64 Unicode | [WIN] 10 Pro (Version 1709)
My GitHub Profile | Donations are appreciated if I could help you

noname
  • Members
  • 650 posts
  • Last active:
  • Joined: 12 Nov 2011

They just want more people to run over to ahkscript.org  ;)


winXP  and ahk unicode