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/SetTextRenderingMode.cs
Normal file
21
src/UglyToad.Pdf/Graphics/Operations/SetTextRenderingMode.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace UglyToad.Pdf.Graphics.Operations
|
||||
{
|
||||
internal class SetTextRenderingMode : IGraphicsStateOperation
|
||||
{
|
||||
public const string Symbol = "Tr";
|
||||
|
||||
public string Operator => Symbol;
|
||||
|
||||
public int Mode { get; }
|
||||
|
||||
public SetTextRenderingMode(int mode)
|
||||
{
|
||||
Mode = mode;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{Mode} {Symbol}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user