Uses of Class
org.eclipse.swt.graphics.GC
-
Packages that use GC Package Description org.eclipse.swt.custom org.eclipse.swt.events org.eclipse.swt.graphics org.eclipse.swt.internal org.eclipse.swt.widgets -
-
Uses of GC in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as GC Modifier and Type Field Description GC
PaintObjectEvent. gc
the GCMethods in org.eclipse.swt.custom with parameters of type GC Modifier and Type Method Description protected Point
CTabFolderRenderer. computeSize(int part, int state, GC gc, int wHint, int hHint)
Returns the preferred size of a part.protected void
CTabFolderRenderer. draw(int part, int state, Rectangle bounds, GC gc)
Draw a specifiedpart
of the CTabFolder using the providedbounds
andGC
.protected java.lang.String
CLabel. shortenText(GC gc, java.lang.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 Modifier and Type Field Description 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 Modifier and Type Method Description static GC
GC. gtk_new(long handle, GCData data)
Invokes platform specific functionality to wrap a graphics context.static GC
GC. gtk_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 boolean
Path. contains(float x, float y, GC gc, boolean outline)
Returnstrue
if the specified point is contained by the receiver and false otherwise.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.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 GC Modifier and Type Method Description static 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, java.lang.String text, int[] order, byte[] classBuffer, int flags, int[] offsets)
static char[]
BidiUtil. getRenderInfo(GC gc, java.lang.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 GC Modifier and Type Field Description GC
Event. 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 GC Modifier and Type Method Description void
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
Control. print(GC gc)
Prints the receiver and all children.boolean
Shell. print(GC gc)
-