Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

KERNINGPAIR (Structures)
 
.
Summary

C# Signature:

[StructLayout(LayoutKind.Sequential)]
struct  KERNINGPAIR
{
     public ushort wFirst; // might be better off defined as char
     public ushort wSecond; // might be better off defined as char
     public ushort wFirst;
     public ushort wSecond;
     public int iKernAmount;

     public KERNINGPAIR( ushort wFirst, ushort wSecond, int iKernAmount )
     {
     this.wFirst = wFirst;
     this.wSecond = wSecond;
     this.iKernAmount = iKernAmount;
     }

     public override string ToString()
     {
     return( String.Format( "{{First={0}, Second={1}, Amount={2}}}", wFirst, wSecond, iKernAmount ) );
     }
}

VB Definition:

Structure KERNINGPAIR
   Public TODO
End Structure

User-Defined Field Types:

None.

Notes:

I think it's a safe and good idea to replace the ushort (in ushort wFirst, wSecond) by char.

None.

Documentation
KERNINGPAIR on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions