Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_drawutils.h
Go to the documentation of this file.
1// Copyright 2020 The PDFium Authors
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_CFX_DRAWUTILS_H_
8#define CORE_FXGE_CFX_DRAWUTILS_H_
9
10class CFX_FloatRect;
11class CFX_Matrix;
13
15 public:
16 CFX_DrawUtils() = delete;
17 CFX_DrawUtils(const CFX_DrawUtils&) = delete;
19
20 static void DrawFocusRect(CFX_RenderDevice* render_device,
21 const CFX_Matrix& user_to_device,
22 const CFX_FloatRect& view_bounding_box);
23};
24#endif // CORE_FXGE_CFX_DRAWUTILS_H_
CFX_DrawUtils(const CFX_DrawUtils &)=delete
CFX_DrawUtils & operator=(const CFX_DrawUtils &)=delete
CFX_DrawUtils()=delete
static void DrawFocusRect(CFX_RenderDevice *render_device, const CFX_Matrix &user_to_device, const CFX_FloatRect &view_bounding_box)
void AppendPoint(const CFX_PointF &point, Point::Type type)
Definition cfx_path.cpp:289
bool DrawPath(const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState, uint32_t fill_color, uint32_t stroke_color, const CFX_FillRenderOptions &fill_options)
constexpr FX_ARGB ArgbEncode(uint32_t a, uint32_t r, uint32_t g, uint32_t b)
Definition fx_dib.h:118
static constexpr CFX_FillRenderOptions EvenOddOptions()