Eclipse Platform
Release 3.0

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

Packages that use GC
org.eclipse.jface.text.source Provides a support for managing annotations attached to a document. 
org.eclipse.jface.text.source.projection   
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.forms.widgets Custom widgets and controls for forms-based parts.  
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  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.
protected  void LineNumberChangeRulerColumn.paintLine(int line, int y, int lineheight, GC gc, Display display)
           
protected  void ChangeRulerColumn.paintLine(int line, int y, int lineheight, GC gc, Display display)
           
 void IAnnotationAccessExtension.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
          Draws a graphical representation of the given annotation within the given bounds.
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Draws an image aligned inside the given rectangle on the given canvas.
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Draws an image aligned inside the given rectangle on the given canvas.
protected  void LineNumberRulerColumn.paintLine(int line, int y, int lineheight, GC gc, Display display)
          Paints the line.
 void AnnotationPainter.IDrawingStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
          Draws a decoration of the given length start at the given offset in the given color onto the specified GC.
 void AnnotationPainter.SquigglesStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
           
 void AnnotationPainter.NullStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
           
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.
 void IAnnotationPresentation.paint(GC gc, Canvas canvas, Rectangle bounds)
          Implement this method to draw a graphical representation of this annotation within the given bounds.
 

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

Methods in org.eclipse.jface.text.source.projection with parameters of type GC
 void ProjectionAnnotation.paint(GC gc, Canvas canvas, Rectangle rectangle)
           
 

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.
static GC GC.win32_new(int hDC, GCData data)
          Invokes platform specific functionality to wrap a graphics context.
 

Methods in org.eclipse.swt.graphics with parameters of type GC
 void TextLayout.draw(GC gc, int x, int y)
          Draws the receiver's text using the specified GC at the specified point.
 void TextLayout.draw(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground)
          Draws the receiver's text using the specified GC at the specified point.
 

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.forms.widgets
 

Methods in org.eclipse.ui.forms.widgets with parameters of type GC
protected  void Twistie.paintHyperlink(GC gc)
           
protected abstract  void AbstractHyperlink.paintHyperlink(GC gc)
          Paints the hyperlink as a reaction to the provided paint event.
protected  void ImageHyperlink.paintHyperlink(GC gc)
           
protected  void Hyperlink.paintHyperlink(GC gc)
          Paints the hyperlink text.
protected  void Hyperlink.paintText(GC gc, Rectangle bounds)
          Paints the hyperlink text in provided bounding rectangle.
protected  void TreeNode.paintHyperlink(GC gc)
           
 

Uses of GC in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor with parameters of type GC
 void DefaultRangeIndicator.paint(GC gc, Canvas canvas, Rectangle bounds)
           
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)
 void DefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
           
 void MarkerAnnotation.paint(GC gc, Canvas canvas, Rectangle r)
          Deprecated. As of 3.0 replaced by IAnnotationAccessExtension.paint(org.eclipse.jface.text.source.Annotation, GC, Canvas, Rectangle)
 


Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.