Home
last modified time | relevance | path

Searched refs:Gdiplus (Results 1 – 25 of 30) sorted by relevance

12

/trunk/main/vcl/win/source/gdi/
H A Dsalgdi_gdiplus.cxx68 Gdiplus::PointF aFCurr(Gdiplus::REAL(aCurr.getX()), Gdiplus::REAL(aCurr.getY())); in impAddB2DPolygonToGDIPlusGraphicsPathReal()
74 const Gdiplus::PointF aFNext(Gdiplus::REAL(aNext.getX()), Gdiplus::REAL(aNext.getY())); in impAddB2DPolygonToGDIPlusGraphicsPathReal()
83 Gdiplus::PointF(Gdiplus::REAL(aCa.getX()), Gdiplus::REAL(aCa.getY())), in impAddB2DPolygonToGDIPlusGraphicsPathReal()
84 Gdiplus::PointF(Gdiplus::REAL(aCb.getX()), Gdiplus::REAL(aCb.getY())), in impAddB2DPolygonToGDIPlusGraphicsPathReal()
161 Gdiplus::GraphicsPath aPath; in drawPolyPolygon()
206 aPrinterTransform.Scale(Gdiplus::REAL(100.0) / aDpiX, Gdiplus::REAL(100.0) / aDpiY); in drawPolyPolygon()
230 Gdiplus::Pen aTestPen(aTestColor, Gdiplus::REAL(rLineWidths.getX())); in drawPolyLine()
231 Gdiplus::GraphicsPath aPath; in drawPolyLine()
318 Gdiplus::Graphics& rGraphics, in paintToGdiPlus()
320 Gdiplus::Bitmap& rBitmap) in paintToGdiPlus()
[all …]
H A Dsalbmp.cxx265 Gdiplus::Bitmap* WinSalBitmap::ImplCreateGdiPlusBitmap() in ImplCreateGdiPlusBitmap()
267 Gdiplus::Bitmap* pRetval(0); in ImplCreateGdiPlusBitmap()
309 pRetval = new Gdiplus::Bitmap(nW, nH, PixelFormat24bppRGB); in ImplCreateGdiPlusBitmap()
313 if ( pRetval->GetLastStatus() == Gdiplus::Ok ) in ImplCreateGdiPlusBitmap()
318 const Gdiplus::Rect aAllRect(0, 0, nW, nH); in ImplCreateGdiPlusBitmap()
319 Gdiplus::BitmapData aGdiPlusBitmapData; in ImplCreateGdiPlusBitmap()
364 Gdiplus::Bitmap* WinSalBitmap::ImplCreateGdiPlusBitmap(const WinSalBitmap& rAlphaSource) in ImplCreateGdiPlusBitmap()
366 Gdiplus::Bitmap* pRetval(0); in ImplCreateGdiPlusBitmap()
447 pRetval = new Gdiplus::Bitmap(nW, nH, PixelFormat32bppARGB); in ImplCreateGdiPlusBitmap()
458 const Gdiplus::Rect aAllRect(0, 0, nW, nH); in ImplCreateGdiPlusBitmap()
[all …]
/trunk/main/canvas/source/directx/
H A Ddx_canvashelper.cxx157 Gdiplus::Color aClearColor = Gdiplus::Color((Gdiplus::ARGB)Gdiplus::Color::White); in clear()
181 Gdiplus::Color( in drawPoint()
216 Gdiplus::Pen aPen( in drawLine()
217 Gdiplus::Color( in drawLine()
255 Gdiplus::Pen aPen( in drawBezier()
256 Gdiplus::Color( in drawBezier()
301 Gdiplus::Pen aPen( in drawPolyPolygon()
302 Gdiplus::Color( in drawPolyPolygon()
350 Gdiplus::Pen aPen( in strokePolyPolygon()
351 Gdiplus::Color( in strokePolyPolygon()
[all …]
H A Ddx_impltools.cxx143 Gdiplus::Graphics* pRet = new Gdiplus::Graphics(aHDC); in createGraphicsFromHDC()
151 Gdiplus::Graphics* pRet = Gdiplus::Graphics::FromImage(rBitmap.get()); in createGraphicsFromBitmap()
184 return Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.X), in implGdiPlusPointFromRealPoint2D()
217 … rPoints[nCurrOutput++] = Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.getX()), in graphicsPathFromB2DPolygon()
235 … rPoints[nCurrOutput++] = Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.getX()), in graphicsPathFromB2DPolygon()
284 … rPoints[nCurrPoint] = Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.getX()), in graphicsPathFromB2DPolygon()
328 return Gdiplus::RectF( static_cast<Gdiplus::REAL>(rRect.X1), in gdiPlusRectFFromRectangle2D()
400 Gdiplus::ARGB aColor; in sequenceToArgb()
416 Gdiplus::ARGB aColor; in sequenceToArgb()
509 Gdiplus::PointF aPoint; in drawGdiPlusBitmap()
[all …]
H A Ddx_canvashelper_texturefill.cxx74 Gdiplus::PointF(0.0f, in fillLinearGradient()
76 Gdiplus::PointF(1.0f, in fillLinearGradient()
110 Gdiplus::RectF aBounds; in fillLinearGradient()
167 Gdiplus::GraphicsPath aClipPath; in fillLinearGradient()
187 Gdiplus::Matrix aMatrix; in fillLinearGradient()
197 int numColorSteps( const Gdiplus::Color& rColor1, const Gdiplus::Color& rColor2 ) in numColorSteps()
226 Gdiplus::Matrix aMatrix; in fillPolygonalGradient()
421 Gdiplus::Pen aPen( Gdiplus::Color( 255, 255, 0, 0 ), in fillPolygonalGradient()
506 bClamp ? Gdiplus::WrapModeClamp : Gdiplus::WrapModeTile ) ); in fillBitmap()
518 Gdiplus::Rect aRect(0,0, in fillBitmap()
[all …]
H A Ddx_impltools.hxx74 Gdiplus::Graphics* createGraphicsFromHDC(HDC);
75 Gdiplus::Graphics* createGraphicsFromBitmap(const BitmapSharedPtr&);
77 void setupGraphics( Gdiplus::Graphics& rGraphics );
79 void gdiPlusMatrixFromB2DHomMatrix( Gdiplus::Matrix& rGdiplusMatrix,
81 void gdiPlusMatrixFromAffineMatrix2D( Gdiplus::Matrix& rGdiplusMatrix,
92 ::basegfx::B2DPoint b2dPointFromGdiPlusPointF( const Gdiplus::PointF& );
93 ::basegfx::B2DRange b2dRangeFromGdiPlusRectF( const Gdiplus::RectF& );
98 Gdiplus::ARGB sequenceToArgb( const ::com::sun::star::uno::Sequence< double >& rColor );
117 bool drawDIBits( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics,
121 bool drawRGBABits( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics,
[all …]
H A Ddx_surfacebitmap.cxx166 mutable Gdiplus::BitmapData aBmpData;
258 new Gdiplus::Bitmap( in init()
308 Gdiplus::Color transColor(255,0,0,0); in clear()
515 Gdiplus::BitmapData aBmpData; in getData()
526 Gdiplus::ImageLockModeRead | Gdiplus::ImageLockModeUserInputBuf, in getData()
602 Gdiplus::BitmapData aBmpData; in setData()
612 Gdiplus::ImageLockModeWrite | Gdiplus::ImageLockModeUserInputBuf, in setData()
708 Gdiplus::Color aColor(tools::sequenceToArgb(color)); in setPixel()
754 Gdiplus::Color aColor; in getPixel()
779 Gdiplus::Color aColor(*pDst); in getPixel()
[all …]
H A Ddx_bitmap.cxx75 new Gdiplus::Bitmap( in DXBitmap()
83 new Gdiplus::Bitmap( in DXBitmap()
119 Gdiplus::BitmapData aBmpData; in getData()
129 if( Gdiplus::Ok != mpBitmap->LockBits( &aRect, in getData()
130Gdiplus::ImageLockModeRead | Gdiplus::ImageLockModeUserInputBuf, in getData()
152 Gdiplus::BitmapData aBmpData; in setData()
161 if( Gdiplus::Ok != mpBitmap->LockBits( &aRect, in setData()
162Gdiplus::ImageLockModeWrite | Gdiplus::ImageLockModeUserInputBuf, in setData()
189 if( Gdiplus::Ok != mpBitmap->SetPixel( pos.X, pos.Y, in setPixel()
206 Gdiplus::Color aColor; in getPixel()
[all …]
H A Ddx_canvasbitmap.cxx91 mpBitmap->getBitmap()->GetHBITMAP(Gdiplus::Color(), &aHBmp ); in getFastPropertyValue()
126 Gdiplus::BitmapData aBmpData; in getFastPropertyValue()
132 const Gdiplus::Rect aRect( 0,0,aSize.getX(),aSize.getY() ); in getFastPropertyValue()
134 if( Gdiplus::Ok != pGDIPlusBitmap->LockBits( &aRect, in getFastPropertyValue()
135 Gdiplus::ImageLockModeRead, in getFastPropertyValue()
200 Gdiplus::BitmapData aBmpData; in getFastPropertyValue()
206 const Gdiplus::Rect aRect( 0,0,aSize.getX(),aSize.getY() ); in getFastPropertyValue()
208 if( Gdiplus::Ok != pGDIPlusBitmap->LockBits( &aRect, in getFastPropertyValue()
209 Gdiplus::ImageLockModeRead, in getFastPropertyValue()
H A Ddx_bitmapcanvashelper.cxx98 Gdiplus::Color aClearColor = hasAlpha() ? in clear()
99Gdiplus::Color( 0,255,255,255 ) : Gdiplus::Color((Gdiplus::ARGB)Gdiplus::Color::White); in clear()
102 Gdiplus::Ok == pGraphics->SetCompositingMode( in clear()
103 Gdiplus::CompositingModeSourceCopy ), // force set, don't blend in clear()
106 Gdiplus::Ok == pGraphics->Clear( aClearColor ), in clear()
H A Ddx_winstuff.hxx107 typedef ::boost::shared_ptr< Gdiplus::Graphics > GraphicsSharedPtr;
108 typedef ::boost::shared_ptr< Gdiplus::GraphicsPath > GraphicsPathSharedPtr;
109 typedef ::boost::shared_ptr< Gdiplus::Bitmap > BitmapSharedPtr;
110 typedef ::boost::shared_ptr< Gdiplus::CachedBitmap > CachedBitmapSharedPtr;
111 typedef ::boost::shared_ptr< Gdiplus::Font > FontSharedPtr;
112 typedef ::boost::shared_ptr< Gdiplus::Brush > BrushSharedPtr;
113 typedef ::boost::shared_ptr< Gdiplus::TextureBrush > TextureBrushSharedPtr;
H A Ddx_canvasfont.cxx44 INT nFontStyle( Gdiplus::FontStyleRegular ); in calcFontStyle()
47 nFontStyle = Gdiplus::FontStyleBold; in calcFontStyle()
69 mpFontFamily.reset( new Gdiplus::FontFamily(reinterpret_cast<LPCWSTR>(&pStrBuf[0]),NULL) ); in CanvasFont()
71 mpFontFamily.reset( new Gdiplus::FontFamily(L"Arial",NULL) ); in CanvasFont()
73 mpFont.reset( new Gdiplus::Font( mpFontFamily.get(), in CanvasFont()
74 static_cast<Gdiplus::REAL>(rFontRequest.CellSize), in CanvasFont()
76 Gdiplus::UnitWorld )); in CanvasFont()
H A Ddx_surfacegraphics.cxx46 void operator()( Gdiplus::Graphics* pGraphics ) in operator ()()
51 pGraphics->Flush(Gdiplus::FlushIntentionSync); in operator ()()
62 Gdiplus::Graphics* pGraphics; in createSurfaceGraphics()
67 pGraphics = Gdiplus::Graphics::FromHDC( aHDC ); in createSurfaceGraphics()
H A Ddx_5rm.cxx630 const Gdiplus::PointF& rPos ) const;
1967 Gdiplus::SolidBrush aBrush( in renderInfoText()
1968 Gdiplus::Color( 255, 255, 255 ) ); in renderInfoText()
1974 Gdiplus::SolidBrush aBrush( in renderInfoText()
1975 Gdiplus::Color( 255, 0, 255 ) ); in renderInfoText()
1976 Gdiplus::Font aFont( NULL, in renderInfoText()
1978 Gdiplus::FontStyleRegular, in renderInfoText()
1979 Gdiplus::UnitWorld, in renderInfoText()
2010 Gdiplus::PointF( 0.0, 20) ); in renderMemAvailable()
2025 Gdiplus::PointF( 0.0, 40) ); in renderMemAvailable()
[all …]
H A Ddx_gdiplususer.cxx55 Gdiplus::GdiplusShutdown( a_GdiPlusToken ); in ~GDIPlusUser()
68 Gdiplus::GdiplusStartupInput gdiPlusStartupInput; in GDIPlusUser()
70 Gdiplus::GdiplusStartup( &a_GdiPlusToken, in GDIPlusUser()
H A Ddx_vcltools.cxx80 bool drawDIBits( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics, in drawDIBits()
110 bool drawVCLBitmap( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics, in drawVCLBitmap()
486 bool drawVCLBitmapEx( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics, in drawVCLBitmapEx()
502 bool drawVCLBitmapFromXBitmap( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics, in drawVCLBitmapFromXBitmap()
H A Ddx_canvas.cxx74 explicit GraphicsProviderImpl( Gdiplus::Graphics* pGraphics ) : mpGraphics( pGraphics ) {} in GraphicsProviderImpl()
117 Gdiplus::Graphics::FromHDC(pSysData->hDC)))); in initialize()
190 Gdiplus::Bitmap::FromHBITMAP( in initialize()
H A Ddx_textlayout.cxx223 inline Gdiplus::PointF gdiPlusPointFromDx( const double& dx ) in gdiPlusPointFromDx()
225 return Gdiplus::PointF( static_cast<Gdiplus::REAL>(dx), in gdiPlusPointFromDx()
H A Ddx_vcltools.hxx38 namespace Gdiplus { class Graphics; } namespace
54 bool drawVCLBitmapFromXBitmap( const ::boost::shared_ptr< Gdiplus::Graphics >& rGraphics,
H A Ddx_linepolypolygon.cxx51 Gdiplus::FillModeAlternate : Gdiplus::FillModeWinding ); in getGraphicsPath()
H A Ddx_textlayout_drawhelper.hxx40 namespace Gdiplus { class Graphics; } namespace
53 void drawText( const boost::shared_ptr<Gdiplus::Graphics>& rGraphics,
H A Ddx_canvasfont.hxx51 typedef ::boost::shared_ptr< Gdiplus::Font > FontSharedPtr;
52 typedef ::boost::shared_ptr< Gdiplus::FontFamily > FontFamilySharedPtr;
/trunk/main/shell/source/win32/shlxthandler/thumbviewer/
H A Dthumbviewer.cxx92 Gdiplus::Point CalcSignetPosition( in CalcSignetPosition()
93 const Gdiplus::Rect& canvas, const Gdiplus::Rect& thumbnail_border, const Gdiplus::Rect& signet) in CalcSignetPosition()
114 return Gdiplus::Point(x,y); in CalcSignetPosition()
415 Gdiplus::Graphics graphics(memDC); in Extract()
416 Gdiplus::Pen grayPen(Gdiplus::Color(255, 127, 127, 127), 1); in Extract()
418 Gdiplus::SolidBrush whiteBrush(Gdiplus::Color(255, 255, 255, 255)); in Extract()
441 Gdiplus::Rect signet_scaled( in Extract()
449 Gdiplus::UnitPixel); in Extract()
452 if (stat == Gdiplus::Ok) in Extract()
519 Gdiplus::Rect CThumbviewer::CalcScaledAspectRatio(Gdiplus::Rect src, Gdiplus::Rect dest) in CalcScaledAspectRatio()
[all …]
/trunk/main/shell/inc/internal/
H A Dthumbviewer.hxx103 Gdiplus::Rect CalcScaledAspectRatio(Gdiplus::Rect src, Gdiplus::Rect dest);
111 Gdiplus::Bitmap* signet_;
/trunk/main/vcl/inc/win/
H A Dsalbmp.h40 namespace Gdiplus { class Bitmap; } namespace
41 typedef boost::shared_ptr< Gdiplus::Bitmap > GdiPlusBmpPtr;
65 Gdiplus::Bitmap* ImplCreateGdiPlusBitmap(const WinSalBitmap& rAlphaSource);
66 Gdiplus::Bitmap* ImplCreateGdiPlusBitmap();

Completed in 74 milliseconds

12