Lines Matching refs:Gdiplus
63 Gdiplus::LineCap gdiCapFromCap( sal_Int8 nCapType ) in gdiCapFromCap()
68 return Gdiplus::LineCapFlat; in gdiCapFromCap()
71 return Gdiplus::LineCapRound; in gdiCapFromCap()
74 return Gdiplus::LineCapSquare; in gdiCapFromCap()
81 return Gdiplus::LineCapFlat; in gdiCapFromCap()
84 Gdiplus::LineJoin gdiJoinFromJoin( sal_Int8 nJoinType ) in gdiJoinFromJoin()
93 return Gdiplus::LineJoinMiter; in gdiJoinFromJoin()
96 return Gdiplus::LineJoinRound; in gdiJoinFromJoin()
99 return Gdiplus::LineJoinBevel; in gdiJoinFromJoin()
106 return Gdiplus::LineJoinMiter; in gdiJoinFromJoin()
157 Gdiplus::Color aClearColor = Gdiplus::Color((Gdiplus::ARGB)Gdiplus::Color::White); in clear()
160 Gdiplus::Ok == pGraphics->SetCompositingMode( in clear()
161 Gdiplus::CompositingModeSourceCopy ), // force set, don't blend in clear()
164 Gdiplus::Ok == pGraphics->Clear( aClearColor ), in clear()
180 Gdiplus::SolidBrush aBrush( in drawPoint()
181 Gdiplus::Color( in drawPoint()
185 Gdiplus::Matrix aMatrix; in drawPoint()
188 Gdiplus::PointF vector(1, 1); in drawPoint()
194 Gdiplus::Ok == pGraphics->FillEllipse( &aBrush, in drawPoint()
196 Gdiplus::REAL(aPoint.X), in drawPoint()
197 Gdiplus::REAL(aPoint.Y), in drawPoint()
198 Gdiplus::REAL(vector.X), in drawPoint()
199 Gdiplus::REAL(vector.Y) ), in drawPoint()
216 Gdiplus::Pen aPen( in drawLine()
217 Gdiplus::Color( in drawLine()
219 Gdiplus::REAL(0.0) ); in drawLine()
226 const Gdiplus::PixelOffsetMode aOldMode( in drawLine()
228 pGraphics->SetPixelOffsetMode( Gdiplus::PixelOffsetModeNone ); in drawLine()
230 Gdiplus::Status hr = pGraphics->DrawLine( &aPen, in drawLine()
231 … Gdiplus::REAL(aStartPoint.X), // disambiguate call in drawLine()
232 Gdiplus::REAL(aStartPoint.Y), in drawLine()
233 Gdiplus::REAL(aEndPoint.X), in drawLine()
234 Gdiplus::REAL(aEndPoint.Y) ); in drawLine()
238 Gdiplus::Ok == hr, in drawLine()
255 Gdiplus::Pen aPen( in drawBezier()
256 Gdiplus::Color( in drawBezier()
258 Gdiplus::REAL(0.0) ); in drawBezier()
265 const Gdiplus::PixelOffsetMode aOldMode( in drawBezier()
267 pGraphics->SetPixelOffsetMode( Gdiplus::PixelOffsetModeNone ); in drawBezier()
269 Gdiplus::Status hr = pGraphics->DrawBezier( &aPen, in drawBezier()
270 … Gdiplus::REAL(aBezierSegment.Px), // disambiguate call in drawBezier()
271 Gdiplus::REAL(aBezierSegment.Py), in drawBezier()
272 Gdiplus::REAL(aBezierSegment.C1x), in drawBezier()
273 Gdiplus::REAL(aBezierSegment.C1y), in drawBezier()
274 Gdiplus::REAL(aEndPoint.X), in drawBezier()
275 Gdiplus::REAL(aEndPoint.Y), in drawBezier()
276 Gdiplus::REAL(aBezierSegment.C2x), in drawBezier()
277 Gdiplus::REAL(aBezierSegment.C2y) ); in drawBezier()
282 Gdiplus::Ok == hr, in drawBezier()
301 Gdiplus::Pen aPen( in drawPolyPolygon()
302 Gdiplus::Color( in drawPolyPolygon()
304 Gdiplus::REAL(0.0) ); in drawPolyPolygon()
311 const Gdiplus::PixelOffsetMode aOldMode( in drawPolyPolygon()
313 pGraphics->SetPixelOffsetMode( Gdiplus::PixelOffsetModeNone ); in drawPolyPolygon()
318 Gdiplus::Status hr = pGraphics->DrawPath( &aPen, pPath.get() ); in drawPolyPolygon()
323 Gdiplus::Ok == hr, in drawPolyPolygon()
350 Gdiplus::Pen aPen( in strokePolyPolygon()
351 Gdiplus::Color( in strokePolyPolygon()
353 static_cast< Gdiplus::REAL >(strokeAttributes.StrokeWidth) ); in strokePolyPolygon()
360 const Gdiplus::PixelOffsetMode aOldMode( in strokePolyPolygon()
362 pGraphics->SetPixelOffsetMode( Gdiplus::PixelOffsetModeNone ); in strokePolyPolygon()
368 aPen.SetMiterLimit( static_cast< Gdiplus::REAL >(strokeAttributes.MiterLimit) ); in strokePolyPolygon()
370 const ::std::vector< Gdiplus::REAL >& rDashArray( in strokePolyPolygon()
371 ::comphelper::sequenceToContainer< ::std::vector< Gdiplus::REAL > >( in strokePolyPolygon()
380 Gdiplus::DashCapFlat ); in strokePolyPolygon()
387 Gdiplus::Status hr = pGraphics->DrawPath( &aPen, pPath.get() ); in strokePolyPolygon()
392 Gdiplus::Ok == hr, in strokePolyPolygon()
447 Gdiplus::SolidBrush aBrush( in fillPolyPolygon()
453 ENSURE_OR_THROW( Gdiplus::Ok == pGraphics->FillPath( &aBrush, pPath.get() ), in fillPolyPolygon()
510 Gdiplus::SolidBrush aBrush( in drawText()
511 Gdiplus::Color( in drawText()
519 Gdiplus::PointF aPoint( 0.0, in drawText()
520 static_cast<Gdiplus::REAL>(-(pFont->getFont()->GetSize()* in drawText()
533 Gdiplus::Ok == pGraphics->DrawString( reinterpret_cast<LPCWSTR>( in drawText()
629 Gdiplus::Rect aRect( 0, 0, in drawBitmapModulated()
638 Gdiplus::ImageAttributes aImgAttr; in drawBitmapModulated()
646 Gdiplus::Ok == pGraphics->DrawImage( pBitmap.get(), in drawBitmapModulated()
651 Gdiplus::UnitPixel, in drawBitmapModulated()
670 Gdiplus::CompositingMode CanvasHelper::calcCompositingMode( sal_Int8 nMode ) in calcCompositingMode()
672 Gdiplus::CompositingMode aRet( Gdiplus::CompositingModeSourceOver ); in calcCompositingMode()
679 aRet = Gdiplus::CompositingModeSourceOver; in calcCompositingMode()
683 aRet = Gdiplus::CompositingModeSourceCopy; in calcCompositingMode()
708 aRet = Gdiplus::CompositingModeSourceOver; in calcCompositingMode()
740 Gdiplus::Matrix aMatrix; in setupGraphicsState()
744 Gdiplus::Ok == rGraphics->SetTransform( &aMatrix ), in setupGraphicsState()
749 Gdiplus::Ok == rGraphics->ResetClip(), in setupGraphicsState()
760 Gdiplus::Ok == rGraphics->SetClip( aClipPath.get(), in setupGraphicsState()
761 Gdiplus::CombineModeIntersect ), in setupGraphicsState()
782 Gdiplus::Ok == rGraphics->SetTransform( &aMatrix ), in setupGraphicsState()
793 Gdiplus::Ok == rGraphics->SetClip( aClipPath.get(), in setupGraphicsState()
794 Gdiplus::CombineModeIntersect ), in setupGraphicsState()
799 …const Gdiplus::CompositingMode eCompositing( calcCompositingMode( renderState.CompositeOperation )… in setupGraphicsState()
801 Gdiplus::Ok == rGraphics->SetCompositingMode( eCompositing ), in setupGraphicsState()
808 mpGraphicsProvider->getGraphics()->Flush( Gdiplus::FlushIntentionSync ); in flush()