Lines Matching refs:mrContext
266 , mrContext( NULL ) in AquaSalGraphics()
300 else if( mrContext && mbWindow ) in ~AquaSalGraphics()
303 CGContextRelease( mrContext ); in ~AquaSalGraphics()
304 mrContext = NULL; in ~AquaSalGraphics()
603 CGContextSetStrokeColor( mrContext, maLineColor.AsArray() ); in SetLineColor()
612 CGContextSetStrokeColor( mrContext, maLineColor.AsArray() ); in SetLineColor()
621 CGContextSetFillColor( mrContext, maFillColor.AsArray() ); in SetFillColor()
630 CGContextSetFillColor( mrContext, maFillColor.AsArray() ); in SetFillColor()
667 CGContextSetFillColor( mrContext, rColor.AsArray() ); in ImplDrawPixel()
670 CGContextFillRect( mrContext, aDstRect ); in ImplDrawPixel()
673 CGContextSetFillColor( mrContext, maFillColor.AsArray() ); in ImplDrawPixel()
702 CGContextBeginPath( mrContext ); in drawLine()
703 CGContextMoveToPoint( mrContext, static_cast<float>(nX1)+0.5, static_cast<float>(nY1)+0.5 ); in drawLine()
704 CGContextAddLineToPoint( mrContext, static_cast<float>(nX2)+0.5, static_cast<float>(nY2)+0.5 ); in drawLine()
705 CGContextDrawPath( mrContext, kCGPathStroke ); in drawLine()
727 CGContextFillRect( mrContext, aRect ); in drawRect()
730 CGContextStrokeRect( mrContext, aRect ); in drawRect()
779 CGContextBeginPath( mrContext ); in drawPolyLine()
781 CGContextMoveToPoint( mrContext, fX, fY ); in drawPolyLine()
786 CGContextAddLineToPoint( mrContext, fX, fY ); in drawPolyLine()
788 CGContextDrawPath( mrContext, kCGPathStroke ); in drawPolyLine()
815 CGContextBeginPath( mrContext ); in drawPolygon()
821 CGContextMoveToPoint( mrContext, fX, fY ); in drawPolygon()
826 CGContextAddLineToPoint( mrContext, fX, fY ); in drawPolygon()
831 CGContextMoveToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolygon()
834 CGContextAddLineToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolygon()
837 CGContextDrawPath( mrContext, eMode ); in drawPolygon()
885 CGContextBeginPath( mrContext ); in drawPolyPolygon()
896 CGContextMoveToPoint( mrContext, fX, fY ); in drawPolyPolygon()
901 CGContextAddLineToPoint( mrContext, fX, fY ); in drawPolyPolygon()
903 CGContextClosePath(mrContext); in drawPolyPolygon()
915 CGContextMoveToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolyPolygon()
918 CGContextAddLineToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolyPolygon()
919 CGContextClosePath(mrContext); in drawPolyPolygon()
924 CGContextDrawPath( mrContext, eMode ); in drawPolyPolygon()
958 CGContextSaveGState( mrContext ); in drawPolyPolygon()
959 CGContextBeginPath( mrContext ); in drawPolyPolygon()
960 CGContextAddPath( mrContext, xPath ); in drawPolyPolygon()
963 CGContextSetShouldAntialias( mrContext, true ); in drawPolyPolygon()
964 CGContextSetAlpha( mrContext, 1.0 - fTransparency ); in drawPolyPolygon()
965 CGContextDrawPath( mrContext, kCGPathEOFillStroke ); in drawPolyPolygon()
966 CGContextRestoreGState( mrContext ); in drawPolyPolygon()
1045 CGContextSaveGState( mrContext ); in drawPolyLine()
1046 CGContextAddPath( mrContext, xPath ); in drawPolyLine()
1048 CGContextSetShouldAntialias( mrContext, true ); in drawPolyLine()
1049 CGContextSetAlpha( mrContext, 1.0 - fTransparency ); in drawPolyLine()
1050 CGContextSetLineJoin( mrContext, aCGLineJoin ); in drawPolyLine()
1051 CGContextSetLineCap( mrContext, aCGLineCap ); in drawPolyLine()
1052 CGContextSetLineWidth( mrContext, rLineWidths.getX() ); in drawPolyLine()
1053 CGContextDrawPath( mrContext, kCGPathStroke ); in drawPolyLine()
1054 CGContextRestoreGState( mrContext ); in drawPolyLine()
1132 CGContextRef xCopyContext = mrContext; in copyBits()
1193 CGContextRef xCopyContext = mrContext; in copyArea()
1243 CGContextDrawImage( mrContext, aDstRect, xImage ); in drawBitmap()
1270 CGContextDrawImage( mrContext, aDstRect, xMaskedImage ); in drawBitmap()
1288 CGContextDrawImage( mrContext, aDstRect, xImage ); in drawMask()
1371 CGContextSetFillColorSpace( mrContext, GetSalData()->mxP50Space ); in Pattern50Fill()
1372 CGContextSetFillPattern( mrContext, GetSalData()->mxP50Pattern, aFillCol ); in Pattern50Fill()
1373 CGContextFillPath( mrContext ); in Pattern50Fill()
1381 CGContextSaveGState(mrContext); in invert()
1386 CGContextSetBlendMode( mrContext, kCGBlendModeDifference ); in invert()
1387 CGContextSetRGBStrokeColor ( mrContext, 1.0, 1.0, 1.0, 1.0 ); in invert()
1388 CGContextSetLineDash ( mrContext, 0, dashLengths, 2 ); in invert()
1389 CGContextSetLineWidth( mrContext, 2.0); in invert()
1390 CGContextStrokeRect ( mrContext, aCGRect ); in invert()
1395 CGContextSetBlendMode(mrContext, kCGBlendModeDifference); in invert()
1396 CGContextAddRect( mrContext, aCGRect ); in invert()
1401 CGContextSetBlendMode(mrContext, kCGBlendModeDifference); in invert()
1402 CGContextSetRGBFillColor ( mrContext,1.0, 1.0, 1.0 , 1.0 ); in invert()
1403 CGContextFillRect ( mrContext, aCGRect ); in invert()
1405 CGContextRestoreGState( mrContext); in invert()
1417 CGContextSaveGState(mrContext); in invert()
1419 CGContextAddLines ( mrContext, CGpoints, nPoints ); in invert()
1423 CGContextSetBlendMode( mrContext, kCGBlendModeDifference ); in invert()
1424 CGContextSetRGBStrokeColor ( mrContext, 1.0, 1.0, 1.0, 1.0 ); in invert()
1425 CGContextSetLineDash ( mrContext, 0, dashLengths, 2 ); in invert()
1426 CGContextSetLineWidth( mrContext, 2.0); in invert()
1427 CGContextStrokePath ( mrContext ); in invert()
1431 CGContextSetBlendMode(mrContext, kCGBlendModeDifference); in invert()
1436 CGContextSetBlendMode( mrContext, kCGBlendModeDifference ); in invert()
1437 CGContextSetRGBFillColor( mrContext, 1.0, 1.0, 1.0, 1.0 ); in invert()
1438 CGContextFillPath( mrContext ); in invert()
1440 const CGRect aRefreshRect = CGContextGetClipBoundingBox(mrContext); in invert()
1441 CGContextRestoreGState( mrContext); in invert()
1463 CGContextSaveGState( mrContext ); in drawEPS()
1465 CGContextScaleCTM( mrContext, +1, -1 ); in drawEPS()
1473 …NSGraphicsContext* pDrawNSCtx = [NSGraphicsContext graphicsContextWithGraphicsPort: mrContext flip… in drawEPS()
1485 CGContextRestoreGState( mrContext ); in drawEPS()
1515 CGContextDrawImage( mrContext, aDstRect, xMaskedImage ); in drawAlphaBitmap()
1545 CGContextSaveGState( mrContext ); in drawTransformedBitmap()
1552 CGContextConcatCTM( mrContext, aCGMat ); in drawTransformedBitmap()
1556 CGContextDrawImage( mrContext, aSrcRect, xImage ); in drawTransformedBitmap()
1559 CGContextRestoreGState(mrContext); in drawTransformedBitmap()
1575 CGContextSaveGState( mrContext ); in drawAlphaRect()
1576 CGContextSetAlpha( mrContext, (100-nTransparency) * (1.0/100) ); in drawAlphaRect()
1585 CGContextBeginPath( mrContext ); in drawAlphaRect()
1586 CGContextAddRect( mrContext, aRect ); in drawAlphaRect()
1587 CGContextDrawPath( mrContext, kCGPathFill ); in drawAlphaRect()
1590 CGContextRestoreGState(mrContext); in drawAlphaRect()
1763 if( mrContext && (mbWindow || mbVirDev) ) in GetGraphicsWidth()
2335 aRes.rCGContext = mrContext; in GetGraphicsData()
2349 CGContextSetBlendMode( mrContext, kCGBlendModeNormal ); in SetXORMode()
2355 CGContextSetBlendMode( mrContext, kCGBlendModeDifference ); in SetXORMode()
2371 mpXorEmulation->SetTarget( mnWidth, mnHeight, mnBitmapDepth, mrContext, mxLayer ); in SetXORMode()
2378 mrContext = mpXorEmulation->GetMaskContext(); in SetXORMode()
2385 mrContext = mpXorEmulation->GetTargetContext(); in SetXORMode()