/****************************************************************************
**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
** $QT_END_LICENSE$
**
****************************************************************************/
property real rotate : rotateCtrl.value
smooth:true
renderTarget:Canvas.Image
- threadRendering:false
+ renderInThread:false
onLineWidthChanged:requestPaint();
onFillChanged:requestPaint();
ctx.fillStyle="green";
ctx.font = "Bold 15px";
- // ctx.fillText("QML酷毙了", 30, 60); //BUG(in Linux):can't show multiple Chinese characters correctly.
- ctx.fillText("QML酷 毙 了 !", 35, 65);
+ ctx.fillText("QML酷毙了", 30, 60);
}
}
}
}
}
-}
+}
\ No newline at end of file