• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2019 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef CORE_FXGE_RENDER_DEFINES_H_
8 #define CORE_FXGE_RENDER_DEFINES_H_
9 
10 #define FXDC_PIXEL_WIDTH 2
11 #define FXDC_PIXEL_HEIGHT 3
12 #define FXDC_BITS_PIXEL 4
13 #define FXDC_HORZ_SIZE 5
14 #define FXDC_VERT_SIZE 6
15 #define FXDC_RENDER_CAPS 7
16 
17 #define FXRC_GET_BITS 0x01
18 #define FXRC_BIT_MASK 0x02
19 #define FXRC_ALPHA_PATH 0x10
20 #define FXRC_ALPHA_IMAGE 0x20
21 #define FXRC_ALPHA_OUTPUT 0x40
22 #define FXRC_BLEND_MODE 0x80
23 #define FXRC_SOFT_CLIP 0x100
24 #define FXRC_CMYK_OUTPUT 0x200
25 #define FXRC_BITMASK_OUTPUT 0x400
26 #define FXRC_BYTEMASK_OUTPUT 0x800
27 #define FXRENDER_IMAGE_LOSSY 0x1000
28 #define FXRC_FILLSTROKE_PATH 0x2000
29 #define FXRC_SHADING 0x4000
30 
31 #define FXFILL_ALTERNATE 1
32 #define FXFILL_WINDING 2
33 #define FXFILL_FULLCOVER 4
34 #define FXFILL_RECT_AA 8
35 #define FX_FILL_STROKE 16
36 #define FX_STROKE_ADJUST 32
37 #define FX_STROKE_TEXT_MODE 64
38 #define FX_FILL_TEXT_MODE 128
39 #define FX_ZEROAREA_FILL 256
40 #define FXFILL_NOPATHSMOOTH 512
41 
42 #define FXTEXT_CLEARTYPE 0x01
43 #define FXTEXT_BGR_STRIPE 0x02
44 #define FXTEXT_PRINTGRAPHICTEXT 0x04
45 #define FXTEXT_NO_NATIVETEXT 0x08
46 #define FXTEXT_PRINTIMAGETEXT 0x10
47 #define FXTEXT_NOSMOOTH 0x20
48 
49 #endif  // CORE_FXGE_RENDER_DEFINES_H_
50