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

Lines Matching refs:m_graphicContext

65     delete m_graphicContext;
66 m_graphicContext = ctx;
67 if ( m_graphicContext )
69 m_matrixOriginal = m_graphicContext->GetTransform();
73 m_graphicContext->SetFont( m_font , m_textForegroundColour );
74 m_graphicContext->SetPen( m_pen );
75 m_graphicContext->SetBrush( m_brush);
112 m_graphicContext = NULL;
119 delete m_graphicContext;
129 m_graphicContext->SetPen(*wxTRANSPARENT_PEN);
130 m_graphicContext->SetBrush( wxBrush( m_textBackgroundColour , wxSOLID ) );
131 m_graphicContext->DrawRectangle( x , y , bmp.GetWidth() , bmp.GetHeight() );
132 m_graphicContext->SetBrush( wxBrush( m_textForegroundColour , wxSOLID ) );
133 m_graphicContext->DrawBitmap( bmp, x , y , bmp.GetWidth() , bmp.GetHeight() );
134 m_graphicContext->SetBrush( m_graphicContext->CreateBrush(m_brush));
135 m_graphicContext->SetPen( m_graphicContext->CreatePen(m_pen));
138 m_graphicContext->DrawBitmap( bmp, x , y , bmp.GetWidth() , bmp.GetHeight() );
149 m_graphicContext->DrawIcon( icon , x, y, w, h );
172 CGContextFlush( (CGContextRef) m_graphicContext->GetNativeContext() );
180 m_graphicContext->Clip( x, y, w, h );
216 m_graphicContext->Clip( logRegion );
237 m_graphicContext->ResetClip();
242 m_graphicContext->Clip( DeviceToLogicalX(0) , DeviceToLogicalY(0) , DeviceToLogicalXRel(width), DeviceToLogicalYRel(height) );
244 m_graphicContext->SetPen( m_pen );
245 m_graphicContext->SetBrush( m_brush );
268 m_graphicContext->SetFont( m_font, m_textForegroundColour );
361 if ( m_graphicContext )
363 m_matrixCurrent = m_graphicContext->CreateMatrix();
369 m_graphicContext->SetTransform( m_matrixOriginal );
370 m_graphicContext->ConcatTransform( m_matrixCurrent );
387 if ( m_graphicContext )
392 m_graphicContext->SetFont( f, m_textForegroundColour );
402 if ( m_graphicContext )
404 m_graphicContext->SetPen( m_pen );
414 if ( m_graphicContext )
416 m_graphicContext->SetBrush( m_brush );
436 if ( m_graphicContext->SetLogicalFunction( function ) )
461 m_graphicContext->StrokeLine(x1,y1,x2,y2);
478 m_graphicContext->StrokeLine(0,y,w,y);
479 m_graphicContext->StrokeLine(x,0,x,h);
520 wxGraphicsPath path = m_graphicContext->CreatePath();
528 m_graphicContext->DrawPath(path);
539 m_graphicContext->PushState();
540 m_graphicContext->Translate(x+w/2.0,y+h/2.0);
542 m_graphicContext->Scale( factor , 1.0);
548 wxGraphicsPath path = m_graphicContext->CreatePath();
552 m_graphicContext->FillPath( path );
554 path = m_graphicContext->CreatePath();
556 m_graphicContext->StrokePath( path );
560 wxGraphicsPath path = m_graphicContext->CreatePath();
562 m_graphicContext->DrawPath( path );
565 m_graphicContext->PopState();
590 m_graphicContext->StrokeLines( n , pointsD);
602 wxGraphicsPath path = m_graphicContext->CreatePath();
649 m_graphicContext->StrokePath( path );
677 m_graphicContext->DrawLines( n+(closeIt?1:0) , pointsD, fillStyle);
689 wxGraphicsPath path = m_graphicContext->CreatePath();
707 m_graphicContext->DrawPath( path , fillStyle);
721 if ( m_graphicContext->ShouldOffset() )
728 m_graphicContext->DrawRectangle(x,y,w,h);
747 if ( m_graphicContext->ShouldOffset() )
754 m_graphicContext->DrawRoundedRectangle( x,y,w,h,radius);
764 if ( m_graphicContext->ShouldOffset() )
771 m_graphicContext->DrawEllipse(x,y,w,h);
789 else if ( !m_graphicContext->SetLogicalFunction( logical_func ) )
821 m_graphicContext->DrawBitmap( blit, xdest, ydest,
832 m_graphicContext->SetLogicalFunction( m_logicalFunction );
848 m_graphicContext->DrawText( str, x ,y , DegToRad(angle ));
850 m_graphicContext->DrawText( str, x ,y , DegToRad(angle ), m_graphicContext->CreateBrush( wxBrush(m_textBackgroundColour,wxSOLID) ) );
864 m_graphicContext->DrawText( str, x ,y);
866 m_graphicContext->DrawText( str, x ,y , m_graphicContext->CreateBrush( wxBrush(m_textBackgroundColour,wxSOLID) ) );
884 m_graphicContext->SetFont( *theFont, m_textForegroundColour );
889 m_graphicContext->GetTextExtent( str, &w, &h, &d, &e );
902 m_graphicContext->SetFont( m_font, m_textForegroundColour );
916 m_graphicContext->GetPartialTextExtents( text, widthsD );
943 m_graphicContext->SetBrush( m_backgroundBrush );
945 m_graphicContext->SetPen( p );
947 m_graphicContext->SetPen( m_pen );
948 m_graphicContext->SetBrush( m_brush );
993 m_graphicContext->SetBrush( m_graphicContext->CreateLinearGradientBrush(
995 m_graphicContext->SetPen(*wxTRANSPARENT_PEN);
996 m_graphicContext->DrawRectangle(rect.x,rect.y,rect.width,rect.height);
997 m_graphicContext->SetPen(m_pen);
1015 m_graphicContext->SetPen(*wxTRANSPARENT_PEN);
1016 m_graphicContext->SetBrush( wxBrush( destColour) );
1017 m_graphicContext->DrawRectangle(rect.x,rect.y,rect.width,rect.height);
1019 m_graphicContext->SetBrush( m_graphicContext->CreateRadialGradientBrush(
1024 m_graphicContext->DrawRectangle(rect.x,rect.y,rect.width,rect.height);
1025 m_graphicContext->SetPen(m_pen);