Home | History | Annotate | Download | only in win32

Lines Matching refs:pGraphState

591 static HPEN _CreatePen(const CFX_GraphStateData* pGraphState, const CFX_AffineMatrix* pMatrix, FX_DWORD argb)

598 if (pGraphState) {
599 width = scale * pGraphState->m_LineWidth;
607 if(pGraphState->m_DashCount) {
612 switch(pGraphState->m_LineCap) {
623 switch(pGraphState->m_LineJoin) {
642 if (pGraphState->m_DashCount) {
643 pDash = FX_Alloc(FX_DWORD, pGraphState->m_DashCount);
647 for (int i = 0; i < pGraphState->m_DashCount; i ++) {
648 pDash[i] = FXSYS_round(pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) : pGraphState->m_DashArray[i]);
654 HPEN hPen = ExtCreatePen(PenStyle, (DWORD)FXSYS_ceil(width), &lb, pGraphState->m_DashCount, (const DWORD*)pDash);
746 const CFX_GraphStateData* pGraphState,
761 if ((pGraphState == NULL || stroke_color == 0) && !pPlatform->m_GdiplusExt.IsAvailable()) {
777 FX_BOOL bDrawAlpha = (fill_alpha > 0 && fill_alpha < 255) || (stroke_alpha > 0 && stroke_alpha < 255 && pGraphState);
782 if (bDrawAlpha || ((m_DeviceClass != FXDC_PRINTER && !(fill_mode & FXFILL_FULLCOVER)) || pGraphState && pGraphState->m_DashCount)) {
784 pGraphState && pGraphState->m_LineWidth == 1.f &&
787 if (pPlatform->m_GdiplusExt.DrawPath(m_hDC, pPathData, pMatrix, pGraphState, fill_color, stroke_color, fill_mode)) {
797 if (pGraphState && stroke_alpha) {
798 SetMiterLimit(m_hDC, pGraphState->m_MiterLimit, NULL);
799 hPen = _CreatePen(pGraphState, pMatrix, stroke_color);
807 if (pPathData->GetPointCount() == 2 && pGraphState && pGraphState->m_DashCount) {
819 if (pGraphState && stroke_alpha) {
885 const CFX_GraphStateData* pGraphState
888 HPEN hPen = _CreatePen(pGraphState, pMatrix, 0xff000000);