mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
delete old code and start an approach for parsing fonts and page content streams
This commit is contained in:
21
src/UglyToad.Pdf/Graphics/Operations/ShowString.cs
Normal file
21
src/UglyToad.Pdf/Graphics/Operations/ShowString.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace UglyToad.Pdf.Graphics.Operations
|
||||
{
|
||||
internal class ShowString : IGraphicsStateOperation
|
||||
{
|
||||
public const string Symbol = "Tj";
|
||||
|
||||
public string Operator => Symbol;
|
||||
|
||||
public string Text { get; }
|
||||
|
||||
public ShowString(string text)
|
||||
{
|
||||
Text = text;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{Text} {Symbol}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user