Uses of Class
org.eclipse.swt.graphics.GC
-
Packages that use GC Package Description org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.text.source.projection This package provides the UI part for projection documents of which the most important part is the projection viewer.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 Modifier and Type Method Description protected voidAnnotationRulerColumn. doPaint(GC gc)Draws the vertical ruler w/o drawing the Canvas background.protected voidVerticalRuler. doPaint(GC gc)Draws the vertical ruler w/o drawing the Canvas background.protected voidAnnotationRulerColumn. doPaint1(GC gc)Draws the vertical ruler w/o drawing the Canvas background.protected voidVerticalRuler. doPaint1(GC gc)Draws the vertical ruler w/o drawing the Canvas background.voidAnnotationPainter.IDrawingStrategy. draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)Draws a decoration for an annotation onto the specified GC at the given text range.voidAnnotationPainter.NullStrategy. draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)voidAnnotationPainter.SquigglesStrategy. draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)Deprecated.static voidImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)Draws an image aligned inside the given rectangle on the given canvas.static voidImageUtilities. 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.protected voidAbstractRulerColumn. paint(GC gc, ILineRange lines)Paints the ruler.voidIAnnotationAccessExtension. paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)Draws a graphical representation of the given annotation within the given bounds.voidIAnnotationPresentation. paint(GC gc, Canvas canvas, Rectangle bounds)Implement this method to draw a graphical representation of this annotation within the given bounds.protected voidAbstractRulerColumn. paintLine(GC gc, int modelLine, int widgetLine, int linePixel, int lineHeight)Paints the ruler representation of a single line.protected voidLineNumberRulerColumn. paintLine(int line, int y, int lineheight, GC gc, Display display)Paints the line. -
Uses of GC in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection with parameters of type GC Modifier and Type Method Description voidProjectionAnnotation. paint(GC gc, Canvas canvas, Rectangle rectangle) -
Uses of GC in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as GC Modifier and Type Field Description GCPaintObjectEvent. gcthe GCMethods in org.eclipse.swt.custom with parameters of type GC Modifier and Type Method Description protected PointCTabFolderRenderer. computeSize(int part, int state, GC gc, int wHint, int hHint)Returns the preferred size of a part.protected voidCTabFolderRenderer. draw(int part, int state, Rectangle bounds, GC gc)Draw a specifiedpartof the CTabFolder using the providedboundsandGC.protected StringCLabel. shortenText(GC gc, String t, int width)Shorten the given texttso 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 Modifier and Type Field Description GCPaintEvent. gcthe 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 Modifier and Type Method Description static GCGC. win32_new(long hDC, GCData data)Invokes platform specific functionality to wrap a graphics context.static GCGC. win32_new(Drawable drawable, GCData data)Invokes platform specific functionality to allocate a new graphics context.Methods in org.eclipse.swt.graphics with parameters of type GC Modifier and Type Method Description booleanPath. contains(float x, float y, GC gc, boolean outline)Returnstrueif the specified point is contained by the receiver and false otherwise.voidTextLayout. draw(GC gc, int x, int y)Draws the receiver's text using the specified GC at the specified point.voidTextLayout. 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.voidTextLayout. draw(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground, int flags)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 Modifier and Type Field Description GCEvent. gcthe graphics context to use when painting that is configured to use the colors, font and damaged region of the control.Methods in org.eclipse.swt.widgets with parameters of type GC Modifier and Type Method Description voidCanvas. drawBackground(GC gc, int x, int y, int width, int height)Fills the interior of the rectangle specified by the arguments, with the receiver's background.voidComposite. drawBackground(GC gc, int x, int y, int width, int height, int offsetX, int offsetY)Fills the interior of the rectangle specified by the arguments, with the receiver's background.booleanControl. print(GC gc)Prints the receiver and all children.booleanShell. print(GC gc) -
Uses of GC in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets with parameters of type GC Modifier and Type Method Description protected abstract voidAbstractHyperlink. paintHyperlink(GC gc)Paints the hyperlink as a reaction to the provided paint event.protected voidHyperlink. paintHyperlink(GC gc)Paints the hyperlink text.protected voidImageHyperlink. paintHyperlink(GC gc)protected voidImageHyperlink. paintHyperlink(GC gc, Rectangle bounds)protected voidTreeNode. paintHyperlink(GC gc)protected voidTwistie. paintHyperlink(GC gc)protected voidHyperlink. paintText(GC gc, Rectangle bounds)Paints the hyperlink text in provided bounding rectangle.protected StringHyperlink. shortenText(GC gc, String t, int width) -
Uses of GC in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type GC Modifier and Type Method Description static voidImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)Deprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)static voidImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)Deprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)voidDefaultMarkerAnnotationAccess. paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)voidDefaultRangeIndicator. paint(GC gc, Canvas canvas, Rectangle bounds)voidMarkerAnnotation. paint(GC gc, Canvas canvas, Rectangle r)Deprecated.
-