Max Katz
842556177d
Windows specific cleanups
3 years ago
Sebastian Hartte
1321c7996e
Fix various Direct2D resource leak issues, as well as an unclosed geometry stream.
5 years ago
Dariusz Komosinski
972587130b
Support passing alpha format to created bitmaps.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
ec45084e6a
Make Pen mutable.
And add `IPen` interface and `ImmutablePen` class.
7 years ago
Benedikt Schroeder
4413de463e
Remove unsupported line caps
7 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
lindexi
f03d0e9a4f
remove comment
8 years ago
lindexi
31b88dc589
Change code
8 years ago
lindexi
d1b06cb784
Comments at this low level are't really necessary
8 years ago
lindexi
c064d05e8c
Lasy new the dashes for if we new an array first that we may waste it when we use `dashes = pen.DashStyle.Dashes.Select(x => (float)x).ToArray()`. As a frequently used code I think this optimize is necessary.
8 years ago
lindexi
3e43fc221b
for this code in `pen.DashStyle?.Dashes != null` that pen.DashStyle isnt null and we dont need add `?`
8 years ago
lindexi
6b231ba335
fix comment
8 years ago
Steven Kirk
d2e1eba876
Refactored geometry.
There were a number of problems with `Geometry` and its subclasses and platform implementations. Fix these, for more details see the PR that this commit is a part of.
8 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
9 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Amer Koleci
e2ab8171b3
Update to SharpDX 3.0.0 official release.
10 years ago
susloparov
cdf47bf314
Fixes #313
10 years ago
Nikita Tsukanov
f4f3d572a6
Renamed IRenderingViewport to IRenderTarget
11 years ago
Nelson Carrillo
57e27cb96e
Implemented DashStyle
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Nelson Carrillo
454b1547ee
Implemented LinearGradientBrush
11 years ago
Steven Kirk
79422fc45b
Started implementing VisualBrush.
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
f2170e3ad5
Documentation.
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
f9f247120c
Oops, forgot to compile after last change!
11 years ago
Steven Kirk
493768a5ad
Added missing properties to FormattedText.
Also use a switch for TextAlignment.ToDirect2D.
11 years ago
ncarrillo
a33ca9de04
Add D2D support for TextAlignment
11 years ago
Steven Kirk
e0cbfc3a2d
Added support for dashed pens.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
cf959fd8eb
Added RadioButton control.
11 years ago
Steven Kirk
d575dfa773
Moved Perspex <-> D2D conversions to ext. methods.
11 years ago
Steven Kirk
6644676b03
Moved stuff around a bit.
Windows specific stuff into Windows directory, Perspex.Windows ->
Perspex.Win32 as WinRT might be supported in the future and that is
still Windows.
11 years ago
Steven Kirk
d034952c6a
Added Image control.
12 years ago
Steven Kirk
cfbc5d19f6
Display (not-yet-blinking) caret in TextBox.
12 years ago
Steven Kirk
041b276cc1
Added Shape and Path
Draw checkbox check using Path. Still very hacky - measurement is off.
12 years ago
Steven Kirk
19d6236f46
Route input events through InputManager.
12 years ago