wglUseFontOutlines (opengl32)
Last changed: -64.171.238.41

.
Summary
TODO - a short description

C# Signature:

[DllImport("opengl32", EntryPoint = "wglUseFontOutlines", CallingConvention=CallingConvention.Winapi)]
public static extern bool wglUseFontOutlines(
IntPtr hDC,
[MarshalAs(UnmanagedType.U4)] UInt32 first,
[MarshalAs(UnmanagedType.U4)] UInt32 count,
[MarshalAs(UnmanagedType.U4)] UInt32 listBase,
[MarshalAs(UnmanagedType.R4)] Single deviation,
[MarshalAs(UnmanagedType.R4)] Single extrusion,
[MarshalAs(UnmanagedType.I4)] Int32 format,
[Out] Gdi.GLYPHMETRICSFLOAT[] lpgmf);

VB Signature:

Declare Function wglUseFontOutlines Lib "opengl32.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Seems to work for Win98, WinNT, WinXP, Win2K, and Win2003.

Sample Code:

        [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
        public struct GLYPHMETRICSFLOAT
        {
            public Single      gmfBlackBoxX;
            public Single      gmfBlackBoxY;
            public POINTFLOAT  gmfptGlyphOrigin;
            public Single      gmfCellIncX;
            public Single      gmfCellIncY;
        }

        public struct POINTFLOAT
        {
            public Single      x;
            public Single      y;
        }

Alternative Managed API:

Do you know one? Please contribute it!

Documentation