This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1068 from jkoritzinsky/ColorGlyphRunEnumerator
Update ColorGlyphRunEnumerator mapping.
- Loading branch information
Showing
3 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
Source/SharpDX.Direct2D1/DirectWrite/ColorGlyphRunEnumerator1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace SharpDX.DirectWrite | ||
{ | ||
public partial class ColorGlyphRunEnumerator1 | ||
{ | ||
public new unsafe ColorGlyphRun1 CurrentRun | ||
{ | ||
get | ||
{ | ||
GetCurrentRun(out IntPtr ptr); | ||
var run = new ColorGlyphRun1(); | ||
run.__MarshalFrom(ref *((ColorGlyphRun1.__Native*)ptr)); | ||
return run; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters