• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/carbon/

Lines Matching refs:brush

528 wxMacCoreGraphicsColour::wxMacCoreGraphicsColour( const wxBrush &brush )
531 if ( brush.GetStyle() == wxSOLID )
533 if ( brush.MacGetBrushKind() == kwxMacBrushTheme )
539 HIThemeBrushCreateCGColor( brush.MacGetTheme(), &color );
545 if( brush.MacGetTheme() == kThemeBrushDialogBackgroundActive )
559 GetThemeBrushAsColor( brush.MacGetTheme(), 32, true, &color );
568 CGFloat components[4] = { brush.GetColour().Red() / 255.0 , brush.GetColour().Green() / 255.0 ,
569 brush.GetColour().Blue() / 255.0 , brush.GetColour().Alpha() / 255.0 } ;
573 else if ( brush.IsHatch() )
577 m_pattern.Set( *( new HatchPattern( brush.GetStyle() , CGAffineTransformMakeScale( 1,-1 ) ) ) );
580 m_patternColorComponents[0] = brush.GetColour().Red() / 255.0;
581 m_patternColorComponents[1] = brush.GetColour().Green() / 255.0;
582 m_patternColorComponents[2] = brush.GetColour().Blue() / 255.0;
583 m_patternColorComponents[3] = brush.GetColour().Alpha() / 255.0;
587 // now brush is a bitmap
588 wxBitmap* bmp = brush.GetStipple();
604 wxMacCoreGraphicsBrushData( wxGraphicsRenderer* renderer, const wxBrush &brush );
649 wxMacCoreGraphicsBrushData::wxMacCoreGraphicsBrushData(wxGraphicsRenderer* renderer, const wxBrush &brush) : wxGraphicsObjectRefData( renderer ),
650 m_cgColor( brush )
1272 // fills a path with the current brush
1579 // when using shading, we cannot draw pen and brush at the same time
1731 // set the brush, which is used when the bitmap's depth == 1
2147 virtual wxGraphicsBrush CreateBrush(const wxBrush& brush ) ;
2149 // sets the brush to a linear gradient, starting at (x1,y1) with color c1 to (x2,y2) with color c2
2153 // sets the brush to a radial gradient originating at (xo,yc) with color oColor and ends on a circle around (xc,yc)
2249 wxGraphicsBrush wxMacCoreGraphicsRenderer::CreateBrush(const wxBrush& brush )
2251 if ( !brush.Ok() || brush.GetStyle() == wxTRANSPARENT )
2256 p.SetRefData(new wxMacCoreGraphicsBrushData( this, brush ));
2261 // sets the brush to a linear gradient, starting at (x1,y1) with color c1 to (x2,y2) with color c2
2272 // sets the brush to a radial gradient originating at (xo,yc) with color oColor and ends on a circle around (xc,yc)