Transform.this

Constructs a new Transform given all of the 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 m11 the first element of the first row of the matrix @param m12 the second element of the first row of the matrix @param m21 the first element of the second row of the matrix @param m22 the second element of the second row of the matrix @param dx the third element of the first row of the matrix @param dy the third element of the second row of the matrix

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</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()

  1. this(Device device)
  2. this(Device device, float[] elements)
  3. this(Device device, float m11, float m12, float m21, float m22, float dx, float dy)
    class Transform
    this
    (
    ,
    float m11
    ,
    float m12
    ,
    float m21
    ,
    float m22
    ,
    float dx
    ,
    float dy
    )

Meta