Steven Kirk
e79a144c14
WIP: Working on getting VisualBrush working
Don't try to render `VisualBrush`es in TileBrushImpl - visual brushes
need first to be transformed into images and then rendered as an
`ImageBrush`. To this end, renamed `TileBrushImpl` as `ImageBrushImpl`
(in D2D backend only for now as that's what I'll get working first).
Actual visual brush implementation not yet done.
9 years ago
Jeremy Koritzinsky
1fd692f262
Change implementation to be via different classes so as to not break invariants and pixel measurements.
9 years ago
Jeremy Koritzinsky
f44468a3ab
Added swap chain backed render target.
9 years ago
Steven Kirk
a967c9bf82
Make DPI scaling work again.
10 years ago
Steven Kirk
932f489faa
Use the Direct2D 1.1 render target initialization.
To prevent D2D from auto-stretching our render target to the window size
(which causes problems now we're multi-threaded) we have to move to the
D2D1.1 render target initialization. I used the info here to work out
how to do this:
https://katyscode.wordpress.com/2013/01/23/migrating-existing-direct2d-applications-to-use-direct2d-1-1-functionality-in-windows-7/
- it's not exactly simple!
10 years ago
Steven Kirk
c46ca88b97
Make IGeometryImpl immutable.
As it will be shared with the UI thread and the render thread.
10 years ago
Steven Kirk
ada15eba00
Initial implementation of low-level scene graph.
Whole tree is currently being updated and rendered still though and lots doesn't even build.
10 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Wiesław Šoltés
6f423f0fc9
Updated SharpDX to version 3.1.0
10 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
10 years ago
Jeremy Koritzinsky
3c5848bc2c
Updated Rx to 3.0 and fixed a failing test from a not fully set up mock.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
3604973b83
Removed unneeded references.
10 years ago
Steven Kirk
3e3e3244e3
Updated SharpDX.
10 years ago
Steven Kirk
0fce7e8150
Started fixing VisualBrush.
Make sure control is initialized before it is used in a visual brush.
Previously the colored rectangle in the DropDown in ControlCatalog
didn't have the correct color until the DropDown was opened. This fixes
the color, although initial measurement is still off.
10 years ago
Steven Kirk
e096c849d9
Updated NuGet packages.
Closes #395 .
10 years ago
Steven Kirk
06454a9101
Suppress doc warnings in Release mode.
10 years ago
Amer Koleci
e2ab8171b3
Update to SharpDX 3.0.0 official release.
10 years ago
Steven Kirk
55d867ba54
Suppress XML doc comment warnings.
11 years ago
Nikita Tsukanov
6108b4de18
Now render targets don't ask for window size
11 years ago
Nikita Tsukanov
78629373cd
Fixed directory structure
11 years ago
Nikita Tsukanov
141ce87960
Extracted ImageBrush/VisualBrush parts from Direct2D backend
11 years ago
Nikita Tsukanov
f4f3d572a6
Renamed IRenderingViewport to IRenderTarget
11 years ago
Nikita Tsukanov
c8e617231c
Moved render-related code from TopLevel to a separate class
(needed for wm stuff)
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Amer Koleci
3e2efc7af9
Add RadialGradientBrush support for Direct2D and Cairo backend.
11 years ago
Steven Kirk
cc1c2c0313
Fixes #147 .
11 years ago
Steven Kirk
f2378b035f
Initial implementation of ImageBrush on D2D.
11 years ago
Steven Kirk
f071a3d06b
Removed GlobalSuppressions.
11 years ago
Steven Kirk
2e56c951d5
Removed StyleCop.Analysers.
11 years ago
Steven Kirk
0d938acbed
First two VisualBrush tests passing.
11 years ago
Nelson Carrillo
454b1547ee
Implemented LinearGradientBrush
11 years ago
Steven Kirk
79422fc45b
Started implementing VisualBrush.
11 years ago
Steven Kirk
5dc0e604fb
Slyecoping.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
84306bc415
Make assemblies share version information.
11 years ago
Steven Kirk
c89cab3e3e
Added global suppressions.
11 years ago
Steven Kirk
71ebd527d4
Enable XML documentation.
11 years ago
Steven Kirk
12752f227f
Updated StyleCop.Analysers.
11 years ago
Steven Kirk
a417490a47
Updated StyleCop.Analyzers.
11 years ago
Steven Kirk
33696785ab
Forgot to save .csproj after last commit it seems
11 years ago
Steven Kirk
fe9ed13cff
Install StyleCopAnalysers.
And fix all warnings for the Perspex.Animation project.
11 years ago
Steven Kirk
3965f7bdae
Updated and fixed all packages.
Now mono project should build.
11 years ago
Steven Kirk
363ad22438
Uninstalled Stylecop.MSBuild
It was causing problems and doesn't work properly with C#6 anyway.
11 years ago
Steven Kirk
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
5e8bb904c9
Use a single timer for all animation.
Still renders >60fps when there are two concurrent animations though.
Hmm.
12 years ago
Steven Kirk
aef071ec8d
Draw selected TextBox text white.
12 years ago
Steven Kirk
baafad1af7
Removed ITextService.
Cairo renderer completely broken by this point.
12 years ago
Steven Kirk
20a944013e
Started refactoring of FormattedText.
12 years ago
Steven Kirk
32587825b3
More stylecop fixes.
12 years ago