mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
to make the project more useful and expose more usable classes we're rearchitecting in the following way. code used to read fonts from external file formats like truetype, adobe font metrics (afm) and adobe type 1 fonts are moving to a new project which doesn't reference most of the pdf logic. the shared logic is moving to a new flat-structured project called core. this is a sort-of onion type architecture, with core being the... core, fonts being the next layer of the onion, pdfpig itself the next. this will then support additional libraries/projects as outer layers of the onion as well as releasing standalone version of the font library as pdfbox does with fontbox.
16 lines
346 B
C#
16 lines
346 B
C#
namespace UglyToad.PdfPig.Core
|
|
{
|
|
using System.IO;
|
|
|
|
/// <summary>
|
|
/// Indicates that a data structure can be written to an output stream.
|
|
/// </summary>
|
|
public interface IWriteable
|
|
{
|
|
/// <summary>
|
|
/// Write the data to the output stream.
|
|
/// </summary>
|
|
void Write(Stream stream);
|
|
}
|
|
}
|