#8 tidy up truetype font internally. some more work on a potential document creation api

This commit is contained in:
Eliot Jones
2018-11-25 13:56:27 +00:00
parent 9f783ddef0
commit d5a50f2236
17 changed files with 278 additions and 76 deletions

View File

@@ -1,5 +1,7 @@
namespace UglyToad.PdfPig.Geometry
{
using System.Diagnostics;
/// <summary>
/// A point in a PDF file.
/// </summary>
@@ -28,6 +30,7 @@
/// <summary>
/// Create a new <see cref="PdfPoint"/> at this position.
/// </summary>
[DebuggerStepThrough]
public PdfPoint(decimal x, decimal y)
{
X = x;
@@ -37,6 +40,7 @@
/// <summary>
/// Create a new <see cref="PdfPoint"/> at this position.
/// </summary>
[DebuggerStepThrough]
public PdfPoint(int x, int y)
{
X = x;
@@ -46,6 +50,7 @@
/// <summary>
/// Create a new <see cref="PdfPoint"/> at this position.
/// </summary>
[DebuggerStepThrough]
public PdfPoint(double x, double y)
{
X = (decimal)x;