7#include "xfa/fxfa/cxfa_ffimage.h"
11#include "core/fxge/dib/cfx_dibitmap.h"
12#include "xfa/fxfa/cxfa_ffapp.h"
13#include "xfa/fxfa/cxfa_ffdoc.h"
14#include "xfa/fxfa/cxfa_ffpageview.h"
15#include "xfa/fxfa/cxfa_ffwidget.h"
16#include "xfa/fxfa/parser/cxfa_image.h"
17#include "xfa/fxfa/parser/cxfa_para.h"
18#include "xfa/fxfa/parser/cxfa_value.h"
25 GetNode()->SetLayoutImage(
nullptr);
29 return !!
GetNode()->GetLayoutImage();
33 if (
GetNode()->GetLayoutImage())
50 RetainPtr<CFX_DIBitmap> pDIBitmap = GetNode()->GetLayoutImage();
55 CXFA_Margin* margin = m_pNode->GetMarginIfExists();
60 CXFA_Para* para = m_pNode->GetParaIfExists();
66 auto* value = m_pNode->GetFormValueIfExists();
70 CXFA_Image* image = value->GetImageIfExists();
74 XFA_DrawImage(pGS, rtImage, mtRotate, std::move(pDIBitmap),
75 image->GetAspect(), m_pNode->GetLayoutImageDpi(), iHorzAlign,
void Concat(const CFX_Matrix &right)
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
bool LoadWidget() override
XFA_AttributeValue GetHorizontalAlign()
XFA_AttributeValue GetVerticalAlign()