Граф коммитов

156 Коммитов

Автор SHA1 Сообщение Дата
Lluis Sanchez 4c2b08d5b9 Add method for scaling the size of a font 2012-10-08 22:30:29 +02:00
Lluis Sanchez b91c1e23c2 Add support for pixel Font sizes 2012-10-08 21:04:42 +02:00
Jeffrey Stedfast 80a4327fd6 Added a RadialGradient 2012-10-03 16:37:11 -04:00
Alex Corrado 0643cb795a [Xwt.Drawing] Add ArcNegative method to Context and fix Wpf and Mac implementations of Arc
Previously, the Mac backend would always draw arcs counterclockwise, and the Wpf implementation
could as well, depending on the angle arguments passed. This commit fixes Arc to draw clockwise
on all platforms and adds a new method, ArcNegative, for drawing counterclockwise arcs.
2012-09-28 15:52:37 -04:00
Lluis Sanchez Gual c5e13bfec9 On master: Multi toolkit changes 2012-09-27 17:39:48 +02:00
Alan McGovern e46262a475 Revert "Remove staticness from WidgetRegistry."
This reverts commit 4fbaff92dc.
2012-08-01 14:31:01 -04:00
Jeremie Laval 4fbaff92dc Remove staticness from WidgetRegistry.
This allow to have different registry instance for different toolkit and to use them at the same time. The staticness is still present through a static property in WidgetRegistry giving the "main" registry.
2012-07-26 16:41:53 +01:00
Lluis Sanchez 9d27735276 [ImageBuilder] Don't access managed objects in the finalizer 2012-05-16 16:35:51 +02:00
Lluis Sanchez 95f89f810b Make Image implement IDisposable 2012-05-14 16:45:36 +02:00
Lluis Sanchez 298ea6de7c Fix HSL conversions 2012-04-16 17:10:02 +02:00
Lluis Sanchez 28d9d6e063 [Image] Added GetPixel and SetPixel 2012-04-16 17:09:27 +02:00
Lluis Sanchez 4fec8793a0 Merge pull request #97 from luiscubal/master
Implemented partial image rendering (drawImage with srcRect argument)
2012-04-12 07:30:51 -07:00
ermau 357b547429 Correct Height spelling 2012-04-09 12:53:04 -04:00
Luis Reis 9a960e399d Added new feature: partial image drawing(see issue #95)
Currently only implemented in WPF.
2012-04-05 01:15:14 +01:00
Lluis Sanchez 5ad79011f6 Seal some classes 2012-04-04 01:46:34 +02:00
Lluis Sanchez 40e9a6e981 Merge pull request #88 from hwthomas/master
[API] TransformPoint/Distance additions to Drawing Context
2012-04-03 00:55:34 -07:00
lytico ede9cb49db typo in Xwt.Drawing.TextLayout 2012-03-29 03:51:31 +02:00
lytico 871b538e1d added TextLayout.Height,Trimming 2012-03-29 03:44:04 +02:00
lytico c1f47d09c8 Some fixes in Drawing 2012-03-27 21:45:49 +02:00
hywel 4524a13204 [API] Addition of TransformPoint/TransformDistance to Drawing API
Proposed in Issue #76. This is an initial implementation, with
a visual test added to the Samples/DrawingTransforms example.
Mac Backend is currently NotImplemented.
2012-03-27 11:52:57 +01:00
Lluis Sanchez 5b6f0091e4 When creating a text layout from a canvas use the canvas font by default 2012-03-23 12:38:42 +01:00
lytico 46fb7456d4 Merge branch 'master' into DrawingExamples 2012-03-23 01:14:19 +01:00
lytico e011cce6bd DrawingExamples extended and splitted into seperate Widgets 2012-03-23 01:07:10 +01:00
lytico 3ce4643025 added Context.Scale 2012-03-22 19:43:31 +01:00
Lluis Sanchez 9dc34ba9cd Merge pull request #72 from lytico/ContextDocs
added some docs to context
2012-03-21 20:06:38 -07:00
lytico f18f77ac5d added some docs to context 2012-03-22 03:11:23 +01:00
Lluis Sanchez f3bf93e29c Allow creating a TextLayout for a canvas
Removed the default constructor of TextLayout.
A TextLayout can now be created either for a
Canvas or for a drawing context.
2012-03-22 03:04:19 +01:00
Lluis Sanchez 50e78bd4d4 Removed Black/White color constants, since we already have them in Colors class 2012-03-22 02:57:57 +01:00
Lluis Sanchez 33a360bb7d Implement color selector dialog 2012-03-21 10:18:25 +01:00
Lluis Sanchez 571e0c1176 Add GlobalAlpha property to Context 2012-03-20 18:38:33 +01:00
Lluis Sanchez f3f07de726 Simplified drawing context creation
There isn't anymore a method for creating canvas context.
The context is created by the canvas backend and
provided as a parameter in the OnDraw method.
The CreateContext in Widget has been removed.

Also, TextLayout doesn't need a context anymore.
2012-03-09 09:52:24 +01:00
lytico 101f1c30a0 colors in Colors changed to readonly 2012-03-08 14:23:48 +01:00
lytico 35907acf4d Colors changed to static class 2012-03-08 14:22:08 +01:00
lytico 8846a50583 added Colors 2012-03-08 13:22:26 +01:00
Lluis Sanchez 80c5a31ebc Fixes in blend color 2012-03-02 13:51:47 +01:00
Lluis Sanchez cd245e6b10 Added equality operators to Color. 2012-02-24 02:06:27 +01:00
Hywel Thomas a9e14ddb51 Added ResetTransform method to Context 2012-02-23 12:16:21 +01:00
Lluis Sanchez Gual 385f3f776d Added null check. 2012-02-04 14:20:52 +01:00
Lluis Sanchez 16323e309c Ongoing work in the mac backend 2012-02-02 09:32:16 +01:00
Lluis Sanchez abcaefed1f Added ImagePattern 2012-01-27 17:01:16 +01:00
Lluis Sanchez 93de52ea50 Added method for drawing scaled images 2012-01-27 17:00:59 +01:00
Lluis Sanchez 48451ad44c Implemented ImageBuilder. 2012-01-27 01:56:45 +01:00
Lluis Sanchez c00f17b699 Add support for line dashes 2012-01-26 12:14:56 +01:00
Lluis Sanchez 9f792bf83a Add TryParse method for parsing Colors. 2012-01-13 21:32:35 +01:00
Lluis Sanchez aad1e09ffe Ongoing work
Implemented Frame, HSeparator, VSeparator
2011-12-16 19:02:57 +01:00
Lluis Sanchez e2f1840cd4 Ongoing work
Add support for background color
Add support for replacing gtk widgets when changing a
property requires a new widget instance
Optimized layout allocation
2011-12-16 00:02:34 +01:00
Lluis Sanchez Gual 65af6ea089 Improved Font support. Added checkbox. 2011-12-15 18:19:54 +01:00
Lluis Sanchez 6f929d4b9e Drag&drop fixes 2011-11-22 13:39:28 +01:00
Lluis Sanchez 997571ea93 Added new helper methods. 2011-11-09 18:22:07 +01:00
Lluis Sanchez 505a16e65b TextLayout improvements 2011-11-09 18:21:36 +01:00
Lluis Sanchez 2035f1098e Added some helper methods 2011-11-08 14:25:59 +01:00
Lluis Sanchez 14de1a816e Ongoing work 2011-11-07 22:35:45 +01:00
Lluis Sanchez 66a97f3fae Add support for rotate and translate transforms 2011-11-04 03:07:26 +01:00
Lluis Sanchez de1a84419b Ongoing work
Add support for stock icons.
Add support for icons in buttons and button styles.
2011-11-03 23:01:18 +01:00
Lluis Sanchez c40c9de10b Ongoing work 2011-11-03 19:08:31 +01:00
Lluis Sanchez e0add32f9a Initial commit 2011-10-26 13:56:14 +02:00