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 Point
CTabFolderRenderer.computeSize
(int part, int state, GC gc, int wHint, int hHint) Returns the preferred size of a part.protected void
Draw a specifiedpart
of the CTabFolder using the providedbounds
andGC
.protected String
CLabel.shortenText
(GC gc, String t, int width) Shorten the given textt
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 -
Uses of GC in org.eclipse.swt.graphics
Methods in org.eclipse.swt.graphics that return GCModifier and TypeMethodDescriptionstatic GC
Invokes platform specific functionality to wrap a graphics context.static GC
Invokes platform specific functionality to allocate a new graphics context.Methods in org.eclipse.swt.graphics with parameters of type GCModifier and TypeMethodDescriptionboolean
Returnstrue
if the specified point is contained by the receiver and false otherwise.void
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.void
TextLayout.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 void
BidiUtil.drawGlyphs
(GC gc, char[] renderBuffer, int[] renderDx, int x, int y) static int
BidiUtil.getFontBidiAttributes
(GC gc) static void
BidiUtil.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.gc
the 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 TypeMethodDescriptionvoid
Canvas.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.void
Composite.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.boolean
Prints the receiver and all children.boolean