Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
fixing the bits of Freetype we need, for x64
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes authored and Chris committed Oct 4, 2010
1 parent 3082b82 commit 358f61a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/Tao.FreeType/FreeType.cs
Expand Up @@ -170,11 +170,11 @@ public struct FT_Vector
/// <summary>
///
/// </summary>
public int x;
public IntPtr /*FT_Pos*/ x;
/// <summary>
///
/// </summary>
public int y;
public IntPtr /*FT_Pos*/ y;
}

/// <summary>
Expand All @@ -186,19 +186,19 @@ public struct FT_BBox
/// <summary>
///
/// </summary>
public int xMin;
public IntPtr /*FT_Pos*/xMin;
/// <summary>
///
/// </summary>
public int yMin;
public IntPtr /*FT_Pos*/ yMin;
/// <summary>
///
/// </summary>
public int xMax;
public IntPtr /*FT_Pos*/ xMax;
/// <summary>
///
/// </summary>
public int yMax;
public IntPtr /*FT_Pos*/ yMax;
}

/// <summary>
Expand Down Expand Up @@ -530,35 +530,35 @@ public struct FT_Glyph_Metrics
/// <summary>
///
/// </summary>
public int width;
public IntPtr width;
/// <summary>
///
/// </summary>
public int height;
public IntPtr height;
/// <summary>
///
/// </summary>
public int horiBearingX;
public IntPtr horiBearingX;
/// <summary>
///
/// </summary>
public int horiBearingY;
public IntPtr horiBearingY;
/// <summary>
///
/// </summary>
public int horiAdvance;
public IntPtr horiAdvance;
/// <summary>
///
/// </summary>
public int vertBearingX;
public IntPtr vertBearingX;
/// <summary>
///
/// </summary>
public int vertBearingY;
public IntPtr vertBearingY;
/// <summary>
///
/// </summary>
public int vertAdvance;
public IntPtr vertAdvance;
}

/// <summary>
Expand Down Expand Up @@ -630,23 +630,23 @@ public struct FT_FaceRec
/// <summary>
///
/// </summary>
public int num_faces;
public IntPtr /*FT_Long*/ num_faces;
/// <summary>
///
/// </summary>
public int face_index;
public IntPtr /*FT_Long*/ face_index;
/// <summary>
/// /
/// </summary>
public int face_flags;
public IntPtr /*FT_Long*/ face_flags;
/// <summary>
///
/// </summary>
public int style_flags;
public IntPtr /*FT_Long*/ style_flags;
/// <summary>
///
/// </summary>
public int num_glyphs;
public IntPtr /*FT_Long*/ num_glyphs;
/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -811,11 +811,11 @@ public struct FT_GlyphSlotRec
/// <summary>
///
/// </summary>
public int linearHoriAdvance;
public IntPtr /*FT_Fixed*/ linearHoriAdvance;
/// <summary>
///
/// </summary>
public int linearVertAdvance;
public IntPtr /*FT_Fixed*/ linearVertAdvance;
/// <summary>
///
/// </summary>
Expand Down

0 comments on commit 358f61a

Please sign in to comment.