org.eclipse.swt.graphics.GC.createLayout()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中org.eclipse.swt.graphics.GC.createLayout()方法的一些代码示例,展示了GC.createLayout()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GC.createLayout()方法的具体详情如下:
包路径:org.eclipse.swt.graphics.GC
类名称:GC
方法名:createLayout

GC.createLayout介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

try {
  int length = string.length();
  if (data.textStorage == null) createLayout();
  NSAttributedString attribStr = createString(length == 0 ? " " : string, flags, false); //$NON-NLS-1$
  data.textStorage.setAttributedString(attribStr);

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

void setString(String string, int flags) {
  if (data.layout == 0) createLayout();
  if (string == data.string && (flags & ~SWT.DRAW_TRANSPARENT) == (data.drawFlags  & ~SWT.DRAW_TRANSPARENT)) {
    return;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

void setString(String string, int flags) {
  if (data.layout == 0) createLayout();
  if (string == data.string && (flags & ~SWT.DRAW_TRANSPARENT) == (data.drawFlags  & ~SWT.DRAW_TRANSPARENT)) {
    return;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

void setString(String string, int flags) {
  if (data.layout == 0) createLayout();
  if (string == data.string && (flags & ~SWT.DRAW_TRANSPARENT) == (data.drawFlags  & ~SWT.DRAW_TRANSPARENT)) {
    return;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

int /*long*/ options = Cairo.cairo_font_options_create();
Cairo.cairo_font_options_set_antialias(options, mode);
if (data.context == 0) createLayout();
OS.pango_cairo_context_set_font_options(data.context, options);
Cairo.cairo_font_options_destroy(options);

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

int /*long*/ options = Cairo.cairo_font_options_create();
Cairo.cairo_font_options_set_antialias(options, mode);
if (data.context == 0) createLayout();
OS.pango_cairo_context_set_font_options(data.context, options);
Cairo.cairo_font_options_destroy(options);

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

long /*int*/ options = Cairo.cairo_font_options_create();
Cairo.cairo_font_options_set_antialias(options, mode);
if (data.context == 0) createLayout();
OS.pango_cairo_context_set_font_options(data.context, options);
Cairo.cairo_font_options_destroy(options);

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

NSAutoreleasePool pool = checkGC(FONT);
try {
  if (data.textStorage == null) createLayout();

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

if (data.context == 0) createLayout();
checkGC(FONT);
Font font = data.font;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

if (data.context == 0) createLayout();
checkGC(FONT);
Font font = data.font;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

if (data.context == 0) createLayout();
checkGC(FONT);
Font font = data.font;

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

if (data.textStorage == null) createLayout();
NSAttributedString attribStr = createString(string, flags, true);
data.textStorage.setAttributedString(attribStr);

相关文章

GC类方法