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

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

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

GC.identity介绍

暂无

代码示例

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

initCairo();
long /*int*/ cairo = data.cairo;
Cairo.cairo_set_matrix(cairo, identity());

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

initCairo();
int /*long*/ cairo = data.cairo;
Cairo.cairo_set_matrix(cairo, identity());

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

initCairo();
int /*long*/ cairo = data.cairo;
Cairo.cairo_set_matrix(cairo, identity());

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

initCairo();
int /*long*/ cairo = data.cairo;
double[] identity = identity();
if (transform != null) {
  Cairo.cairo_matrix_multiply(identity, transform.handle, identity);

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

initCairo();
long /*int*/ cairo = data.cairo;
double[] identity = identity();
if (transform != null) {
  Cairo.cairo_matrix_multiply(identity, transform.handle, identity);

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

initCairo();
int /*long*/ cairo = data.cairo;
double[] identity = identity();
if (transform != null) {
  Cairo.cairo_matrix_multiply(identity, transform.handle, identity);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

if (data.gdipGraphics == 0 && transform == null) return;
initGdip();
int /*long*/ identity = identity();
if (transform != null) {
   Gdip.Matrix_Multiply(identity, transform.handle, Gdip.MatrixOrderPrepend);

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

if (cairo != 0) {
  Cairo.cairo_get_matrix(cairo, transform.handle);
  double[] identity = identity();
  Cairo.cairo_matrix_invert(identity);
  Cairo.cairo_matrix_multiply(transform.handle, transform.handle, identity);

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

if (cairo != 0) {
  Cairo.cairo_get_matrix(cairo, transform.handle);
  double[] identity = identity();
  Cairo.cairo_matrix_invert(identity);
  Cairo.cairo_matrix_multiply(transform.handle, transform.handle, identity);

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

if (cairo != 0) {
  Cairo.cairo_get_matrix(cairo, transform.handle);
  double[] identity = identity();
  Cairo.cairo_matrix_invert(identity);
  Cairo.cairo_matrix_multiply(transform.handle, transform.handle, identity);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

if (gdipGraphics != 0) {
  Gdip.Graphics_GetTransform(gdipGraphics, transform.handle);
  int /*long*/ identity = identity();
  Gdip.Matrix_Invert(identity);
  Gdip.Matrix_Multiply(transform.handle, identity, Gdip.MatrixOrderAppend);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

Gdip.Graphics_SetPixelOffsetMode(gdipGraphics, Gdip.PixelOffsetModeHalf);
if ((data.style & SWT.MIRRORED) != 0) {
  int /*long*/ matrix = identity();
  Gdip.Graphics_SetTransform(gdipGraphics, matrix);
  Gdip.Matrix_delete(matrix);

相关文章

GC类方法