Today, six new functions:
Gdip_DrawOrientedString() - allows you to draw filled strings or string contours/outlines, or both, and have the text rotated at any angle. On success, its boundaries are returned.
Gdip_DrawStringAlongPolygon() - allows you to draw a string along a pPath object or along multiple given coordinates.
To illustrate these new functions, I added Example 17 and an image attached to this post :-). Just with a few lines of code:
Code: Select all
pBrushBgr := Gdip_BrushCreateSolid(0x88eeffee)
Gdip_FillRectangle(G, pBrushBgr, 1, 1, 990, 990)
pBrush := Gdip_BrushCreateSolid(0x660000ff)
PolygonLine := "50,190|400,390|890,190|800,990"
Gdip_DrawStringAlongPolygon(G, "Oh my God, example text!", "Arial", 100, 1, pBrush, PolygonLine)
pPen := Gdip_CreatePen("0xCC990011", 5)
Gdip_DrawOrientedString(G, "Contour text example", "Verdana", 90, 1, 20, 500, 800, 800, 45, pBrushBgr, pPen, 1)
Best regards, Marius.