this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
/** * 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 ] ); }
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
/** * 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]); }
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);