/aoo42x/main/cui/source/dialogs/ |
H A D | cuigrfflt.cxx | 349 maGraphic = rGraphic; in SetGraphic() 366 maSizePixel ( LogicToPixel( rGraphic.GetPrefSize(), rGraphic.GetPrefMapMode() ) ), in GraphicFilterDialog() 376 if( rGraphic.GetType() == GRAPHIC_BITMAP && in GraphicFilterDialog() 397 if( !rGraphic.IsAnimated() ) in GraphicFilterDialog() 491 if( rGraphic.IsAnimated() ) in GetFilteredGraphic() 505 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() 553 if( rGraphic.IsAnimated() ) in GetFilteredGraphic() 567 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() 611 if( rGraphic.IsAnimated() ) in GetFilteredGraphic() 661 if( rGraphic.IsAnimated() ) in GetFilteredGraphic() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | grfflt.cxx | 50 if( rGraphic.GetType() == GRAPHIC_BITMAP ) in ExecuteGrfFilterSlot() 64 if( rGraphic.IsAnimated() ) in ExecuteGrfFilterSlot() 73 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() 89 if( rGraphic.IsAnimated() ) in ExecuteGrfFilterSlot() 98 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() 114 if( rGraphic.IsAnimated() ) in ExecuteGrfFilterSlot() 123 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() 139 if( rGraphic.IsAnimated() ) in ExecuteGrfFilterSlot() 148 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() 164 if( rGraphic.IsAnimated() ) in ExecuteGrfFilterSlot() [all …]
|
H A D | _contdlg.cxx | 196 if ( rGraphic.GetType() == GRAPHIC_BITMAP ) in CreateAutoContour() 198 if( rGraphic.IsAnimated() ) in CreateAutoContour() 230 else if( rGraphic.IsTransparent() ) in CreateAutoContour() 231 aBmp = rGraphic.GetBitmapEx().GetMask(); in CreateAutoContour() 234 aBmp = rGraphic.GetBitmap(); in CreateAutoContour() 238 else if( rGraphic.GetType() != GRAPHIC_NONE ) in CreateAutoContour() 264 aBmp.SetPrefSize( rGraphic.GetPrefSize() ); in CreateAutoContour() 285 const Size aGrfSize( rGraphic.GetPrefSize() ); in ScaleContour() 334 pSuperClass->SetGraphic( rGraphic ); in SetGraphic() 538 aGraphic = rGraphic; in SetGraphic() [all …]
|
/aoo42x/main/svx/source/xoutdev/ |
H A D | _xoutbmp.cxx | 104 if( rGraphic.IsAnimated() ) in MirrorGraphic() 112 if( rGraphic.IsTransparent() ) in MirrorGraphic() 121 Bitmap aBmp( rGraphic.GetBitmap() ); in MirrorGraphic() 129 aRetGraphic = rGraphic; in MirrorGraphic() 140 if( rGraphic.GetType() != GRAPHIC_NONE ) in WriteGraphic() 147 sal_Bool bTransparent = rGraphic.IsTransparent(), bAnimated = rGraphic.IsAnimated(); in WriteGraphic() 198 ( rGraphic.GetType() != GRAPHIC_GDIMETAFILE ) && rGraphic.IsLink() ) in WriteGraphic() 267 aGraphic = rGraphic; in WriteGraphic() 298 aGraphic = rGraphic.GetBitmapEx(); in WriteGraphic() 314 aGraphic = rGraphic.GetBitmap(); in WriteGraphic() [all …]
|
/aoo42x/main/svtools/source/filter/ |
H A D | filter.cxx | 916 aGraphic = rGraphic; in ImpGetScaledGraphic() 924 aGraphic = rGraphic; in ImpGetScaledGraphic() 929 aGraphic = rGraphic; in ImpGetScaledGraphic() 956 aGraphic = rGraphic; in ImpGetScaledGraphic() 961 aGraphic = rGraphic; in ImpGetScaledGraphic() 1463 rGraphic.SetContext( NULL ); in ImportGraphic() 1559 rGraphic = aBmpEx; in ImportGraphic() 1660 rGraphic = aMtf; in ImportGraphic() 1683 aTempStream >> rGraphic; in ImportGraphic() 1811 rGraphic.Clear(); in ImportGraphic() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | cvtgrf.cxx | 96 Graphic& rGraphic = mpConvertData->maGraphic; in ImplConvert() local 98 if( ( rGraphic.GetType() == GRAPHIC_BITMAP ) && ( CVT_SVM == nOutFormat ) ) in ImplConvert() 102 aMtf.SetPrefSize( rGraphic.GetPrefSize() ); in ImplConvert() 103 aMtf.SetPrefMapMode( rGraphic.GetPrefMapMode() ); in ImplConvert() 105 rGraphic = aMtf; in ImplConvert() 107 else if( ( rGraphic.GetType() == GRAPHIC_GDIMETAFILE ) && ( CVT_BMP == nOutFormat ) ) in ImplConvert() 108 rGraphic = rGraphic.GetBitmapEx(); in ImplConvert() 110 aOStm << rGraphic; in ImplConvert() 137 ConvertData aData( rGraphic, rIStm, nFormat ); in Import() 141 rGraphic = aData.maGraphic; in Import() [all …]
|
H A D | graph.cxx | 217 Graphic::Graphic( const Graphic& rGraphic ) : in Graphic() argument 220 if( rGraphic.IsAnimated() ) in Graphic() 224 mpImpGraphic = rGraphic.mpImpGraphic; in Graphic() 311 Graphic& Graphic::operator=( const Graphic& rGraphic ) in operator =() argument 313 if( &rGraphic != this ) in operator =() 315 if( rGraphic.IsAnimated() ) in operator =() 326 rGraphic.mpImpGraphic->mnRefCount++; in operator =() 333 mpImpGraphic = rGraphic.mpImpGraphic; in operator =() 817 rGraphic.ImplTestRefCount(); in operator >>() 818 return rIStream >> *rGraphic.mpImpGraphic; in operator >>() [all …]
|
/aoo42x/main/cui/source/inc/ |
H A D | cuigrfflt.hxx | 85 void SetGraphic( const Graphic& rGraphic ); 112 GraphicFilterDialog( Window* pParent, const ResId& rResId, const Graphic& rGraphic ); 134 GraphicFilterMosaic( Window* pParent, const Graphic& rGraphic, 138 virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ); 158 GraphicFilterSolarize( Window* pParent, const Graphic& rGraphic, 162 virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ); 180 GraphicFilterSepia( Window* pParent, const Graphic& rGraphic, 184 virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ); 202 GraphicFilterPoster( Window* pParent, const Graphic& rGraphic, 206 virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ); [all …]
|
/aoo42x/main/svtools/source/graphic/ |
H A D | provider.cxx | 521 Size aSourceSizePixel( rGraphic.GetSizePixel() ); in ImplCalculateCropRect() 527 if( rGraphic.GetPrefMapMode().GetMapUnit() != MAP_PIXEL ) in ImplCalculateCropRect() 529 …aSize100thMM = OutputDevice::LogicToLogic( rGraphic.GetPrefSize(), rGraphic.GetPrefMapMode(), MAP_… in ImplCalculateCropRect() 553 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ImplApplyBitmapScaling() 559 rGraphic = aBmpEx; in ImplApplyBitmapScaling() 628 if ( rGraphic.GetType() == GRAPHIC_BITMAP ) in ImplApplyFilterData() 630 if(rGraphic.getSvgData().get()) in ImplApplyFilterData() 640 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ImplApplyFilterData() 642 rGraphic = aBmpEx; in ImplApplyFilterData() 652 GDIMetaFile aMtf( rGraphic.GetGDIMetaFile() ); in ImplApplyFilterData() [all …]
|
H A D | grfcache.cxx | 83 const Graphic& rGraphic = rObj.GetGraphic(); in GraphicID() local 87 switch( rGraphic.GetType() ) in GraphicID() 91 if(rGraphic.getSvgData().get()) in GraphicID() 101 else if( rGraphic.IsAnimated() ) in GraphicID() 108 mnID4 = rGraphic.GetChecksum(); in GraphicID() 117 mnID4 = rGraphic.GetChecksum(); in GraphicID() 129 mnID4 = rGraphic.GetChecksum(); in GraphicID() 246 switch( rGraphic.GetType() ) in ImplInit() 254 else if( rGraphic.IsAnimated() ) in ImplInit() 276 if( rGraphic.IsLink() ) in ImplInit() [all …]
|
/aoo42x/main/filter/source/graphicfilter/ieps/ |
H A D | ieps.cxx | 136 static void MakeAsMeta(Graphic &rGraphic) in MakeAsMeta() argument 140 Bitmap aBmp( rGraphic.GetBitmap() ); in MakeAsMeta() 152 aVDev.DrawBitmap( Point(), aSize, rGraphic.GetBitmap() ); in MakeAsMeta() 157 rGraphic = aMtf; in MakeAsMeta() 293 MakeAsMeta(rGraphic); in RenderAsPNGThroughHelper() 305 Graphic &rGraphic) in RenderAsPNGThroughConvert() argument 327 Graphic &rGraphic) in RenderAsPNGThroughGS() argument 373 return RenderAsPNGThroughGS(pBuf, nBytesRead, rGraphic); in RenderAsPNG() 417 long nWidth, long nHeight, Graphic &rGraphic) in MakePreview() argument 502 rGraphic = aMtf; in MakePreview() [all …]
|
/aoo42x/main/svx/source/gallery2/ |
H A D | galobj.cxx | 105 sal_Bool SgaObject::CreateThumb( const Graphic& rGraphic ) in CreateThumb() argument 109 if( rGraphic.GetType() == GRAPHIC_BITMAP ) in CreateThumb() 111 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in CreateThumb() 163 else if( rGraphic.GetType() == GRAPHIC_GDIMETAFILE ) in CreateThumb() 165 const Size aPrefSize( rGraphic.GetPrefSize() ); in CreateThumb() 174 aThumbBmp = rGraphic.GetBitmapEx(aParameters); in CreateThumb() 323 Init( rGraphic, rURL ); in SgaObjectBmp() 331 bIsValid = CreateThumb( rGraphic ); in Init() 465 SgaObjectAnim::SgaObjectAnim( const Graphic& rGraphic, in SgaObjectAnim() argument 470 bIsValid = CreateThumb( rGraphic ); in SgaObjectAnim() [all …]
|
/aoo42x/main/filter/source/graphicfilter/egif/ |
H A D | egif.cxx | 79 sal_Bool WriteGIF( const Graphic& rGraphic, SvStream& rGIF, 85 sal_Bool GIFWriter::WriteGIF( const Graphic& rGraphic, SvStream& rGIF, in WriteGIF() argument 99 const MapMode aMap( rGraphic.GetPrefMapMode() ); in WriteGIF() 103 …aSize100 = Application::GetDefaultDevice()->LogicToLogic( rGraphic.GetPrefSize(), aMap, MAP_100TH_… in WriteGIF() 116 if( rGraphic.IsAnimated() ) in WriteGIF() 118 const Animation& rAnimation = rGraphic.GetAnimation(); in WriteGIF() 137 const sal_Bool bGrafTrans = rGraphic.IsTransparent(); in WriteGIF() 142 aBmpEx = rGraphic.GetBitmapEx(); in WriteGIF() 144 aBmpEx = BitmapEx( rGraphic.GetBitmap() ); in WriteGIF() 563 extern "C" sal_Bool __LOADONCALLAPI GraphicExport( SvStream& rStream, Graphic& rGraphic, in GraphicExport() argument [all …]
|
/aoo42x/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 562 ReadState JPEGReader::Read( Graphic& rGraphic ) in Read() argument 610 rGraphic = CreateIntermediateGraphic( aBmp, nLines ); in Read() 612 rGraphic = aBmp; in Read() 717 sal_Bool JPEGWriter::Write( const Graphic& rGraphic ) in Write() argument 727 Bitmap aGraphicBmp( rGraphic.GetBitmap() ); in Write() 732 aGraphicBmp = rGraphic.GetBitmap(); in Write() 801 rGraphic.SetContext( NULL ); in ImportJPEG() 802 eReadState = pJPEGReader->Read( rGraphic ); in ImportJPEG() 812 rGraphic.SetContext( pJPEGReader ); in ImportJPEG() 821 sal_Bool ExportJPEG( SvStream& rOStm, const Graphic& rGraphic, in ExportJPEG() argument [all …]
|
/aoo42x/main/svtools/source/filter/igif/ |
H A D | gifread.cxx | 782 ReadState GIFReader::ReadGIF( Graphic& rGraphic ) in ReadGIF() argument 804 rGraphic = aAnimation.Get( 0 ).aBmpEx; in ReadGIF() 808 rGraphic.SetPrefSize( Size( nLogWidth100, nLogHeight100 ) ); in ReadGIF() 809 rGraphic.SetPrefMapMode( MAP_100TH_MM ); in ReadGIF() 813 rGraphic = aAnimation; in ReadGIF() 823 sal_Bool ImportGIF( SvStream & rStm, Graphic& rGraphic ) in ImportGIF() argument 825 GIFReader* pGIFReader = (GIFReader*) rGraphic.GetContext(); in ImportGIF() 835 rGraphic.SetContext( NULL ); in ImportGIF() 836 eReadState = pGIFReader->ReadGIF( rGraphic ); in ImportGIF() 847 rGraphic = pGIFReader->GetIntermediateGraphic(); in ImportGIF() [all …]
|
/aoo42x/main/drawinglayer/source/primitive2d/ |
H A D | graphicprimitivehelper2d.cxx | 76 animatedBitmapExPreparator(const Graphic& rGraphic); 110 animatedBitmapExPreparator::animatedBitmapExPreparator(const Graphic& rGraphic) in animatedBitmapExPreparator() argument 111 : maAnimation(rGraphic.GetAnimation()) in animatedBitmapExPreparator() 113 …OSL_ENSURE(GRAPHIC_BITMAP == rGraphic.GetType() && rGraphic.IsAnimated(), "animatedBitmapExPrepara… in animatedBitmapExPreparator() 219 const Graphic& rGraphic, in create2DDecompositionOfGraphic() argument 224 switch(rGraphic.GetType()) in create2DDecompositionOfGraphic() 228 if(rGraphic.IsAnimated()) in create2DDecompositionOfGraphic() 231 animatedBitmapExPreparator aData(rGraphic); in create2DDecompositionOfGraphic() 260 else if(rGraphic.getSvgData().get()) in create2DDecompositionOfGraphic() 284 rGraphic.getSvgData()->getPrimitive2DSequence()); in create2DDecompositionOfGraphic() [all …]
|
H A D | fillgraphicprimitive2d.cxx | 56 const Graphic& rGraphic = rAttribute.getGraphic(); in create2DDecomposition() local 58 … if(GRAPHIC_BITMAP == rGraphic.GetType() || GRAPHIC_GDIMETAFILE == rGraphic.GetType()) in create2DDecomposition() 60 const Size aSize(rGraphic.GetPrefSize()); in create2DDecomposition() 80 rGraphic, in create2DDecomposition() 99 rGraphic, in create2DDecomposition()
|
/aoo42x/main/svgio/source/svgreader/ |
H A D | svgimagenode.cxx | 172 const Graphic& rGraphic, in extractFromGraphic() argument 177 if(GRAPHIC_BITMAP == rGraphic.GetType()) in extractFromGraphic() 179 if(rGraphic.getSvgData().get()) in extractFromGraphic() 182 rEmbedded = rGraphic.getSvgData()->getPrimitive2DSequence(); in extractFromGraphic() 185 rViewBox = rGraphic.getSvgData()->getRange(); in extractFromGraphic() 190 rBitmapEx = rGraphic.GetBitmapEx(); in extractFromGraphic() 196 rBitmapEx = rGraphic.GetBitmapEx(); in extractFromGraphic()
|
/aoo42x/main/svtools/source/filter/ixbm/ |
H A D | xbmread.cxx | 271 ReadState XBMReader::ReadXBM( Graphic& rGraphic ) in ReadXBM() argument 352 rGraphic = BitmapEx( aBlackBmp, aBmp1 ); in ReadXBM() 371 sal_Bool ImportXBM( SvStream& rStm, Graphic& rGraphic ) in ImportXBM() argument 373 XBMReader* pXBMReader = (XBMReader*) rGraphic.GetContext(); in ImportXBM() 380 rGraphic.SetContext( NULL ); in ImportXBM() 381 eReadState = pXBMReader->ReadXBM( rGraphic ); in ImportXBM() 391 rGraphic.SetContext( pXBMReader ); in ImportXBM()
|
/aoo42x/main/svtools/source/filter/ixpm/ |
H A D | xpmread.cxx | 76 ReadState XPMReader::ReadXPM( Graphic& rGraphic ) in ReadXPM() argument 207 rGraphic = Graphic( BitmapEx( maBmp, maMaskBmp ) ); in ReadXPM() 212 rGraphic = maBmp; in ReadXPM() 675 sal_Bool ImportXPM( SvStream& rStm, Graphic& rGraphic ) in ImportXPM() argument 677 XPMReader* pXPMReader = (XPMReader*) rGraphic.GetContext(); in ImportXPM() 684 rGraphic.SetContext( NULL ); in ImportXPM() 685 eReadState = pXPMReader->ReadXPM( rGraphic ); in ImportXPM() 695 rGraphic.SetContext( pXPMReader ); in ImportXPM()
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | graph.hxx | 104 Graphic( const Graphic& rGraphic ); 113 Graphic& operator=( const Graphic& rGraphic ); 114 sal_Bool operator==( const Graphic& rGraphic ) const; 115 sal_Bool operator!=( const Graphic& rGraphic ) const; 214 friend VCL_DLLPUBLIC SvStream& operator<<( SvStream& rOStream, const Graphic& rGraphic ); 215 friend VCL_DLLPUBLIC SvStream& operator>>( SvStream& rIStream, Graphic& rGraphic );
|
/aoo42x/main/sd/source/ui/view/ |
H A D | sdview4.cxx | 86 SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction, in InsertGraphic() argument 130 aSet.Put(XFillBitmapItem(&mpDocSh->GetPool(), rGraphic)); in InsertGraphic() 148 pNewGrafObj->SetGraphic(rGraphic); in InsertGraphic() 152 pNewGrafObj = new SdrGrafObj( rGraphic, pPickObj->GetLogicRect() ); in InsertGraphic() 184 if ( rGraphic.GetPrefMapMode().GetMapUnit() == MAP_PIXEL ) in InsertGraphic() 194 aSize = pOutDev->PixelToLogic( rGraphic.GetPrefSize(), MAP_100TH_MM ); in InsertGraphic() 198 aSize = OutputDevice::LogicToLogic( rGraphic.GetPrefSize(), in InsertGraphic() 199 rGraphic.GetPrefMapMode(), in InsertGraphic() 203 pNewGrafObj = new SdrGrafObj( rGraphic, Rectangle( rPos, aSize ) ); in InsertGraphic()
|
/aoo42x/main/filter/source/graphicfilter/expm/ |
H A D | expm.cxx | 60 …sal_Bool WriteXPM( const Graphic& rGraphic, SvStream& rXPM, FilterConfigItem* pFilterConfigItem… 91 sal_Bool XPMWriter::WriteXPM( const Graphic& rGraphic, SvStream& rXPM, FilterConfigItem* pFilterCon… in WriteXPM() argument 107 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in WriteXPM() 110 if ( rGraphic.IsTransparent() ) // event. transparente Farbe erzeugen in WriteXPM() 263 extern "C" sal_Bool __LOADONCALLAPI GraphicExport( SvStream& rStream, Graphic& rGraphic, FilterConf… in GraphicExport() argument 267 return aXPMWriter.WriteXPM( rGraphic, rStream, pFilterConfigItem ); in GraphicExport()
|
/aoo42x/main/forms/source/component/ |
H A D | imgprod.cxx | 359 sal_Bool ImageProducer::ImplImportGraphic( Graphic& rGraphic ) in ImplImportGraphic() argument 366 sal_Bool bRet = GraphicConverter::Import( *mpStm, rGraphic ) == ERRCODE_NONE; in ImplImportGraphic() 376 void ImageProducer::ImplUpdateData( const Graphic& rGraphic ) in ImplUpdateData() argument 378 ImplInitConsumer( rGraphic ); in ImplUpdateData() 385 ImplUpdateConsumer( rGraphic ); in ImplUpdateData() 404 void ImageProducer::ImplInitConsumer( const Graphic& rGraphic ) in ImplInitConsumer() argument 406 Bitmap aBmp( rGraphic.GetBitmapEx().GetBitmap() ); in ImplInitConsumer() 440 if( rGraphic.IsTransparent() ) in ImplInitConsumer() 483 void ImageProducer::ImplUpdateConsumer( const Graphic& rGraphic ) in ImplUpdateConsumer() argument 485 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ImplUpdateConsumer()
|
/aoo42x/main/svx/inc/svx/ |
H A D | contdlg.hxx | 48 static void UpdateContourDlg( const Graphic& rGraphic, sal_Bool bGraphicLinked, 105 void SetGraphic( const Graphic& rGraphic ); 116 void Update( const Graphic& rGraphic, sal_Bool bGraphicLinked, 119 static PolyPolygon CreateAutoContour( const Graphic& rGraphic, 122 static void ScaleContour( PolyPolygon& rContour, const Graphic& rGraphic,
|