Uses of Class
org.eclipse.swt.graphics.GC
Packages that use GC
Package
Description
-
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. -
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) static intBidiUtil.getFontBidiAttributes(GC gc) static voidBidiUtil.getOrderInfo(GC gc, String text, int[] order, byte[] classBuffer, int flags, int[] offsets) static char[]BidiUtil.getRenderInfo(GC gc, String text, int[] order, byte[] classBuffer, int[] dx, int flags, int[] offsets) -
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