Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp234 const CFX_GraphStateData* pGraphState) { in SetClip_PathStroke() argument
236 SetGraphState(pGraphState); in SetClip_PathStroke()
246 CFX_FloatRect rect = pPathData->GetBoundingBox(pGraphState->m_LineWidth, in SetClip_PathStroke()
247 pGraphState->m_MiterLimit); in SetClip_PathStroke()
258 const CFX_GraphStateData* pGraphState, in DrawPath() argument
273 SetGraphState(pGraphState); in DrawPath()
310 void CFX_PSRenderer::SetGraphState(const CFX_GraphStateData* pGraphState) { in SetGraphState() argument
313 m_CurGraphState.m_LineCap != pGraphState->m_LineCap) { in SetGraphState()
314 buf << pGraphState->m_LineCap << " J\n"; in SetGraphState()
317 m_CurGraphState.m_DashCount != pGraphState->m_DashCount || in SetGraphState()
[all …]
Dfx_win32_device.cpp94 HPEN CreatePen(const CFX_GraphStateData* pGraphState, in CreatePen() argument
102 if (pGraphState) { in CreatePen()
103 width = scale * pGraphState->m_LineWidth; in CreatePen()
111 if (pGraphState->m_DashCount) { in CreatePen()
116 switch (pGraphState->m_LineCap) { in CreatePen()
127 switch (pGraphState->m_LineJoin) { in CreatePen()
146 if (pGraphState->m_DashCount) { in CreatePen()
147 dashes.resize(pGraphState->m_DashCount); in CreatePen()
148 for (int i = 0; i < pGraphState->m_DashCount; i++) { in CreatePen()
150 pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) in CreatePen()
[all …]
Dwin32_int.h60 const CFX_GraphStateData* pGraphState,
143 const CFX_GraphStateData* pGraphState) override;
146 const CFX_GraphStateData* pGraphState,
287 const CFX_GraphStateData* pGraphState) override;
290 const CFX_GraphStateData* pGraphState,
350 const CFX_GraphStateData* pGraphState) override;
353 const CFX_GraphStateData* pGraphState,
Dcfx_psrenderer.h47 const CFX_GraphStateData* pGraphState);
51 const CFX_GraphStateData* pGraphState,
80 void SetGraphState(const CFX_GraphStateData* pGraphState);
Dfx_win32_gdipext.cpp1019 static GpPen* _GdipCreatePen(const CFX_GraphStateData* pGraphState, in _GdipCreatePen() argument
1025 float width = pGraphState ? pGraphState->m_LineWidth : 1.0f; in _GdipCreatePen()
1038 switch (pGraphState->m_LineCap) { in _GdipCreatePen()
1054 switch (pGraphState->m_LineJoin) { in _GdipCreatePen()
1066 if (pGraphState->m_DashCount) { in _GdipCreatePen()
1068 float, pGraphState->m_DashCount + pGraphState->m_DashCount % 2); in _GdipCreatePen()
1071 for (int i = 0; i < pGraphState->m_DashCount; i += 2) { in _GdipCreatePen()
1072 float on_phase = pGraphState->m_DashArray[i]; in _GdipCreatePen()
1074 if (i == pGraphState->m_DashCount - 1) in _GdipCreatePen()
1077 off_phase = pGraphState->m_DashArray[i + 1]; in _GdipCreatePen()
[all …]
Dfx_win32_print.cpp418 const CFX_GraphStateData* pGraphState) { in SetClip_PathStroke() argument
419 m_PSRenderer.SetClip_PathStroke(pPathData, pObject2Device, pGraphState); in SetClip_PathStroke()
425 const CFX_GraphStateData* pGraphState, in DrawPath() argument
433 return m_PSRenderer.DrawPath(pPathData, pObject2Device, pGraphState, in DrawPath()
539 const CFX_GraphStateData* pGraphState) { in SetClip_PathStroke() argument
545 const CFX_GraphStateData* pGraphState, in DrawPath() argument
/external/pdfium/core/fxge/
Dcfx_renderdevice.h130 const CFX_GraphStateData* pGraphState);
133 const CFX_GraphStateData* pGraphState, in DrawPath() argument
137 return DrawPathWithBlend(pPathData, pObject2Device, pGraphState, fill_color, in DrawPath()
142 const CFX_GraphStateData* pGraphState,
223 const CFX_GraphStateData* pGraphState,
283 const CFX_GraphStateData* pGraphState,
Dcfx_renderdevice.cpp475 const CFX_GraphStateData* pGraphState) { in SetClip_PathStroke() argument
477 pGraphState)) { in SetClip_PathStroke()
512 const CFX_GraphStateData* pGraphState, in DrawPathWithBlend() argument
517 uint8_t stroke_alpha = pGraphState ? FXARGB_A(stroke_color) : 0; in DrawPathWithBlend()
605 return m_pDeviceDriver->DrawPath(pPathData, pObject2Device, pGraphState, in DrawPathWithBlend()
609 return DrawFillStrokePath(pPathData, pObject2Device, pGraphState, in DrawPathWithBlend()
612 return m_pDeviceDriver->DrawPath(pPathData, pObject2Device, pGraphState, in DrawPathWithBlend()
620 const CFX_GraphStateData* pGraphState, in DrawFillStrokePath() argument
628 if (pGraphState) { in DrawFillStrokePath()
629 bbox = pPathData->GetBoundingBox(pGraphState->m_LineWidth, in DrawFillStrokePath()
[all …]
Difx_renderdevicedriver.h45 const CFX_GraphStateData* pGraphState);
48 const CFX_GraphStateData* pGraphState,
Difx_renderdevicedriver.cpp28 const CFX_GraphStateData* pGraphState) { in SetClip_PathStroke() argument
/external/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.cpp34 const CFX_GraphStateData* pGraphState, in DrawTextPath() argument
55 font_size, pText2User, pUser2Device, pGraphState, in DrawTextPath()
65 font_size, pText2User, pUser2Device, pGraphState, in DrawTextPath()
81 const CFX_GraphStateData* pGraphState, in DrawTextString() argument
Dcpdf_textrenderer.h33 const CFX_GraphStateData* pGraphState,
43 const CFX_GraphStateData* pGraphState,
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h55 pGraphState) // graphic state, for pen attributes
61 const CFX_GraphStateData* pGraphState,
148 const CFX_GraphStateData* pGraphState,
Dfx_skia_device.cpp1010 const CFX_GraphStateData* pGraphState) { in SetClipStroke() argument
1017 m_pDriver->PaintStroke(&skPaint, pGraphState, skMatrix); in SetClipStroke()
1431 const CFX_GraphStateData* pGraphState, in PaintStroke() argument
1434 switch (pGraphState->m_LineCap) { in PaintStroke()
1446 switch (pGraphState->m_LineJoin) { in PaintStroke()
1465 SkTMax(pGraphState->m_LineWidth, in PaintStroke()
1467 if (pGraphState->m_DashArray) { in PaintStroke()
1468 int count = (pGraphState->m_DashCount + 1) / 2; in PaintStroke()
1473 float on = pGraphState->m_DashArray[i * 2]; in PaintStroke()
1476 float off = i * 2 + 1 == pGraphState->m_DashCount in PaintStroke()
[all …]
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp248 const CFX_GraphStateData* pGraphState, in RasterizeStroke() argument
253 switch (pGraphState->m_LineCap) { in RasterizeStroke()
265 switch (pGraphState->m_LineJoin) { in RasterizeStroke()
276 float width = pGraphState->m_LineWidth * scale; in RasterizeStroke()
283 if (pGraphState->m_DashArray) { in RasterizeStroke()
286 for (int i = 0; i < (pGraphState->m_DashCount + 1) / 2; i++) { in RasterizeStroke()
287 float on = pGraphState->m_DashArray[i * 2]; in RasterizeStroke()
290 float off = i * 2 + 1 == pGraphState->m_DashCount in RasterizeStroke()
292 : pGraphState->m_DashArray[i * 2 + 1]; in RasterizeStroke()
296 dash.dash_start(pGraphState->m_DashPhase * scale); in RasterizeStroke()
[all …]
Dfx_agg_driver.h53 const CFX_GraphStateData* pGraphState) override;
56 const CFX_GraphStateData* pGraphState,