Skip to content

Instantly share code, notes, and snippets.

View pauldendulk's full-sized avatar
🏐

Paul den Dulk pauldendulk

🏐
View GitHub Profile
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
// --- Action ---
var actionQueue = new ActionQueue();
Console.WriteLine("No await");
for (int i = 0; i < 10; i++)
private float GetSkiaScale()
{
var presentationSource = PresentationSource.FromVisual(this);
if (presentationSource == null) throw new Exception("PresentationSource is null");
var compositionTarget = presentationSource.CompositionTarget;
if (compositionTarget == null) throw new Exception("CompositionTarget is null");
var m = compositionTarget.TransformToDevice;
var dpiX = m.M11;
@pauldendulk
pauldendulk / CLA.md
Last active January 30, 2018 20:14
CLA Mapsui

Mapsui Individual Contributor License Agreement

Thank you for your interest in contributing to Mapsui ("We" or "Us").

This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us by electronic submission, following the instructions at . This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.

1. Definitions