-
Notifications
You must be signed in to change notification settings - Fork 20
/
RenderFlags.cs
59 lines (48 loc) · 1.71 KB
/
RenderFlags.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
namespace PDFiumCore
{
[Flags]
public enum RenderFlags
{
/// <summary>
/// FPDF_ANNOT: Set if annotations are to be rendered.
/// </summary>
RenderAnnotations = 0x01,
/// <summary>
/// FPDF_LCD_TEXT: Set if using text rendering optimized for LCD display. This flag will only take effect if anti-aliasing is enabled for text.
/// </summary>
OptimizeTextForLcd = 0x02,
/// <summary>
/// FPDF_NO_NATIVETEXT: Don't use the native text output available on some platforms
/// </summary>
NoNativeText = 0x04,
/// <summary>
/// FPDF_GRAYSCALE: Grayscale output
/// </summary>
Grayscale = 0x08,
/// <summary>
/// // FPDF_RENDER_LIMITEDIMAGECACHE: Limit image cache size
/// </summary>
LimitImageCacheSize = 0x200,
/// <summary>
/// FPDF_RENDER_FORCEHALFTONE: Always use halftone for image stretching
/// </summary>
ForceHalftone = 0x400,
/// <summary>
/// FPDF_PRINTING: Render for printing
/// </summary>
RenderForPrinting = 0x800,
/// <summary>
/// FPDF_RENDER_NO_SMOOTHTEXT: Set to disable anti-aliasing on text. This flag will also disable LCD optimization for text rendering
/// </summary>
DisableTextAntialiasing = 0x1000,
/// <summary>
/// FPDF_RENDER_NO_SMOOTHIMAGE: Set to disable anti-aliasing on images.
/// </summary>
DisableImageAntialiasing = 0x2000,
/// <summary>
/// FPDF_RENDER_NO_SMOOTHPATH: Set to disable anti-aliasing on paths.
/// </summary>
DisablePathAntialiasing = 0x4000
}
}