Uses of Class
org.eclipse.swt.graphics.GC
Packages that use GC
Package
Description
SWT Custom widgets.
SWT typed listener support.
SWT graphics classes.
SWT internal classes
SWT widget public API classes.
-
Uses of GC in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as GCModifier and TypeFieldDescriptionprivate GCMouseNavigator.gcPaintObjectEvent.gcthe GC(package private) GCStyledText.Printing.gcMethods in org.eclipse.swt.custom with parameters of type GCModifier and TypeMethodDescription(package private) voidprotected 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.(package private) voidCTabFolderRenderer.drawBackground(GC gc, int[] shape, boolean selected) (package private) voidCTabFolderRenderer.drawBackground(GC gc, int[] shape, int x, int y, int width, int height, Color defaultBackground, Image image, Color[] colors, int[] percents, boolean vertical) (package private) voidCTabFolderRenderer.drawBackground(GC gc, Rectangle bounds, int state) private voidAnimatedProgress.drawBevelRect(GC gc, int x, int y, int w, int h, Color topleft, Color bottomright) Deprecated.private voidCLabel.drawBevelRect(GC gc, int x, int y, int w, int h, Color topleft, Color bottomright) Draw a rectangle in the given colors.(package private) void(package private) voidCTabFolderRenderer.drawBorder(GC gc, int[] shape) (package private) voidStyledTextRenderer.drawBullet(Bullet bullet, GC gc, int paintX, int paintY, int index, int lineAscent, int lineDescent) (package private) voidCTabFolderRenderer.drawChevron(GC gc, Rectangle chevronRect, int chevronImageState) private voidCTabFolderRenderer.drawChevronContent(GC gc, int x, int y, String chevronString) (package private) voidprivate voidCTabFolderRenderer.drawCloseLines(GC gc, int x, int y, int lineLength, boolean hot) (package private) voidCTabFolderRenderer.drawHighlight(GC gc, Rectangle bounds, int state, int rightEdge) (package private) voidCTabFolderRenderer.drawLeftUnselectedBorder(GC gc, Rectangle bounds, int state) private voidStyledTextRenderer.drawLineBackground(StyledTextRenderer.LineDrawInfo lineInfo, int paintY, GC gc, Color widgetBackground) private voidStyledTextRenderer.drawLineForeground(StyledTextRenderer.LineDrawInfo lineInfo, int paintX, int paintY, GC gc, Color widgetForeground) (package private) intStyledTextRenderer.drawLines(int startLine, int endLine, int begX, int begY, int endY, GC gc, Color widgetBackground, Color widgetForeground) (package private) voidCTabFolderRenderer.drawMaximize(GC gc, Rectangle maxRect, int maxImageState) (package private) voidCTabFolderRenderer.drawMinimize(GC gc, Rectangle minRect, int minImageState) (package private) voidCTabFolderRenderer.drawRightUnselectedBorder(GC gc, Rectangle bounds, int state) private voidCTabFolderRenderer.drawRoundRectangle(GC gc, Rectangle chevronRect) (package private) voidCTabFolderRenderer.drawSelected(int itemIndex, GC gc, Rectangle bounds, int state) (package private) voidCTabFolderRenderer.drawTabArea(GC gc, Rectangle bounds, int state) (package private) voidCTabFolderRenderer.drawUnselected(int index, GC gc, Rectangle bounds, int state) (package private) voidCTabFolderRenderer.fillRegion(GC gc, Region region) (package private) intCTabFolder.getLeftItemEdge(GC gc, int part) (package private) intCTabFolder.getRightItemEdge(GC gc) (package private) void(package private) voidprivate voidCLabel.paintBorder(GC gc, Rectangle r) Paint the Label's border.(package private) voidStyledText.paintObject(GC gc, int x, int y, int ascent, int descent, StyleRange style, Bullet bullet, int bulletIndex) (package private) voidAnimatedProgress.paintStripes(GC gc) Deprecated.(package private) voidStyledText.Printing.printLine(int x, int y, GC gc, Color foreground, Color background, TextLayout layout, TextLayout printLayout, int index) (package private) booleanCTabFolder.setItemLocation(GC gc) (package private) booleanCTabFolder.setItemSize(GC gc) protected StringCLabel.shortenText(GC gc, String t, int width) Shorten the given texttso that its length doesn't exceed the given width.(package private) StringCTabFolderRenderer.shortenText(GC gc, String text, int width) (package private) StringCTabFolderRenderer.shortenText(GC gc, String text, int width, String ellipses) -
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
Fields in org.eclipse.swt.graphics declared as GCModifier and TypeFieldDescription(package private) GCImage.memGCThe GC the image is currently selected in.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.static voidImage.drawAtSize(GC gc, ImageData imageData, int width, int height) IMPORTANT: This method is not part of the public API for Image.(package private) voidTextLayout.drawBorder(GC gc, int x, int y, GdkRGBA selectionColor) (package private) voidTextLayout.drawInPixels(GC gc, int x, int y) (package private) voidTextLayout.drawInPixels(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground) (package private) voidTextLayout.drawInPixels(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground, int flags) voidDraws an image on a GC for a requested zoom level.(package private) voidTextLayout.drawWithCairo(GC gc, int x, int y, int start, int end, int yExtent, boolean fullSelection, GdkRGBA fg, GdkRGBA bg) (package private) static voidImageData.fillGradientRectangle(GC gc, Device device, int x, int y, int width, int height, boolean vertical, RGB fromRGB, RGB toRGB, int redBits, int greenBits, int blueBits, int zoom) Renders a gradient onto a GC. -
Uses of GC in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal with parameters of type GCModifier and TypeMethodDescriptionvoidstatic 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 that return GCMethods 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.(package private) booleanControl.drawGripper(GC gc, int x, int y, int width, int height, boolean vertical) (package private) voidControl.drawWidget(GC gc) (package private) voidLink.drawWidget(GC gc) booleanPrints the receiver and all children.boolean(package private) voidComposite.printWidget(GC gc, long drawable, int depth, int x, int y) (package private) voidControl.printWidget(GC gc, long drawable, int depth, int x, int y) (package private) voidControl.printWindow(boolean first, Control control, GC gc, long drawable, int depth, long window, int x, int y)