PenroseKiteDart-1.4.1: Library to explore Penrose's Kite and Dart Tilings.
Copyright(c) Chris Reade 2024
LicenseBSD-style
Maintainerchrisreade@mac.com
Stabilityexperimental
Safe HaskellNone
LanguageGHC2021

CheckBackend

Description

This module introduces a class synonym OKBackend to abbreviate requirements of a backend for drawing tilings. The instance declaration requires UndecidableInstances to be enabled.

Synopsis

Documentation

class (V b ~ V2, N b ~ Double, Renderable (Path V2 Double) b, Renderable (Text Double) b) => OKBackend b Source #

Class OKBackend is a class synonym for a collection of constraints on a Backend b suitable for drawing tiles. That is 2 dimensional with Real numbers (Double) able to render paths and text.

Instances

Instances details
(V b ~ V2, N b ~ Double, Renderable (Path V2 Double) b, Renderable (Text Double) b) => OKBackend b Source #

Instance declaration for OKBackend requires UndecidableInstances to be enabled, but allows a suitable backend B to be recognised as an instance without explicitly writing instance OKBackend B Note B will be declared by user of this library and is not declared in the library

Instance details

Defined in CheckBackend