Lines Matching refs:Gdiplus
61 typedef ::boost::shared_ptr< Gdiplus::PathGradientBrush > PathGradientBrushSharedPtr;
65 const std::vector< Gdiplus::Color >& rColors, in fillLinearGradient()
66 const std::vector< Gdiplus::REAL >& rStops, in fillLinearGradient()
73 Gdiplus::LinearGradientBrush aBrush( in fillLinearGradient()
74 Gdiplus::PointF(0.0f, in fillLinearGradient()
76 Gdiplus::PointF(1.0f, in fillLinearGradient()
87 Gdiplus::SolidBrush aBackgroundBrush( rColors[0] ); in fillLinearGradient()
110 Gdiplus::RectF aBounds; in fillLinearGradient()
142 Gdiplus::GraphicsPath aSolidFillPath; in fillLinearGradient()
143 aSolidFillPath.AddLine( static_cast<Gdiplus::REAL>(aHalfPlaneLeftTop.getX()), in fillLinearGradient()
144 static_cast<Gdiplus::REAL>(aHalfPlaneLeftTop.getY()), in fillLinearGradient()
145 static_cast<Gdiplus::REAL>(aHalfPlaneRightTop.getX()), in fillLinearGradient()
146 static_cast<Gdiplus::REAL>(aHalfPlaneRightTop.getY()) ); in fillLinearGradient()
147 aSolidFillPath.AddLine( static_cast<Gdiplus::REAL>(aHalfPlaneRightBottom.getX()), in fillLinearGradient()
148 static_cast<Gdiplus::REAL>(aHalfPlaneRightBottom.getY()), in fillLinearGradient()
149 static_cast<Gdiplus::REAL>(aHalfPlaneLeftBottom.getX()), in fillLinearGradient()
150 static_cast<Gdiplus::REAL>(aHalfPlaneLeftBottom.getY()) ); in fillLinearGradient()
155 if( Gdiplus::Ok != rGraphics->SetClip( rFillPath.get(), in fillLinearGradient()
156 Gdiplus::CombineModeIntersect ) ) in fillLinearGradient()
161 Gdiplus::SolidBrush aBackgroundBrush2( rColors.back() ); in fillLinearGradient()
167 Gdiplus::GraphicsPath aClipPath; in fillLinearGradient()
168 aClipPath.AddLine( static_cast<Gdiplus::REAL>(aLeftTop.getX()), in fillLinearGradient()
169 static_cast<Gdiplus::REAL>(aLeftTop.getY()), in fillLinearGradient()
170 static_cast<Gdiplus::REAL>(aRightTop.getX()), in fillLinearGradient()
171 static_cast<Gdiplus::REAL>(aRightTop.getY()) ); in fillLinearGradient()
172 aClipPath.AddLine( static_cast<Gdiplus::REAL>(aRightBottom.getX()), in fillLinearGradient()
173 static_cast<Gdiplus::REAL>(aRightBottom.getY()), in fillLinearGradient()
174 static_cast<Gdiplus::REAL>(aLeftBottom.getX()), in fillLinearGradient()
175 static_cast<Gdiplus::REAL>(aLeftBottom.getY()) ); in fillLinearGradient()
180 if( Gdiplus::Ok != rGraphics->SetClip( &aClipPath, in fillLinearGradient()
181 Gdiplus::CombineModeIntersect ) ) in fillLinearGradient()
187 Gdiplus::Matrix aMatrix; in fillLinearGradient()
197 int numColorSteps( const Gdiplus::Color& rColor1, const Gdiplus::Color& rColor2 ) in numColorSteps()
207 const std::vector< Gdiplus::Color >& rColors, in fillPolygonalGradient()
208 const std::vector< Gdiplus::REAL >& rStops, in fillPolygonalGradient()
223 Gdiplus::SolidBrush aBackgroundBrush( rColors[0] ); in fillPolygonalGradient()
226 Gdiplus::Matrix aMatrix; in fillPolygonalGradient()
247 if( Gdiplus::Ok != rGraphics->SetClip( pFillPath.get(), in fillPolygonalGradient()
248 Gdiplus::CombineModeIntersect ) ) in fillPolygonalGradient()
254 const Gdiplus::SmoothingMode eOldAAMode( rGraphics->GetSmoothingMode() ); in fillPolygonalGradient()
255 rGraphics->SetSmoothingMode( Gdiplus::SmoothingModeHighSpeed ); in fillPolygonalGradient()
329 Gdiplus::GraphicsPath aCurrPath; in fillPolygonalGradient()
330 Gdiplus::SolidBrush aFillBrush( rColors[0] ); in fillPolygonalGradient()
340 const Gdiplus::Color aFillColor( in fillPolygonalGradient()
355 Gdiplus::REAL(fT*rInnerPoint1.getX() + (1-fT)*rOuterPoint1.getX()), in fillPolygonalGradient()
356 Gdiplus::REAL(fT*rInnerPoint1.getY() + (1-fT)*rOuterPoint1.getY()), in fillPolygonalGradient()
357 Gdiplus::REAL(fT*rInnerPoint2.getX() + (1-fT)*rOuterPoint2.getX()), in fillPolygonalGradient()
358 Gdiplus::REAL(fT*rInnerPoint2.getY() + (1-fT)*rOuterPoint2.getY())); in fillPolygonalGradient()
390 new Gdiplus::PathGradientBrush( pGradientPath.get() ) ); in fillPolygonalGradient()
399 Gdiplus::PointF aCenterPoint(0, 0); in fillPolygonalGradient()
407 pGradientBrush->SetWrapMode( Gdiplus::WrapModeTile ); in fillPolygonalGradient()
413 pGradientBrush->SetWrapMode( Gdiplus::WrapModeClamp ); in fillPolygonalGradient()
421 Gdiplus::Pen aPen( Gdiplus::Color( 255, 255, 0, 0 ), in fillPolygonalGradient()
425 Gdiplus::RectF( 0.0f, 0.0f, in fillPolygonalGradient()
433 const std::vector< Gdiplus::Color >& rColors, in fillGradient()
434 const std::vector< Gdiplus::REAL >& rStops, in fillGradient()
504 new Gdiplus::TextureBrush( in fillBitmap()
506 bClamp ? Gdiplus::WrapModeClamp : Gdiplus::WrapModeTile ) ); in fillBitmap()
510 Gdiplus::ImageAttributes aImgAttr; in fillBitmap()
518 Gdiplus::Rect aRect(0,0, in fillBitmap()
522 new Gdiplus::TextureBrush( in fillBitmap()
528 bClamp ? Gdiplus::WrapModeClamp : Gdiplus::WrapModeTile ); in fillBitmap()
531 Gdiplus::Matrix aTextureTransform; in fillBitmap()
538 pBrush->ScaleTransform( static_cast< Gdiplus::REAL >(1.0/aBmpSize.Width), in fillBitmap()
539 static_cast< Gdiplus::REAL >(1.0/aBmpSize.Height) ); in fillBitmap()
543 Gdiplus::Ok == rGraphics->FillPath( pBrush.get(), in fillBitmap()
584 std::vector< Gdiplus::Color > aColors(rValues.maColors.getLength()); in fillTexturedPolyPolygon()
589 (Gdiplus::ARGB (*)( const uno::Sequence< double >& ))( in fillTexturedPolyPolygon()
592 std::vector< Gdiplus::REAL > aStops; in fillTexturedPolyPolygon()