Files
PdfPig/src/UglyToad.PdfPig/Content/IResourceStore.cs
Eliot Jones c495065178 support gs operator, fix systemfonts, apply rotation to glyphs
- begin adding support for extended graphics state (the 'gs' operator) including setting the font #39.
- apply page level rotation to the glyph bounding box and width to get correct glyph sizes #41.
- wrap page rotation in a value type to ensure the value is restricted to right angle rotations and provide convenience members #42.
- fix bug where system font finder never worked for truetype fonts because it began reading the file from the wrong offset.
2019-07-06 14:03:23 +01:00

18 lines
486 B
C#

namespace UglyToad.PdfPig.Content
{
using Fonts;
using Tokens;
internal interface IResourceStore
{
void LoadResourceDictionary(DictionaryToken resourceDictionary, bool isLenientParsing);
IFont GetFont(NameToken name);
StreamToken GetXObject(NameToken name);
DictionaryToken GetExtendedGraphicsStateDictionary(NameToken name);
IFont GetFontDirectly(IndirectReferenceToken fontReferenceToken, bool isLenientParsing);
}
}