Uses of Class
org.eclipse.swt.graphics.GC
Packages that use GC
Package
Description
Provides a framework for connecting document regions
with annotations and for displaying those.
This package provides the UI part for projection documents of which the most important part is the projection viewer.
SWT Custom widgets.
SWT typed listener support.
SWT graphics classes.
SWT internal classes
SWT widget public API classes.
Custom widgets and controls for forms-based parts.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of GC in org.eclipse.e4.ui.workbench.renderers.swt
Methods in org.eclipse.e4.ui.workbench.renderers.swt with parameters of type GC -
Uses of GC in org.eclipse.jface.text.codemining
Methods in org.eclipse.jface.text.codemining with parameters of type GCModifier and TypeMethodDescriptionAbstractCodeMining.draw(GC gc, StyledText textWidget, Color color, int x, int y) Draw theAbstractCodeMining.getLabel()of mining with gray color.DocumentFooterCodeMining.draw(GC gc, StyledText textWidget, Color color, int x, int y) ICodeMining.draw(GC gc, StyledText textWidget, Color color, int x, int y) Draw the code mining.LineHeaderCodeMining.draw(GC gc, StyledText textWidget, Color color, int x, int y) -
Uses of GC in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type GCModifier and TypeMethodDescriptionprotected voidDraws the vertical ruler w/o drawing the Canvas background.protected voidDraws the vertical ruler w/o drawing the Canvas background.protected voidDraws the vertical ruler w/o drawing the Canvas background.protected voidDraws 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 voidDraws an image aligned inside the given rectangle on the given canvas.static voidDraws 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.voidImplement this method to draw a graphical representation of this annotation within the given bounds.protected voidPaints the ruler representation of a single line.protected voidPaints the line. -
Uses of GC in org.eclipse.jface.text.source.inlined
Methods in org.eclipse.jface.text.source.inlined with parameters of type GCModifier and TypeMethodDescriptionvoidAbstractInlinedAnnotation.draw(GC gc, StyledText textWidget, int widgetOffset, int length, Color color, int x, int y) Draw the inlined annotation.final voidLineContentAnnotation.draw(GC gc, StyledText textWidget, int offset, int length, Color color, int x, int y) Draw the inlined annotation.protected intLineContentAnnotation.drawAndComputeWidth(GC gc, StyledText textWidget, int offset, int length, Color color, int x, int y) Draw the inlined annotation. -
Uses of GC in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection with parameters of type GC -
Uses of GC in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as GCMethods in org.eclipse.swt.custom with parameters of type GCModifier and TypeMethodDescriptionprotected PointCTabFolderRenderer.computeSize(int part, int state, GC gc, int wHint, int hHint) Returns the preferred size of a part.protected voidDraw 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 -
Uses of GC in org.eclipse.swt.graphics
Methods in org.eclipse.swt.graphics that return GCModifier and TypeMethodDescriptionstatic GCInvokes platform specific functionality to wrap a graphics context.static GCInvokes platform specific functionality to allocate a new graphics context.Methods in org.eclipse.swt.graphics with parameters of type GCModifier and TypeMethodDescriptionbooleanReturnstrueif the specified point is contained by the receiver and false otherwise.voidDraws 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.voidDraws an image on a GC for a requested zoom level.static voidImage.drawScaled(GC gc, Image original, int width, int height, float scaleFactor) IMPORTANT: This method is not part of the public API for Image. -
Uses of GC in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal with parameters of type GCModifier and TypeMethodDescriptionstatic voidBidiUtil.drawGlyphs(GC gc, char[] renderBuffer, int[] renderDx, int x, int y) Wraps the ExtTextOut function.static intBidiUtil.getFontBidiAttributes(GC gc) Return bidi attribute information for the font in the specified gc.static voidBidiUtil.getOrderInfo(GC gc, String text, int[] order, byte[] classBuffer, int flags, int[] offsets) Return bidi ordering information for the given text.static char[]BidiUtil.getRenderInfo(GC gc, String text, int[] order, byte[] classBuffer, int[] dx, int flags, int[] offsets) Return ordering and rendering information for the given text. -
Uses of GC in org.eclipse.swt.widgets
Fields in org.eclipse.swt.widgets declared as GCModifier and TypeFieldDescriptionEvent.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 GCModifier and TypeMethodDescriptionvoidCanvas.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.booleanPrints the receiver and all children.boolean -
Uses of GC in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets with parameters of type GCModifier and TypeMethodDescriptionprotected 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 voidPaints 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 GCModifier and TypeMethodDescriptionstatic voidDeprecated.static voidDeprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)voidDefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) voidvoidDeprecated.
ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)