diff options
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -116,6 +116,23 @@ const ( AlignBaseline = "B" ) +// TextRenderingModes for the SetTextRenderingMode() function, as +// defined in section 9.3.6 of the PDF specification. +const ( + // TextRenderingModeFill fills text + TextRenderingModeFill = 0 + // TextRenderingModeStroke strokes text + TextRenderingModeStroke = 1 + // TextRenderingModeFillThenStroke fills then strokes text + TextRenderingModeFillThenStroke = 2 + // TextRenderingModeInvisible neither fills nor strokes text + TextRenderingModeInvisible = 3 + // TextRenderingFillClip fills text and add to path for clipping + TextRenderingModeFillClip = 4 + // TextRenderingFillClip strokes text and add to path for clipping + TextRenderingModeStrokeClip = 5 +) + type colorMode int const ( |