chromium/third_party/pdfium/core/fxge/render_defines.h

// Copyright 2019 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef CORE_FXGE_RENDER_DEFINES_H_
#define CORE_FXGE_RENDER_DEFINES_H_

#define FXDC_PIXEL_WIDTH
#define FXDC_PIXEL_HEIGHT
#define FXDC_BITS_PIXEL
#define FXDC_HORZ_SIZE
#define FXDC_VERT_SIZE
#define FXDC_RENDER_CAPS

#define FXRC_GET_BITS
#define FXRC_ALPHA_PATH
#define FXRC_ALPHA_IMAGE
#define FXRC_ALPHA_OUTPUT
#define FXRC_BLEND_MODE
#define FXRC_SOFT_CLIP
#define FXRC_BYTEMASK_OUTPUT
// Assuming these are Skia-only for now. If this assumption changes, update both
// the #if logic here, as well as the callsites that check these capabilities.
#if defined(PDF_USE_SKIA)
#define FXRC_FILLSTROKE_PATH
#define FXRC_SHADING
#define FXRC_PREMULTIPLIED_ALPHA
#endif

#endif  // CORE_FXGE_RENDER_DEFINES_H_