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
cxfa_ffwidget.cpp File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

+ Include dependency graph for cxfa_ffwidget.cpp:

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_DIBitmapXFA_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)
 

Function Documentation

◆ XFA_DrawImage()

◆ XFA_LoadImageFromBuffer()

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.

◆ XFA_RectWithoutMargin()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: