Eclipse Platform
2.1

Uses of Class
org.eclipse.swt.graphics.GC

Packages that use GC
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.swt.custom SWT Custom widgets. 
org.eclipse.swt.events SWT typed listener support. 
org.eclipse.swt.graphics SWT graphics classes. 
org.eclipse.swt.widgets SWT widget public API classes. 
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of GC in org.eclipse.jface.text.source
 

Methods in org.eclipse.jface.text.source with parameters of type GC
protected static void Annotation.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Convenience method for drawing an image aligned inside a rectangle.
protected static void Annotation.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Convenience method for drawing an image aligned inside a rectangle.
abstract  void Annotation.paint(GC gc, Canvas canvas, Rectangle bounds)
          Implement this method to draw a graphical representation of this annotation within the given bounds.
 void ProjectionAnnotation.paint(GC gc, Canvas canvas, Rectangle rectangle)
           
protected  void AnnotationRulerColumn.doPaint(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected  void AnnotationRulerColumn.doPaint1(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected  void VerticalRuler.doPaint(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected  void VerticalRuler.doPaint1(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
 

Uses of GC in org.eclipse.swt.custom
 

Methods in org.eclipse.swt.custom with parameters of type GC
protected  String CLabel.shortenText(GC gc, String t, int width)
          Shorten the given text t so that its length doesn't exceed the given width.
 

Uses of GC in org.eclipse.swt.events
 

Fields in org.eclipse.swt.events declared as GC
 GC PaintEvent.gc
          the graphics context to use when painting that is configured to use the colors, font and damaged region of the control.
 

Uses of GC in org.eclipse.swt.graphics
 

Methods in org.eclipse.swt.graphics that return GC
static GC GC.win32_new(Drawable drawable, GCData data)
          Invokes platform specific functionality to allocate a new graphics context.
 

Uses of GC in org.eclipse.swt.widgets
 

Fields in org.eclipse.swt.widgets declared as GC
 GC Event.gc
          the graphics context to use when painting that is configured to use the colors, font and damaged region of the control.
 

Uses of GC in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor with parameters of type GC
 void MarkerAnnotation.paint(GC gc, Canvas canvas, Rectangle r)
           
 void DefaultRangeIndicator.paint(GC gc, Canvas canvas, Rectangle bounds)
           
 


Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.