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
cfwl_picturebox.h
Go to the documentation of this file.
1// Copyright 2014 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 XFA_FWL_CFWL_PICTUREBOX_H_
8#define XFA_FWL_CFWL_PICTUREBOX_H_
9
10#include "xfa/fwl/cfwl_widget.h"
11
12class CFWL_PictureBox final : public CFWL_Widget {
13 public:
15 ~CFWL_PictureBox() override;
16
17 // CFWL_Widget
18 FWL_Type GetClassID() const override;
19 void Update() override;
20 void DrawWidget(CFGAS_GEGraphics* pGraphics,
21 const CFX_Matrix& matrix) override;
22 void OnDrawWidget(CFGAS_GEGraphics* pGraphics,
23 const CFX_Matrix& matrix) override;
24
25 private:
26 explicit CFWL_PictureBox(CFWL_App* pApp);
27
28 CFX_RectF m_ClientRect;
29 CFX_RectF m_ImageRect;
30 CFX_Matrix m_matrix;
31};
32
33#endif // XFA_FWL_CFWL_PICTUREBOX_H_
FWL_Type
Definition cfwl_widget.h:46
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void Update() override
~CFWL_PictureBox() override
FWL_Type GetClassID() const override
void DrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
CFWL_Widget(CFWL_App *app, const Properties &properties, CFWL_Widget *pOuter)
bool HasBorder() const
void DrawBorder(CFGAS_GEGraphics *pGraphics, CFWL_ThemePart::Part iPartBorder, const CFX_Matrix &pMatrix)
virtual CFX_RectF GetClientRect()
bool IsLocked() const
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32