Dan Walmsley
53638845a6
Add more visualbrush tests.
8 years ago
Steven Kirk
f1c2c72400
Added failing tests for #1614 .
8 years ago
Jumar Macato
d4b82e5af7
Fix yet another visual test
8 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Steven Kirk
d531b36b96
Make brushes raise a Changed event.
When their visual representation changes.
8 years ago
Karnah
48dd3b94d1
Using transparent brush when image source is null
8 years ago
Karnah
d8615643dd
Fixed NullReferenceException for ImageBush with null Source
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
Benedikt Schroeder
d5ace4db8d
tests fixed
8 years ago
Benedikt Schroeder
27a666467c
Initial
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
9 years ago
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
9 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
9 years ago
Steven Kirk
2a748fec91
Newly merged tests must be async.
9 years ago
Nikita Tsukanov
2d23cab586
Fixed Skia framebuffer bitmap test
9 years ago
Steven Kirk
7a5e9010a3
Added another passing ImageBrush test.
This tests what I though was a bug in #874 but comparing with WPF, it seems this is correct behavior.
9 years ago
Steven Kirk
730911fc0d
Added a couple more passing tile tests.
9 years ago
Steven Kirk
3e8587348d
Change ILockedFrameBuffer.Dpi to Vector.
`ILockedFrameBuffer.Dpi` was a `Size` but it would make more sense as a `Vector` because `Size * Vector` produces a `Size` whereas a `Size * Size` would produce a `Size3D` if that type existed.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Steven Kirk
376535b198
Make IFormattedTextImpl immutable.
Previously `IFormattedTextImpl` had `SetForegroundBrush` which set
mutable state. Make `FormattedText` fully mutable (before it was kinda
mutable, kinda immutable) and create immutable `IFormattedTextImpl`s on
demand.
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
daae9c0181
Forgot to save before last commit.
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
Steven Kirk
2a79137e56
Make cairo render tests pass.
9 years ago
Steven Kirk
e4eaf729a9
Make RadialGradientBrush work
With immediate renderer. Also added a render test and fixed some
problems with D2D implementation.
9 years ago
Steven Kirk
b3f9a8464e
Run deferred render tests on a background thread.
Run deferred render tests on a background thread to expose any threading
errors in the deferred rendering path. And threading errors found. Also
had to decrease the timeout for D2D render tests as
`renderTarget.EndDraw` is hanging when an exception is thrown between
`renderTarget.BeginDraw` and `EndDraw`.
9 years ago
Steven Kirk
6f07978361
Updated test output.
ImageMagick couldn't tell that the deferred renderer was failing the
test previously!!?!?
9 years ago
Steven Kirk
24635ea218
Added in-tree visual brush test.
Expected output is slightly wonky - need to investigate that once
stuff's working in general.
9 years ago
Steven Kirk
584cdbb133
Make FormattedTextImpl immutable.
Because it needs to be shared between the UI thread and the render
thread. This also required making it non-disposable like the other
graphics primitive impls.
10 years ago
danwalmsley
5ced1db770
Removed hack for Skia render tests.
10 years ago
Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
donandren
aba9f1b01e
WIP: added new tests for HitTestPosition in FormattedTextImplTests
10 years ago
donandren
5b0bc5417a
WIP: added some tests for Different Font Sizes in FormattedTextImpl
10 years ago
donandren
5d461bdc74
WIP: added unit tests for right and left align of FormattedTextImpl
10 years ago
donandren
5fbceb065c
WIP: more tests for HitTestTextPosition in FormattedTextImpl
10 years ago
donandren
af07f02ec3
WIP: added hittest range tests for FormattedTextImpl and code to shared project
10 years ago
donandren
a4c978c319
FormattedTextImpl tests for measue and HitTestPoint
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago