Lluis Sanchez
614a9515fa
[WPF] Get correct font size from controls
...
The font size in WPF controls is in device pixels, so they
have to be converted to points
2013-04-10 11:51:56 +02:00
Lluis Sanchez
38a32ba8c7
[WPF] Font size conversion fixes
...
In WPF, font size is based in 72 dpi, while device pixels
are 96 dpi. XWT assumes that font and pixel dpis are
the same, so we need to make a conversion.
2013-03-28 18:57:01 +01:00
Lluis Sanchez
50d96a35c8
[WPF] Implement new Font api
2013-03-28 18:42:54 +01:00
Lluis Sanchez
de2182cb2d
Merge branch 'retina'
...
Conflicts:
Xwt.WPF/Xwt.WPFBackend/FontBackendHandler.cs
Xwt.WPF/Xwt.WPFBackend/ImageHandler.cs
2013-03-27 14:18:32 +01:00
Lluis Sanchez
e905b5eef7
[WPF] Implement hi-res icon support
2013-03-25 19:38:48 +01:00
Lluis Sanchez
a8c84a6fc4
Initial work to support multi-resolution images
2013-03-22 19:39:08 +01:00
Lluis Sanchez
1fc6817a50
[WPF] Remove all pixel scaling. We are using device independent pixels now.
2013-03-21 10:48:50 +01:00
Lluis Sanchez
b9ca525287
[WPF] Try using WPF rendering api
2013-02-14 03:34:19 +01:00
Lluis Sanchez
a525df7145
Track api changes in WPF backend
2012-12-07 13:12:39 +01:00
Lluis Sanchez
261039e76d
Ongoing work on multi-toolkit support
2012-11-23 11:53:31 +01:00
Lluis Sanchez
24ea8e858e
[WPF] Fixes in font and margin handling
...
Fixes conversion of font sizes, taking into account the new FontSizeUnit
property. Implemented support for Widget.Margin.
2012-10-09 09:35:52 +02:00
Lluis Sanchez
b91c1e23c2
Add support for pixel Font sizes
2012-10-08 21:04:42 +02:00
ermau
77ab778748
[WPF] Fix font sizes
...
XWT uses points, WPF uses pixels, they need to be converted.
2012-04-02 13:30:27 -04:00
Carlos Alberto Cortez
695f267127
[WpfBackend] Initial BoxBackend impl.
...
Also make Widget.Widget be a FrameworkElement instance instead of
a Control, since we any Panel class -container- doesn't inherit
from the later.
2012-01-03 12:28:55 -06:00
Carlos Alberto Cortez
ae10540d37
[WpfBackend] Implement our FontBackendHandler.
...
Also set Widget.Font and add a DataConverter class.
2011-12-30 12:05:40 -06:00