Package | Description |
---|---|
org.eclipse.swt.custom | |
org.eclipse.swt.events | |
org.eclipse.swt.graphics | |
org.eclipse.swt.internal | |
org.eclipse.swt.internal.theme | |
org.eclipse.swt.widgets |
Modifier and Type | Field and Description |
---|---|
GC |
PaintObjectEvent.gc
the GC
|
Modifier and Type | Method and 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 specified
part of the CTabFolder using the provided bounds and GC . |
protected String |
CLabel.shortenText(GC gc,
String t,
int width)
Shorten the given text
t so that its length doesn't exceed
the given width. |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static GC |
GC.win32_new(Drawable drawable,
GCData data)
Invokes platform specific functionality to allocate a new graphics context.
|
static GC |
GC.win32_new(long hDC,
GCData data)
Invokes platform specific functionality to wrap a graphics context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Path.contains(float x,
float y,
GC gc,
boolean outline)
Returns
true 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
BidiUtil.drawGlyphs(GC gc,
char[] renderBuffer,
int[] renderDx,
int x,
int y)
Wraps the ExtTextOut function.
|
static int |
BidiUtil.getFontBidiAttributes(GC gc)
Return bidi attribute information for the font in the specified gc.
|
static void |
BidiUtil.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.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Theme.computeTrim(GC gc,
DrawData data) |
void |
Theme.drawBackground(GC gc,
Rectangle bounds,
DrawData data) |
void |
Theme.drawFocus(GC gc,
Rectangle bounds,
DrawData data) |
void |
Theme.drawImage(GC gc,
Rectangle bounds,
DrawData data,
Image image,
int flags) |
void |
Theme.drawText(GC gc,
Rectangle bounds,
DrawData data,
String text,
int flags) |
Rectangle |
Theme.measureText(GC gc,
Rectangle bounds,
DrawData data,
String text,
int flags) |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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 |
Shell.print(GC gc) |
boolean |
Control.print(GC gc)
Prints the receiver and all children.
|
Copyright © 2017. All Rights Reserved.