diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-05-07 08:12:56 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-05-07 08:12:56 +0200 |
| commit | 6b02331dfe7c6d8290c136ce20b4a7c655b47aae (patch) | |
| tree | da414ee19018edaf1d37b8fd7a6e4fe1f86edecd /src/SolidColor.cs | |
| parent | f3344a78e511213d235e4c91bf507264fd41ac0d (diff) | |
first tests with vkvg as backendvkvg
Diffstat (limited to 'src/SolidColor.cs')
| -rw-r--r-- | src/SolidColor.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SolidColor.cs b/src/SolidColor.cs index d6423d31..4cb212b1 100644 --- a/src/SolidColor.cs +++ b/src/SolidColor.cs @@ -31,7 +31,7 @@ using System.Text; using System.Xml.Serialization; using System.Reflection; using System.Diagnostics; -using Cairo; +using vkvg; @@ -51,7 +51,7 @@ namespace Crow public override void SetAsSource (Context ctx, Rectangle bounds = default(Rectangle)) { - ctx.SetSourceRGBA (color.R, color.G, color.B, color.A); + ctx.SetSource (color.R, color.G, color.B, color.A); } public static object Parse(string s) { |