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
08aa54e16f
Added Transitions to TabControl.
Currently only one transition available: CrossFadeTransition, which is
demonstrated in the test app.
11 years ago
Steven Kirk
493768a5ad
Added missing properties to FormattedText.
Also use a switch for TextAlignment.ToDirect2D.
11 years ago
Steven Kirk
47b23cec71
Prevent text measuring as NaN.
When text is right-aligned, WidthIncludingTrailingWhitespace seems to
return null. Worked around that but I think the layout code is wrong
now.
11 years ago
ncarrillo
a33ca9de04
Add D2D support for TextAlignment
11 years ago
ncarrillo
2cd1ff5fcd
Implemented RenderTargetBitmap support for Cairo
Make Render Tests run for Cairo
Implemented RenderTargetBitmap support for Cairo
Reverted virtual on save
Reverted changes to Program.cs
11 years ago
Steven Kirk
e0cbfc3a2d
Added support for dashed pens.
11 years ago
Steven Kirk
53d804572d
Added TextBlock.FontWeight.
Closes #31 .
11 years ago
Steven Kirk
265c6105ec
Make italic text work again.
Fixes #26 .
11 years ago
Steven Kirk
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
152e9870a8
Refactored out common rendering code.
Moved platform-independent parts to RendererBase, make platform
renderers derive from this. Breaks GTK text rendering for some reason.
Need to fix.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
f158c3e399
Fixed scaling for Paths.
Will no doubt need revisiting as mentioned in the comments in
Shape.MeasureOverride.
11 years ago
Steven Kirk
5048ebbcf8
Fix the clip/rotation problem.
11 years ago
Steven Kirk
60ad99c8c1
Added a TextBox and Image to animated controls.
Looks like in the TexbBox clipping rects aren't getting applied
correctly with rotation.
11 years ago
Steven Kirk
94b1057685
Tidied up the render routine.
11 years ago
Steven Kirk
58426219c9
Oops forgot to commit actual code...
in last commit. D'oh!
11 years ago
Steven Kirk
5e8bb904c9
Use a single timer for all animation.
Still renders >60fps when there are two concurrent animations though.
Hmm.
11 years ago
Steven Kirk
fc49f1588b
Make animations more smooth.
By setting the PresentOptions.Immediately flag.
11 years ago
Steven Kirk
9afc768449
Added FPS counter to test app.
11 years ago
Steven Kirk
6d45c57dbb
Added simple animation.
11 years ago
Steven Kirk
cf959fd8eb
Added RadioButton control.
11 years ago
Steven Kirk
f5d89a8db5
Fix potential reference after dispose.
11 years ago
Steven Kirk
7fe1f7e814
Some work on Paths.
Make paths with Stretch != None correctly fill the Path control's
available size. Added a Path_Tick_Scaled test with a path from
MahApps.Metro to test this.
11 years ago
Steven Kirk
aef071ec8d
Draw selected TextBox text white.
11 years ago
Steven Kirk
d575dfa773
Moved Perspex <-> D2D conversions to ext. methods.
11 years ago
Steven Kirk
050e9cc6e8
Make Home key work in multi-line text boxes.
11 years ago
Steven Kirk
e34db29251
Make mono stuff work (kinda) again.
11 years ago
Steven Kirk
43716ae100
Added HitTestTextRange to FormattedText.
11 years ago
Steven Kirk
2be668db1a
More refactoring of FormattedText.
11 years ago
Steven Kirk
baafad1af7
Removed ITextService.
Cairo renderer completely broken by this point.
11 years ago
Steven Kirk
20a944013e
Started refactoring of FormattedText.
11 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
11 years ago
Steven Kirk
d0cec392f7
Made test pass.
11 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
11 years ago
Steven Kirk
32587825b3
More stylecop fixes.
11 years ago
Steven Kirk
cbbef72f9b
Getting something drawn now.
11 years ago
Steven Kirk
c999d45e94
WIP refactoring Window.
To make it x-platform. Currently breaks input.
11 years ago
Steven Kirk
192e66179c
Initial implementation of GTK windowing system.
Displays a window. Doesn't do anything with it yet.
11 years ago
Steven Kirk
7167f26c93
Trying to create a cairo renderer.
Not working. Nothing is drawn...
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