outdev6.cxx (5aaf853b) | outdev6.cxx (47a7c0c1) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 620 unchanged lines hidden (view full) --- 629 const Size& rSize, const Gradient& rTransparenceGradient ) 630{ 631 DBG_TRACE( "OutputDevice::DrawTransparent()" ); 632 DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice ); 633 634 const Color aBlack( COL_BLACK ); 635 636 if( mpMetaFile ) | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 620 unchanged lines hidden (view full) --- 629 const Size& rSize, const Gradient& rTransparenceGradient ) 630{ 631 DBG_TRACE( "OutputDevice::DrawTransparent()" ); 632 DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice ); 633 634 const Color aBlack( COL_BLACK ); 635 636 if( mpMetaFile ) |
637 { 638 // missing here is to map the data using the DeviceTransformation |
|
637 mpMetaFile->AddAction( new MetaFloatTransparentAction( rMtf, rPos, rSize, rTransparenceGradient ) ); | 639 mpMetaFile->AddAction( new MetaFloatTransparentAction( rMtf, rPos, rSize, rTransparenceGradient ) ); |
640 } |
|
638 639 if( ( rTransparenceGradient.GetStartColor() == aBlack && rTransparenceGradient.GetEndColor() == aBlack ) || 640 ( mnDrawMode & ( DRAWMODE_NOTRANSPARENCY ) ) ) 641 { 642 ( (GDIMetaFile&) rMtf ).WindStart(); 643 ( (GDIMetaFile&) rMtf ).Play( this, rPos, rSize ); 644 ( (GDIMetaFile&) rMtf ).WindStart(); 645 } --- 602 unchanged lines hidden --- | 641 642 if( ( rTransparenceGradient.GetStartColor() == aBlack && rTransparenceGradient.GetEndColor() == aBlack ) || 643 ( mnDrawMode & ( DRAWMODE_NOTRANSPARENCY ) ) ) 644 { 645 ( (GDIMetaFile&) rMtf ).WindStart(); 646 ( (GDIMetaFile&) rMtf ).Play( this, rPos, rSize ); 647 ( (GDIMetaFile&) rMtf ).WindStart(); 648 } --- 602 unchanged lines hidden --- |