donandren
3e2c6a3cd5
using structs to avoid memory allocations when save/restore paint state in Skia DrawingContextImpl
10 years ago
donandren
6ac363bf47
avoid passing delegates here and there in rendering code - fixed in FormattedText.Draw
10 years ago
donandren
39db3f0d0f
implemented SetForegroundBrush in skia FormattedTextImpl and refactored
10 years ago
donandren
71f52aa915
fixed left,right text align hittesting skia FormattedTextImpl
10 years ago
donandren
8110d1bc64
fixed HitTestTextRange in skia FormattedTextImpl
10 years ago
donandren
b59a1107eb
Skia DrawingContextImpl HitTestPoint and HitTestTextPosition passing tests
10 years ago
donandren
6c423ae4c8
properly handle HitTestPoint in skia FormattedTextImpl
10 years ago
donandren
fc266209a4
WIP: more precise Line Height in Skia FormattedTextImpl
10 years ago
donandren
c84b5d863d
skia new line and line break rendering improvements
10 years ago
donandren
6161bcb886
center and right alignment support in skia FormattedTextImpl
10 years ago
donandren
9d971a604e
improved text handling of \r\n in skia FormattedTextImpl
10 years ago
donandren
730c248dde
fixed text foreground opacity rendering for gradient brushes in skia
10 years ago
donandren
4aa0d003b0
fixed bitmap render and opacity
10 years ago
donandren
227375d195
TextWrapping and new lines text rendering support in skia
10 years ago
donandren
d89940df88
fixed skia rendering text align center and right properly
10 years ago
donandren
8eaa55ed56
fixed skia text foreground rendering
10 years ago
donandren
b588049e37
Fix skia text measure
10 years ago
donandren
5d3e1f318c
Updated Skia nuget package to 1.49.3.0-beta
10 years ago
Jeremy Koritzinsky
46e04db2ff
Renamed CurrentCanvas back to Canvas.
10 years ago
donandren
0d3429389a
added new constructor with IWindowImpl parameter
10 years ago
Steven Kirk
9b9b048fbb
Use Parent property.
Instead of `LogicalParent` - they're the same but `Parent` is used below
- this clarifies that it's the same property to those unfamiliar with
the codebase.
10 years ago
Steven Kirk
ee6dd853e9
Added linebreak.
10 years ago
donandren
b89d75f43a
Fixed ContentPresenter add/remove from logicalchildren otside teamplate
10 years ago
Jeremy Koritzinsky
6feb0f7d88
Opacity masks on Skia now work correctly. Implemented via skia layers.
10 years ago
donandren
2bcedd44a7
fix: handle only events within control bounds or ClipToBounds=false,
otherwise there are problems with items not in visible part processing the events
10 years ago
donandren
b9ad9b82ce
process scroll events in ScrollContentPresenter in more generic way (support also horizontal scroll)
and horizontal scroll support in VirtualizationMode
10 years ago
donandren
4384adc357
handle horizontal wheel events
10 years ago
donandren
9b230ec1a0
possible solution of bug #539 -
actually ContentPresenter if not used in ContentControl was not detaching it's child from logical tree
10 years ago
Steven Kirk
dc8d05d0c3
Handle partial last items when items added.
Fixes #565 .
10 years ago
Steven Kirk
58cebab9a7
Don't round ScrollViewer values.
Not sure why this was being done, but it's almost certainly wrong.
10 years ago
Jeremy Koritzinsky
4d0605dbb1
Added in code that somewhat works for Skia opacity masks. Test is still skipped because it doesn't fully work yet.
10 years ago
Steven Kirk
04c48bbd54
Make adding items work.
When virtualizing panel is not yet full.
10 years ago
Jeremy Koritzinsky
63e0fe8ed8
Fixed bug with opacity masks on elements with ClipToBounds=false.
10 years ago
Steven Kirk
7010272985
Reset first/next indexes on items nulled.
Fixes #563 .
10 years ago
Steven Kirk
63c2cd41fd
Add containers on Items reset.
If new items have been added on Reset and the panel was not previously
full, then create containers for the new items. Fixes #561 .
10 years ago
Steven Kirk
299ad92c37
Fixed TabStrip.
10 years ago
Steven Kirk
e142bc10fb
Don't build mobile stuff in NCrunch.
10 years ago
Steven Kirk
2268227f20
Make template instantiated by style a name scope.
To do this had to move the name scope stuff into Avalonia.Styling.
10 years ago
Steven Kirk
1219909978
Register Template.Content as deferred.
10 years ago
Steven Kirk
cd863434be
Fix TreeDataTemplate.
Was calling wrong overload.
10 years ago
Steven Kirk
d772017768
Added <Template>
The new <Template> is a template that can be used as a setter value,
meaning that the setter will materialize the template each time it sets
the value. Make assigning a control to `Setter.Value` throw an error
indicating that the control should be wrapped in a template.
10 years ago
Steven Kirk
259144838c
Set item container properties with Style priority.
So that they can be overridden by styles.
10 years ago
Nikita Tsukanov
f439c141db
Don't try to preview App.xaml
10 years ago
Nikita Tsukanov
b296bb764c
Added `Styles` preview support
10 years ago
Nikita Tsukanov
2ec8ba3e12
Added source assembly information to designer
10 years ago
Nikita Tsukanov
99878ef8bb
Designer proccess fixes
10 years ago
Steven Kirk
69e2c459c4
Do a null Items check in ScrollIntoView
This can happen when bindings are in the process of updating, or if the
client calls SelectingItemsControl.ScrollIntoView themselves.
10 years ago
Steven Kirk
7b3e25949e
Revert "Revert "Set ContentPresenter.DataContext in UpdateChild.""
This reverts commit bf02ae41a9 .
10 years ago
Steven Kirk
e252a35509
Don't delay bind to DataContext.
DataContext bindings are special in that they return null instead of
UnsetValue when broken, and it's important that they do that when things
are being set up.
10 years ago
Steven Kirk
0b28e10f21
Make broken DataContext bindings produce null.
This prevents incorrect DataContexts cascading down to children when the
DataContext binding is invalid, e.g. when things are being set up.
10 years ago