Lines Matching refs:mrContext
61 mrContext = xContext; in SetPrinterGraphics()
73 if( mrContext ) in SetPrinterGraphics()
75 CGContextSetFillColorSpace( mrContext, GetSalData()->mxRGBSpace ); in SetPrinterGraphics()
76 CGContextSetStrokeColorSpace( mrContext, GetSalData()->mxRGBSpace ); in SetPrinterGraphics()
77 CGContextSaveGState( mrContext ); in SetPrinterGraphics()
91 mrContext = xContext; in SetVirDevGraphics()
101 mnWidth = CGBitmapContextGetWidth( mrContext ); in SetVirDevGraphics()
102 mnHeight = CGBitmapContextGetHeight( mrContext ); in SetVirDevGraphics()
113 CGContextSetFillColorSpace( mrContext, aCGColorSpace ); in SetVirDevGraphics()
114 CGContextSetStrokeColorSpace( mrContext, aCGColorSpace ); in SetVirDevGraphics()
119 mpXorEmulation->SetTarget( mnWidth, mnHeight, mnBitmapDepth, mrContext, mxLayer ); in SetVirDevGraphics()
121 mrContext = mpXorEmulation->GetMaskContext(); in SetVirDevGraphics()
125 CGContextSaveGState( mrContext ); in SetVirDevGraphics()
134 mrContext = 0; in InvalidateContext()
141 if( mrContext ) in UnsetState()
143 CGContextRestoreGState( mrContext ); in UnsetState()
144 mrContext = 0; in UnsetState()
155 CGContextRestoreGState( mrContext ); in SetState()
156 CGContextSaveGState( mrContext ); in SetState()
161 CGContextBeginPath( mrContext ); // discard any existing path in SetState()
162 CGContextAddPath( mrContext, mxClipPath ); // set the current path to the clipping path in SetState()
163 CGContextClip( mrContext ); // use it for clipping in SetState()
167 CGContextSetFillColor( mrContext, maFillColor.AsArray() ); in SetState()
168 CGContextSetStrokeColor( mrContext, maLineColor.AsArray() ); in SetState()
169 CGContextSetShouldAntialias( mrContext, false ); in SetState()
171 CGContextSetBlendMode( mrContext, kCGBlendModeDifference ); in SetState()
192 rReleaseContext = mrContext; in CheckContext()
194 mrContext = NULL; in CheckContext()
198 if( !mrContext ) in CheckContext()
205 mrContext = CGLayerGetContext( mxLayer ); in CheckContext()
207 if( mrContext ) in CheckContext()
211 CGContextDrawLayerAtPoint( mrContext, CGPointZero, rReleaseLayer ); in CheckContext()
213 CGContextTranslateCTM( mrContext, 0, nHeight ); in CheckContext()
214 CGContextScaleCTM( mrContext, 1.0, -1.0 ); in CheckContext()
215 CGContextSetFillColorSpace( mrContext, GetSalData()->mxRGBSpace ); in CheckContext()
216 CGContextSetStrokeColorSpace( mrContext, GetSalData()->mxRGBSpace ); in CheckContext()
217 CGContextSaveGState( mrContext ); in CheckContext()
222 mpXorEmulation->SetTarget( mnWidth, mnHeight, mnBitmapDepth, mrContext, mxLayer ); in CheckContext()
232 DBG_ASSERT( mrContext || mbPrinter, "<<<WARNING>>> AquaSalGraphics::CheckContext() FAILED!!!!\n" ); in CheckContext()
233 return (mrContext != NULL); in CheckContext()