Home
last modified time | relevance | path

Searched refs:pRect (Results 1 – 25 of 59) sorted by relevance

123

/external/pdfium/xfa/fwl/theme/
Dcfwl_scrollbartp.cpp42 CFX_RectF* pRect = &pParams->m_rtPart; in DrawBackground() local
46 DrawMaxMinBtn(pGraphics, pRect, in DrawBackground()
52 DrawMaxMinBtn(pGraphics, pRect, in DrawBackground()
58 DrawThumbBtn(pGraphics, pRect, bVert, eState, true, &pParams->m_matrix); in DrawBackground()
62 DrawTrack(pGraphics, pRect, bVert, eState, true, &pParams->m_matrix); in DrawBackground()
66 DrawTrack(pGraphics, pRect, bVert, eState, false, &pParams->m_matrix); in DrawBackground()
75 const CFX_RectF* pRect, in DrawThumbBtn() argument
84 CFX_RectF rect(*pRect); in DrawThumbBtn()
119 const CFX_RectF* pRect, in DrawPaw() argument
126 if (pRect->width / 2 <= fPawLen) { in DrawPaw()
[all …]
Dcfwl_widgettp.cpp104 const CFX_RectF* pRect, in DrawBorder() argument
106 if (!pGraphics || !pRect) in DrawBorder()
110 path.AddRectangle(pRect->left, pRect->top, pRect->width, pRect->height); in DrawBorder()
111 path.AddRectangle(pRect->left + 1, pRect->top + 1, pRect->width - 2, in DrawBorder()
112 pRect->height - 2); in DrawBorder()
120 const CFX_RectF* pRect, in FillBackground() argument
122 FillSoildRect(pGraphics, FWLTHEME_COLOR_Background, pRect, pMatrix); in FillBackground()
127 const CFX_RectF* pRect, in FillSoildRect() argument
129 if (!pGraphics || !pRect) in FillSoildRect()
133 path.AddRectangle(pRect->left, pRect->top, pRect->width, pRect->height); in FillSoildRect()
[all …]
Dcfwl_widgettp.h58 const CFX_RectF* pRect,
61 const CFX_RectF* pRect,
65 const CFX_RectF* pRect,
78 const CFX_RectF* pRect,
81 const CFX_RectF* pRect,
86 const CFX_RectF* pRect,
90 const CFX_RectF* pRect,
Dcfwl_scrollbartp.h33 const CFX_RectF* pRect,
39 const CFX_RectF* pRect,
45 const CFX_RectF* pRect,
50 const CFX_RectF* pRect,
Dcfwl_carettp.cpp39 const CFX_RectF* pRect, in DrawCaretBK() argument
43 CFX_RectF rect = *pRect; in DrawCaretBK()
Dcfwl_carettp.h23 const CFX_RectF* pRect,
/external/pdfium/core/fpdfapi/render/
Dcpdf_scaledrenderbuffer.cpp23 const FX_RECT& pRect, in Initialize() argument
32 m_Rect = pRect; in Initialize()
34 m_Matrix.Translate(-pRect.left, -pRect.top); in Initialize()
56 m_Matrix.TransformRect(CFX_FloatRect(pRect)).GetOuterRect(); in Initialize()
Dcpdf_devicebuffer.cpp24 FX_RECT* pRect, in Initialize() argument
29 m_Rect = *pRect; in Initialize()
31 m_Matrix.Translate(-pRect->left, -pRect->top); in Initialize()
50 m_Matrix.TransformRect(CFX_FloatRect(*pRect)).GetOuterRect(); in Initialize()
/external/mesa3d/src/gallium/state_trackers/nine/
Dsurface9.c408 const RECT *pRect, in NineSurface9_LockRect() argument
417 pLockedRect, pRect, in NineSurface9_LockRect()
418 pRect ? pRect->left : 0, pRect ? pRect->right : 0, in NineSurface9_LockRect()
419 pRect ? pRect->top : 0, pRect ? pRect->bottom : 0, in NineSurface9_LockRect()
447 if (pRect && This->desc.Pool == D3DPOOL_DEFAULT && in NineSurface9_LockRect()
451 user_assert((pRect->left == 0 && pRect->right == This->desc.Width && in NineSurface9_LockRect()
452 pRect->top == 0 && pRect->bottom == This->desc.Height) || in NineSurface9_LockRect()
453 (!(pRect->left % w) && !(pRect->right % w) && in NineSurface9_LockRect()
454 !(pRect->top % h) && !(pRect->bottom % h)), in NineSurface9_LockRect()
467 if (pRect) { in NineSurface9_LockRect()
[all …]
Ddevice9.c1740 const RECT *pRect, in NineDevice9_ColorFill() argument
1747 pSurface, pRect, color); in NineDevice9_ColorFill()
1748 if (pRect) in NineDevice9_ColorFill()
1749 DBG("pRect=(%u,%u)-(%u,%u)\n", pRect->left, pRect->top, in NineDevice9_ColorFill()
1750 pRect->right, pRect->bottom); in NineDevice9_ColorFill()
1759 if (pRect) { in NineDevice9_ColorFill()
1760 x = pRect->left; in NineDevice9_ColorFill()
1761 y = pRect->top; in NineDevice9_ColorFill()
1762 w = pRect->right - pRect->left; in NineDevice9_ColorFill()
1763 h = pRect->bottom - pRect->top; in NineDevice9_ColorFill()
[all …]
Dtexture9.c279 const RECT *pRect, in NineTexture9_LockRect() argument
283 This, Level, pLockedRect, pRect, Flags); in NineTexture9_LockRect()
290 pRect, Flags); in NineTexture9_LockRect()
Dcubetexture9.c230 const RECT *pRect, in NineCubeTexture9_LockRect() argument
236 This, FaceType, Level, pLockedRect, pRect, Flags); in NineCubeTexture9_LockRect()
243 return NineSurface9_LockRect(This->surfaces[s], pLockedRect, pRect, Flags); in NineCubeTexture9_LockRect()
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp353 RECT* pRect = in CPSPrinterDriver() local
355 path.AppendRect(static_cast<float>(pRect->left), in CPSPrinterDriver()
356 static_cast<float>(pRect->bottom), in CPSPrinterDriver()
357 static_cast<float>(pRect->right), in CPSPrinterDriver()
358 static_cast<float>(pRect->top)); in CPSPrinterDriver()
437 bool CPSPrinterDriver::GetClipBox(FX_RECT* pRect) { in GetClipBox() argument
438 *pRect = m_PSRenderer.GetClipBox(); in GetClipBox()
562 bool CTextOnlyPrinterDriver::GetClipBox(FX_RECT* pRect) { in GetClipBox() argument
563 pRect->left = 0; in GetClipBox()
564 pRect->right = m_Width; in GetClipBox()
[all …]
Dwin32_int.h151 bool FillRectWithBlend(const FX_RECT* pRect,
158 bool GetClipBox(FX_RECT* pRect) override;
295 bool GetClipBox(FX_RECT* pRect) override;
358 bool GetClipBox(FX_RECT* pRect) override;
/external/pdfium/core/fxge/
Dcfx_pathdata.cpp446 CFX_FloatRect* pRect) const { in IsRect()
451 if (pRect) { in IsRect()
452 pRect->left = m_Points[0].m_Point.x; in IsRect()
453 pRect->right = m_Points[2].m_Point.x; in IsRect()
454 pRect->bottom = m_Points[0].m_Point.y; in IsRect()
455 pRect->top = m_Points[2].m_Point.y; in IsRect()
456 pRect->Normalize(); in IsRect()
486 if (pRect) { in IsRect()
487 pRect->left = points[0].x; in IsRect()
488 pRect->right = points[2].x; in IsRect()
[all …]
Dcfx_renderdevice.h126 bool SetClip_Rect(const CFX_RectF& pRect);
127 bool SetClip_Rect(const FX_RECT& pRect);
147 bool FillRect(const FX_RECT* pRect, uint32_t color) { in FillRect() argument
148 return FillRectWithBlend(pRect, color, FXDIB_BLEND_NORMAL); in FillRect()
293 bool FillRectWithBlend(const FX_RECT* pRect, uint32_t color, int blend_type);
Difx_renderdevicedriver.h54 virtual bool FillRectWithBlend(const FX_RECT* pRect,
62 virtual bool GetClipBox(FX_RECT* pRect) = 0;
Dcfx_renderdevice.cpp677 bool CFX_RenderDevice::FillRectWithBlend(const FX_RECT* pRect, in FillRectWithBlend() argument
680 if (m_pDeviceDriver->FillRectWithBlend(pRect, fill_color, blend_type)) in FillRectWithBlend()
687 if (!CreateCompatibleBitmap(bitmap, pRect->Width(), pRect->Height())) in FillRectWithBlend()
690 if (!m_pDeviceDriver->GetDIBits(bitmap, pRect->left, pRect->top)) in FillRectWithBlend()
693 if (!bitmap->CompositeRect(0, 0, pRect->Width(), pRect->Height(), fill_color, in FillRectWithBlend()
697 FX_RECT src_rect(0, 0, pRect->Width(), pRect->Height()); in FillRectWithBlend()
698 m_pDeviceDriver->SetDIBits(bitmap, 0, &src_rect, pRect->left, pRect->top, in FillRectWithBlend()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_caret.cpp117 bool CPWL_Caret::InvalidateRect(CFX_FloatRect* pRect) { in InvalidateRect() argument
118 if (!pRect) { in InvalidateRect()
122 CFX_FloatRect rcRefresh = *pRect; in InvalidateRect()
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp201 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in InitBreak() local
203 if (pRect) { in InitBreak()
204 fStart = pRect->left.GetValue(); in InitBreak()
205 fLineWidth -= pRect->right.GetValue(); in InitBreak()
223 pNewRect.right.Set(CFX_CSSLengthUnit::Point, pRect->right.GetValue()); in InitBreak()
224 pNewRect.top.Set(CFX_CSSLengthUnit::Point, pRect->top.GetValue()); in InitBreak()
225 pNewRect.bottom.Set(CFX_CSSLengthUnit::Point, pRect->bottom.GetValue()); in InitBreak()
741 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in LoadRichText() local
742 if (pRect) { in LoadRichText()
743 fLinePos += pRect->top.GetValue(); in LoadRichText()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp35 void CPDF_Type3Char::TextUnitRectToGlyphUnitRect(CFX_FloatRect* pRect) { in TextUnitRectToGlyphUnitRect() argument
36 pRect->Scale(kTextUnitInGlyphUnit); in TextUnitRectToGlyphUnitRect()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h62 bool FillRectWithBlend(const FX_RECT* pRect,
65 bool GetClipBox(FX_RECT* pRect) override;
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h67 bool FillRectWithBlend(const FX_RECT* pRect,
77 bool GetClipBox(FX_RECT* pRect) override;
Dfx_skia_device.cpp1963 bool CFX_SkiaDeviceDriver::FillRectWithBlend(const FX_RECT* pRect, in FillRectWithBlend() argument
1972 SkRect::MakeLTRB(pRect->left, SkTMin(pRect->top, pRect->bottom), in FillRectWithBlend()
1973 pRect->right, SkTMax(pRect->bottom, pRect->top)); in FillRectWithBlend()
2167 bool CFX_SkiaDeviceDriver::GetClipBox(FX_RECT* pRect) { in GetClipBox() argument
2170 pRect->left = pRect->top = 0; in GetClipBox()
2171 pRect->right = GetDeviceCaps(FXDC_PIXEL_WIDTH); in GetClipBox()
2172 pRect->bottom = GetDeviceCaps(FXDC_PIXEL_HEIGHT); in GetClipBox()
2175 *pRect = m_pClipRgn->GetBox(); in GetClipBox()
2178 pRect->left = 0; in GetClipBox()
2179 pRect->top = 0; in GetClipBox()
[all …]
/external/pdfium/xfa/fwl/
Dcfwl_edit.h102 void ShowCaret(CFX_RectF* pRect);
103 void HideCaret(CFX_RectF* pRect);

123