Lines Matching refs:brush
243 wxGDIPlusBrushData( wxGraphicsRenderer* renderer, const wxBrush &brush );
543 wxGDIPlusBrushData::wxGDIPlusBrushData( wxGraphicsRenderer* renderer , const wxBrush &brush )
547 if ( brush.GetStyle() == wxSOLID)
549 m_brush = new SolidBrush( Color( brush.GetColour().Alpha() , brush.GetColour().Red() ,
550 brush.GetColour().Green() , brush.GetColour().Blue() ) );
552 else if ( brush.IsHatch() )
555 switch( brush.GetStyle() )
577 m_brush = new HatchBrush(style,Color( brush.GetColour().Alpha() , brush.GetColour().Red() ,
578 brush.GetColour().Green() , brush.GetColour().Blue() ), Color::Transparent );
582 wxBitmap* bmp = brush.GetStipple();
1441 virtual wxGraphicsBrush CreateBrush(const wxBrush& brush ) ;
1443 // sets the brush to a linear gradient, starting at (x1,y1) with color c1 to (x2,y2) with color c2
1447 // sets the brush to a radial gradient originating at (xo,yc) with color oColor and ends on a circle around (xc,yc)
1603 wxGraphicsBrush wxGDIPlusRenderer::CreateBrush(const wxBrush& brush )
1606 if ( !brush.Ok() || brush.GetStyle() == wxTRANSPARENT )
1611 p.SetRefData(new wxGDIPlusBrushData( this, brush ));
1616 // sets the brush to a linear gradient, starting at (x1,y1) with color c1 to (x2,y2) with color c2
1628 // sets the brush to a radial gradient originating at (xo,yc) with color oColor and ends on a circle around (xc,yc)