Exemple #1
0
 new BitmapHandle(Imports.CreateCompatibleBitmap(context, size.Width, size.Height));
Exemple #2
0
 return(new Point(size.Width, size.Height));
 => Error.ThrowLastErrorIfFalse(Imports.CreateCaret(window, bitmap, size.Width, size.Height));
Exemple #4
0
 public Result SetSize(in SizeI size) => SetSize(size.Width, size.Height);
Exemple #5
0
 WatermarkPosition.BottomRight => (new SKPoint(size.Width / 2 - bannerHeight, size.Height + bannerHeight), new SKPoint(size.Width + bannerHeight, size.Height / 2 - bannerHeight)),
Exemple #6
0
 WatermarkPosition.TopRight => (new SKPoint(size.Width / 2 - bannerHeight, -bannerHeight), new SKPoint(size.Width + bannerHeight, size.Height / 2 + bannerHeight)),
Exemple #7
0
 WatermarkPosition.Bottom => (new SKPoint(0, size.Height - (bannerHeight / 2)), new SKPoint(size.Width, size.Height - (bannerHeight / 2))),
Exemple #8
0
 WatermarkPosition.Top => (new SKPoint(0, bannerHeight / 2), new SKPoint(size.Width, bannerHeight / 2)),