开发者

Getting the points from wglUseFontOutlines?

开发者 https://www.devze.com 2023-01-05 12:48 出处:网络
I\'m making a vector application for Windows. Right now i\'m using 开发者_JAVA百科wglUseFontOutlines to generate display lists which wrks well, except I would like to be able to let the user remodel t

I'm making a vector application for Windows. Right now i'm using 开发者_JAVA百科wglUseFontOutlines to generate display lists which wrks well, except I would like to be able to let the user remodel the font. I would also like to use VBO's instead of DL's for this. Does Microsoft provide a way to get the points for this, or atleast the outlines, I could then use my tesselator to do the rest. Thanks


You may use the Win32 API GetPath , it works really nice and it returns lines and bezier pieces.


Nope, wglUseFontOutlines() just does display lists. You'll have to use something else to get glyph outlines.

0

精彩评论

暂无评论...
验证码 换一张
取 消