本文整理了Java中org.eclipse.swt.graphics.Transform.checkTransform()
方法的一些代码示例,展示了Transform.checkTransform()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Transform.checkTransform()
方法的具体详情如下:
包路径:org.eclipse.swt.graphics.Transform
类名称:Transform
方法名:checkTransform
暂无
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.rwt
/**
* Constructs a new Transform given an array of elements that represent the matrix that describes
* the transformation.
* <p>
* This operation requires the operating system's advanced graphics subsystem which may not be
* available on some platforms.
* </p>
*
* @param device the device on which to allocate the Transform
* @param elements an array of floats that describe the transformation matrix
* @exception IllegalArgumentException
* <ul>
* <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device, or the
* elements array is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the elements array is too small to hold the matrix
* values</li>
* </ul>
* @see #dispose()
*/
public Transform( Device device, float[] elements ) {
this( device,
checkTransform( elements )[ 0 ],
elements[ 1 ],
elements[ 2 ],
elements[ 3 ],
elements[ 4 ],
elements[ 5 ] );
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
/**
* Constructs a new Transform given an array of elements that represent the
* matrix that describes the transformation.
* <p>
* This operation requires the operating system's advanced
* graphics subsystem which may not be available on some
* platforms.
* </p>
*
* @param device the device on which to allocate the Transform
* @param elements an array of floats that describe the transformation matrix
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device, or the elements array is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the elements array is too small to hold the matrix values</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_NO_GRAPHICS_LIBRARY - if advanced graphics are not available</li>
* </ul>
* @exception SWTError <ul>
* <li>ERROR_NO_HANDLES if a handle for the Transform could not be obtained</li>
* </ul>
*
* @see #dispose()
*/
public Transform(Device device, float[] elements) {
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
内容来源于网络,如有侵权,请联系作者删除!