Home
last modified time | relevance | path

Searched refs:pGraphState (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp156 const CFX_GraphStateData* pGraphState in SetClip_PathStroke() argument
160 SetGraphState(pGraphState); in SetClip_PathStroke()
169 …CFX_FloatRect rect = pPathData->GetBoundingBox(pGraphState->m_LineWidth, pGraphState->m_MiterLimit… in SetClip_PathStroke()
180 const CFX_GraphStateData* pGraphState, in DrawPath() argument
201 SetGraphState(pGraphState); in DrawPath()
238 void CFX_PSRenderer::SetGraphState(const CFX_GraphStateData* pGraphState) in SetGraphState() argument
241 if (!m_bGraphStateSet || m_CurGraphState.m_LineCap != pGraphState->m_LineCap) { in SetGraphState()
242 buf << pGraphState->m_LineCap << FX_BSTRC(" J\n"); in SetGraphState()
244 if (!m_bGraphStateSet || m_CurGraphState.m_DashCount != pGraphState->m_DashCount || in SetGraphState()
245 …FXSYS_memcmp32(m_CurGraphState.m_DashArray, pGraphState->m_DashArray, sizeof(FX_FLOAT)*m_CurGraphS… in SetGraphState()
[all …]
Dfx_ge_device.cpp93 const CFX_GraphStateData* pGraphState in SetClip_PathStroke() argument
96 if (!m_pDeviceDriver->SetClip_PathStroke(pPathData, pObject2Device, pGraphState)) { in SetClip_PathStroke()
124 const CFX_GraphStateData* pGraphState, in DrawPath() argument
139 if (pGraphState == NULL) { in DrawPath()
224 if (pGraphState) { in DrawPath()
225 bbox = pPathData->GetBoundingBox(pGraphState->m_LineWidth, pGraphState->m_MiterLimit); in DrawPath()
257 …if (!bitmap_device.GetDeviceDriver()->DrawPath(pPathData, &matrix, pGraphState, fill_color, stroke… in DrawPath()
263 …return m_pDeviceDriver->DrawPath(pPathData, pObject2Device, pGraphState, fill_color, stroke_color,… in DrawPath()
Dfx_ge_text.cpp947 … const CFX_AffineMatrix* pUser2Device, const CFX_GraphStateData* pGraphState, in DrawTextPath() argument
985 …if (!DrawPath(&TransformedPath, pUser2Device, pGraphState, fill_color, stroke_color, fill_mode, al… in DrawTextPath()
/external/pdfium/core/src/fpdfdoc/
Ddoc_annot.cpp329 CPDF_GraphStateData *pGraphState = pPathObject->m_GraphState.GetModify(); in GetBorder() local
330 if (!pGraphState) { in GetBorder()
334 pGraphState->m_LineWidth = width; in GetBorder()
349 pGraphState->m_DashArray = FX_Alloc(FX_FLOAT, dash_count); in GetBorder()
350 if (pGraphState->m_DashArray == NULL) { in GetBorder()
354 pGraphState->m_DashCount = dash_count; in GetBorder()
357 pGraphState->m_DashArray[i] = pDashArray->GetNumber(i); in GetBorder()
360 pGraphState->m_DashArray[i] = pGraphState->m_DashArray[i - 1]; in GetBorder()
363 pGraphState->m_DashArray = FX_Alloc(FX_FLOAT, 2); in GetBorder()
364 if (pGraphState->m_DashArray == NULL) { in GetBorder()
[all …]
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp591 static HPEN _CreatePen(const CFX_GraphStateData* pGraphState, const CFX_AffineMatrix* pMatrix, FX_D… in _CreatePen() argument
598 if (pGraphState) { in _CreatePen()
599 width = scale * pGraphState->m_LineWidth; in _CreatePen()
607 if(pGraphState->m_DashCount) { in _CreatePen()
612 switch(pGraphState->m_LineCap) { in _CreatePen()
623 switch(pGraphState->m_LineJoin) { in _CreatePen()
642 if (pGraphState->m_DashCount) { in _CreatePen()
643 pDash = FX_Alloc(FX_DWORD, pGraphState->m_DashCount); in _CreatePen()
647 for (int i = 0; i < pGraphState->m_DashCount; i ++) { in _CreatePen()
648 …[i] = FXSYS_round(pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) : pGraphState-… in _CreatePen()
[all …]
Dfx_win32_gdipext.cpp722 static GpPen* _GdipCreatePen(const CFX_GraphStateData* pGraphState, const CFX_AffineMatrix* pMatrix… in _GdipCreatePen() argument
725 FX_FLOAT width = pGraphState ? pGraphState->m_LineWidth : 1.0f; in _GdipCreatePen()
737 switch(pGraphState->m_LineCap) { in _GdipCreatePen()
753 switch(pGraphState->m_LineJoin) { in _GdipCreatePen()
765 if(pGraphState->m_DashCount) { in _GdipCreatePen()
766 …FX_FLOAT* pDashArray = FX_Alloc(FX_FLOAT, pGraphState->m_DashCount + pGraphState->m_DashCount % 2); in _GdipCreatePen()
772 for (int i = 0; i < pGraphState->m_DashCount; i += 2) { in _GdipCreatePen()
773 FX_FLOAT on_phase = pGraphState->m_DashArray[i]; in _GdipCreatePen()
775 if (i == pGraphState->m_DashCount - 1) { in _GdipCreatePen()
778 off_phase = pGraphState->m_DashArray[i + 1]; in _GdipCreatePen()
[all …]
Dwin32_int.h24 const CFX_GraphStateData* pGraphState,
89 const CFX_GraphStateData* pGraphState
93 const CFX_GraphStateData* pGraphState,
203 const CFX_GraphStateData* pGraphState
207 const CFX_GraphStateData* pGraphState,
Dfx_win32_print.cpp370 const CFX_GraphStateData* pGraphState) in SetClip_PathStroke() argument
372 m_PSRenderer.SetClip_PathStroke(pPathData, pObject2Device, pGraphState); in SetClip_PathStroke()
377 … const CFX_GraphStateData* pGraphState, FX_ARGB fill_color, FX_ARGB stroke_color, in DrawPath() argument
383 …return m_PSRenderer.DrawPath(pPathData, pObject2Device, pGraphState, fill_color, stroke_color, fil… in DrawPath()
/external/pdfium/core/include/fxge/
Dfx_ge.h390 const CFX_GraphStateData* pGraphState
395 const CFX_GraphStateData* pGraphState,
446 … const CFX_AffineMatrix* pUser2Device, const CFX_GraphStateData* pGraphState,
553 const CFX_GraphStateData* pGraphState in SetClip_PathStroke() argument
561 const CFX_GraphStateData* pGraphState,
668 const CFX_GraphStateData* pGraphState
678 const CFX_GraphStateData* pGraphState,
725 void SetGraphState(const CFX_GraphStateData* pGraphState);
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp121 const CFX_GraphStateData* pGraphState, FX_FLOAT scale = 1.0f, in RasterizeStroke() argument
125 switch (pGraphState->m_LineCap) { in RasterizeStroke()
137 switch (pGraphState->m_LineJoin) { in RasterizeStroke()
148 FX_FLOAT width = pGraphState->m_LineWidth * scale; in RasterizeStroke()
156 if (pGraphState->m_DashArray == NULL) { in RasterizeStroke()
160 stroke.miter_limit(pGraphState->m_MiterLimit); in RasterizeStroke()
166 for (int i = 0; i < (pGraphState->m_DashCount + 1) / 2; i ++) { in RasterizeStroke()
167 FX_FLOAT on = pGraphState->m_DashArray[i * 2]; in RasterizeStroke()
171 FX_FLOAT off = i * 2 + 1 == pGraphState->m_DashCount ? on : in RasterizeStroke()
172 pGraphState->m_DashArray[i * 2 + 1]; in RasterizeStroke()
[all …]
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h43 const CFX_GraphStateData* pGraphState
49 const CFX_GraphStateData* pGraphState,
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h221 const CFX_GraphStateData* pGraphState = NULL,
228 const CFX_GraphStateData* pGraphState,
/external/pdfium/core/src/fxge/apple/
Dapple_int.h113 const CFX_GraphStateData* pGraphState
117 const CFX_GraphStateData* pGraphState,
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp596 const CFX_GraphStateData* pGraphState, in DrawTextPath() argument
604 pGraphState, fill_argb, stroke_argb, pClippingPath, nFlag); in DrawTextPath()
619 … FX_ARGB stroke_argb, const CFX_GraphStateData* pGraphState, const CPDF_RenderOptions* pOptions) in DrawTextString() argument
656 … DrawTextPath(pDevice, nChars, pCharCodes, pCharPos, pFont, font_size, &matrix, NULL, pGraphState, in DrawTextString()