Steven Kirk
65f9fe67f7
Added a set of immutable brushes.
Make `SolidColorBrush` immutable, but make the static `Brushes`
properties return immutable brushes. The immutable brushes will be
needed by the deferred renderer.
9 years ago
Steven Kirk
23e52b15ae
Merge pull request #912 from AvaloniaUI/port-drawingcontext-changes-from-scenegraph
Ported changes to DrawingContext from scenegraph
9 years ago
Steven Kirk
2d6ab3165c
Merge branch 'master' into port-drawingcontext-changes-from-scenegraph
9 years ago
Steven Kirk
f4fc6326a9
Merge pull request #915 from AvaloniaUI/size-aspect-divide
Added AspectRatio and division to Size.
9 years ago
Steven Kirk
60089bf1b6
Merge branch 'master' into size-aspect-divide
9 years ago
Steven Kirk
96c9772858
Merge pull request #913 from AvaloniaUI/rect-union
Added Rect.Union
9 years ago
Steven Kirk
9a3639818e
Merge branch 'master' into rect-union
9 years ago
Steven Kirk
aff81c66e6
Merge pull request #914 from AvaloniaUI/wm-paint-dirty-rect
Use the dirty rect from BeginPaint on WM_PAINT.
9 years ago
Steven Kirk
609c571424
Added AspectRatio and division operator to Size.
9 years ago
Steven Kirk
8c12a51902
Merge branch 'master' into port-drawingcontext-changes-from-scenegraph
9 years ago
Steven Kirk
2b87e22db4
Use the dirty rect from BeginPaint on WM_PAINT.
The one returned by `GetUpdateRect` at this point will be empty, from
the win32 docs:
> BeginPaint automatically validates the update region, so any call to
GetUpdateRect made immediately after the call to BeginPaint retrieves an
empty update region.
9 years ago
Steven Kirk
64e8896144
Added Rect.Union empty tests.
9 years ago
Steven Kirk
5546ed043f
Added Rect.Union.
9 years ago
Steven Kirk
6cc829a132
Renamed Rect.CenterIn -> CenterRect.
The previous naming suggested that the `Rect` that the method was being
called on was the one being centered.
9 years ago
Steven Kirk
4e7b743ecd
Ported changes to DrawingContext from scenegraph
Ported changes to `DrawingContext` and `DrawingContextImpl` from the
`scenegraph` branch.
9 years ago
Steven Kirk
3d8a258db3
Merge pull request #911 from AvaloniaUI/remove-rect-multiply
Remove Rect.operator*
9 years ago
Steven Kirk
c6b3440e70
Remove Rect.operator*
It was wrong - use Rect.TransformToAABB instead.
9 years ago
Steven Kirk
596722a08f
Merge pull request #910 from AvaloniaUI/brush-interfaces
Add interfaces for all brush types.
9 years ago
Steven Kirk
74a0faa637
Use brush interfaces in rendering backends.
9 years ago
Steven Kirk
f6dee9eab4
Add interfaces for all brush types.
Also:
- Change `GradientBrush.GradientStops` to be a readonly list, as changes
to it would have been ignored anyway.
- Fix typo in ImageBrush filename.
9 years ago
Steven Kirk
b953d3f9ed
Merge pull request #906 from AvaloniaUI/issue/905-event-getobservable
Added GetObservable for routed events.
9 years ago
Steven Kirk
5b6e74caae
Merge branch 'master' into issue/905-event-getobservable
9 years ago
Steven Kirk
6ad65bd434
Merge pull request #908 from AvaloniaUI/port-rendertest
Ported RenderTest from scenegraph branch
9 years ago
Steven Kirk
4a58a55565
Merge branch 'master' into issue/905-event-getobservable
9 years ago
Steven Kirk
5556e61692
Merge branch 'master' into port-rendertest
9 years ago
Steven Kirk
b16e5b9c54
Removed D2D reference from RenderTest.
Was making build fail on non-Windows
9 years ago
Steven Kirk
0a1d5caa84
Merge pull request #907 from AvaloniaUI/update-ncrunch
Moved ncrunch files to their own dir.
9 years ago
Steven Kirk
8099317f88
Ported RenderTest from scenegraph branch.
9 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
4ca0bb72b2
Added GetObservable for routed events.
Fixes #905 .
9 years ago
Nikita Tsukanov
e3d24cf11a
Merge pull request #903 from kekekeks/bitmaps
Implemented WritableBitmap and bitmap creation by copying from in-memory data
9 years ago
Nikita Tsukanov
131fa44fa1
Fixed namespaces
9 years ago
Nikita Tsukanov
67a82d0462
Reverted WIC default pixel format
9 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
9 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
9 years ago
Nikita Tsukanov
008cec2e15
Merge pull request #899 from kekekeks/toplevels
Refactored out WindowBase from TopLevel
9 years ago
Steven Kirk
4c3c01d115
Merge branch 'master' into toplevels
9 years ago
Steven Kirk
df9c50448e
Merge pull request #902 from kekekeks/contextprov
Add a way to pass view model for the main window
9 years ago
Nikita Tsukanov
75940e20d7
Merge branch 'master' into toplevels
9 years ago
Nikita Tsukanov
657c53fb73
Make it clear that MaxClientSize is used when available
9 years ago
Nikita Tsukanov
6072bad3f6
Naming
9 years ago
Nikita Tsukanov
e1b2ac5697
Add a way to pass view model for the main window
9 years ago
Nikita Tsukanov
432153c006
Readd [Fact] for path tests
9 years ago
Nikita Tsukanov
03ae54cb25
Platform toplevel cleanup
9 years ago
Nikita Tsukanov
82aa5709b2
Merge pull request #901 from kekekeks/skia-fixes-2017-02-19
Don't skip tests that are passing now
9 years ago
Nikita Tsukanov
a26b583a79
Merge branch 'master' into skia-fixes-2017-02-19
9 years ago
Nikita Tsukanov
026c943055
Fixed tests
9 years ago
Nikita Tsukanov
32d307f032
Possible leaks
9 years ago
Nikita Tsukanov
46de034f98
Don't skip tests that are passing now
9 years ago
Nikita Tsukanov
d17b32d7bd
Fixed tests
9 years ago