Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "xfa/fxfa/cxfa_ffwidget.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "core/fxcodec/fx_codec.h"
#include "core/fxcodec/progressive_decoder.h"
#include "core/fxcrt/maybe_owned.h"
#include "core/fxge/cfx_fillrenderoptions.h"
#include "core/fxge/cfx_path.h"
#include "core/fxge/cfx_renderdevice.h"
#include "core/fxge/dib/cfx_dibitmap.h"
#include "third_party/base/check.h"
#include "xfa/fgas/graphics/cfgas_gegraphics.h"
#include "xfa/fwl/fwl_widgethit.h"
#include "xfa/fxfa/cxfa_eventparam.h"
#include "xfa/fxfa/cxfa_ffapp.h"
#include "xfa/fxfa/cxfa_ffdoc.h"
#include "xfa/fxfa/cxfa_ffdocview.h"
#include "xfa/fxfa/cxfa_ffpageview.h"
#include "xfa/fxfa/cxfa_ffwidgethandler.h"
#include "xfa/fxfa/cxfa_imagerenderer.h"
#include "xfa/fxfa/layout/cxfa_layoutprocessor.h"
#include "xfa/fxfa/parser/cxfa_border.h"
#include "xfa/fxfa/parser/cxfa_box.h"
#include "xfa/fxfa/parser/cxfa_edge.h"
#include "xfa/fxfa/parser/cxfa_image.h"
#include "xfa/fxfa/parser/cxfa_margin.h"
#include "xfa/fxfa/parser/cxfa_node.h"
Go to the source code of this file.
Functions | |
void | XFA_DrawImage (CFGAS_GEGraphics *pGS, const CFX_RectF &rtImage, const CFX_Matrix &matrix, RetainPtr< CFX_DIBitmap > pDIBitmap, XFA_AttributeValue iAspect, const CFX_Size &dpi, XFA_AttributeValue iHorzAlign, XFA_AttributeValue iVertAlign) |
RetainPtr< CFX_DIBitmap > | XFA_LoadImageFromBuffer (RetainPtr< IFX_SeekableReadStream > pImageFileRead, FXCODEC_IMAGE_TYPE type, int32_t &iImageXDpi, int32_t &iImageYDpi) |
void | XFA_RectWithoutMargin (CFX_RectF *rt, const CXFA_Margin *margin) |
void XFA_DrawImage | ( | CFGAS_GEGraphics * | pGS, |
const CFX_RectF & | rtImage, | ||
const CFX_Matrix & | matrix, | ||
RetainPtr< CFX_DIBitmap > | pDIBitmap, | ||
XFA_AttributeValue | iAspect, | ||
const CFX_Size & | dpi, | ||
XFA_AttributeValue | iHorzAlign, | ||
XFA_AttributeValue | iVertAlign ) |
Definition at line 60 of file cxfa_ffwidget.cpp.
References CFX_Matrix::CFX_Matrix(), CFX_RenderDevice::StateRestorer::StateRestorer(), CFX_Path::AppendRect(), CFX_RectF::bottom(), CFX_Matrix::Concat(), CXFA_ImageRenderer::Continue(), CFGAS_GEGraphics::GetRenderDevice(), CFX_RectF::height, CFX_RectF::IsEmpty(), CFX_RectF::left, CFX_RectF::right(), CFX_RenderDevice::SetClip_PathFill(), CXFA_ImageRenderer::Start(), CFX_RectF::top, CFX_RectF::width, and CFX_FillRenderOptions::WindingOptions().
RetainPtr< CFX_DIBitmap > XFA_LoadImageFromBuffer | ( | RetainPtr< IFX_SeekableReadStream > | pImageFileRead, |
FXCODEC_IMAGE_TYPE | type, | ||
int32_t & | iImageXDpi, | ||
int32_t & | iImageYDpi ) |
Definition at line 139 of file cxfa_ffwidget.cpp.
References kDecodeReady, kDecodeToBeContinued, and kError.
void XFA_RectWithoutMargin | ( | CFX_RectF * | rt, |
const CXFA_Margin * | margin ) |
Definition at line 201 of file cxfa_ffwidget.cpp.
References CFX_RectF::Deflate(), CXFA_Margin::GetBottomInset(), CXFA_Margin::GetLeftInset(), CXFA_Margin::GetRightInset(), and CXFA_Margin::GetTopInset().
Referenced by CXFA_FFField::CapLeftRightPlacement(), CXFA_FFField::CapPlacement(), CXFA_FFField::CapTopBottomPlacement(), CXFA_FFCheckButton::PerformLayout(), CXFA_FFPushButton::PerformLayout(), CXFA_FFArc::RenderWidget(), CXFA_FFImage::RenderWidget(), CXFA_FFLine::RenderWidget(), CXFA_FFRectangle::RenderWidget(), CXFA_FFText::RenderWidget(), and CXFA_FFWidget::RenderWidget().