{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeSynonymInstances #-}
module Diagrams.TwoD
(
V2 (..), R1 (..), R2 (..)
, P2, T2
, r2, unr2, mkR2
, p2, unp2, mkP2
, unitX, unitY, unit_X, unit_Y
, perp, leftTurn
, xDir, yDir
, tau
, angleV
, angleDir
, signedAngleBetween , signedAngleBetweenDirs
, HasR(..), r2PolarIso
, stroke, stroke'
, strokePath, strokeP, strokePath', strokeP'
, strokeTrail, strokeT, strokeTrail', strokeT'
, strokeLine, strokeLoop
, strokeLocTrail, strokeLocT, strokeLocLine, strokeLocLoop
, FillRule(..), fillRule, _fillRule
, StrokeOpts(..), vertexNames, queryFillRule
, intersectPoints, intersectPoints'
, intersectPointsP, intersectPointsP'
, intersectPointsT, intersectPointsT'
, clipBy, clipTo, clipped, _Clip, _clip
, hrule, vrule
, unitCircle
, circle
, ellipse
, ellipseXY
, arc
, arc'
, arcCW
, arcCCW
, wedge
, arcBetween
, annularWedge
, polygon, polyTrail
, PolygonOpts(..), polyType, polyOrient, polyCenter
, PolyType(..), PolyOrientation(..)
, StarOpts(..), star
, regPoly
, triangle
, eqTriangle
, square
, pentagon
, hexagon
, heptagon
, septagon
, octagon
, nonagon
, decagon
, hendecagon
, dodecagon
, unitSquare
, rect
, roundedRect, roundedRect'
, RoundedRectOpts(..), radiusTL, radiusTR, radiusBL, radiusBR
, arrowV, arrowV'
, arrowAt, arrowAt'
, arrowBetween, arrowBetween'
, connect, connect'
, connectPerim, connectPerim'
, connectOutside, connectOutside'
, arrow, arrow'
, straightShaft
, module Diagrams.TwoD.Arrowheads
, ArrowOpts(..)
, arrowHead
, arrowTail
, arrowShaft
, headGap
, tailGap
, gaps, gap
, headTexture
, headStyle
, tailTexture
, tailStyle
, shaftTexture
, shaftStyle
, headLength
, tailLength
, lengths
, text, topLeftText, alignedText, baselineText
, font, italic, oblique, fontSize
, bold, bolder, lighter, thinWeight
, ultraLight, light, mediumWeight, heavy, semiBold, ultraBold
, _font, _fontSizeR, _fontSize
, fontSizeO, fontSizeL, fontSizeN, fontSizeG
, DImage(..), ImageData(..)
, Embedded, External, Native
, image
, loadImageEmb
, loadImageExt
, uncheckedImageRef
, raster
, rasterDia
, rotation, rotate, rotateBy, rotated
, rotationAround, rotateAround
, rotationTo, rotateTo
, scalingX, scaleX
, scalingY, scaleY
, scaling, scale
, scaleToX, scaleToY
, scaleUToX, scaleUToY
, translationX, translateX
, translationY, translateY
, translation, translate
, reflectionX, reflectX
, reflectionY, reflectY
, reflectionXY, reflectXY
, reflectionAbout, reflectAbout
, shearingX, shearX
, shearingY, shearY
, parallelX0, perspectiveX1, parallelY0, perspectiveY1
, facingX, facingY
, (===), (|||)
, hcat, hcat', hsep
, vcat, vcat', vsep
, strutX, strutY
, padX, padY
, extrudeLeft, extrudeRight, extrudeBottom, extrudeTop
, rectEnvelope
, boundingRect, bg, bgFrame
, alignL, alignR, alignT, alignB, alignTL, alignTR, alignBL, alignBR
, alignX, alignY
, centerX, centerY, centerXY
, snugL, snugR, snugT, snugB
, snugX, snugY
, snugCenterX, snugCenterY, snugCenterXY
, width, height
, extentX, extentY
, mkSizeSpec2D
, mkWidth
, mkHeight
, dims2D
, Texture(..), solid
, SpreadMethod(..), GradientStop(..)
, _FillTexture, fillTexture, _fillTexture, getFillTexture
, _LineTexture, lineTexture, _lineTexture, lineTextureA, getLineTexture
, stopFraction, stopColor, mkStops
, LGradient(..), _LG, lGradStops, lGradTrans, lGradStart, lGradEnd
, lGradSpreadMethod, defaultLG, mkLinearGradient
, RGradient(..)
, rGradStops, rGradCenter0, rGradRadius0, rGradCenter1, rGradRadius1
, rGradTrans, rGradSpreadMethod, defaultRG, _RG, mkRadialGradient
, fillColor, _SC, _AC, fc, fcA, recommendFillColor
, lineColor, lc, lcA
, showOrigin
, showOrigin'
, OriginOpts(..), oColor, oScale, oMinSize
, showEnvelope
, showEnvelope'
, EnvelopeOpts(..), eColor, eLineWidth, ePoints
, showTrace
, showTrace'
, TraceOpts(..), tColor, tScale, tMinSize, tPoints
, showLabels
) where
import Diagrams.TwoD.Align
import Diagrams.TwoD.Arc
import Diagrams.TwoD.Arrow
import Diagrams.TwoD.Arrowheads
import Diagrams.TwoD.Attributes
import Diagrams.TwoD.Combinators
import Diagrams.TwoD.Deform
import Diagrams.TwoD.Ellipse
import Diagrams.TwoD.Image
import Diagrams.TwoD.Model
import Diagrams.TwoD.Path
import Diagrams.TwoD.Polygons
import Diagrams.TwoD.Shapes
import Diagrams.TwoD.Size
import Diagrams.TwoD.Text
import Diagrams.TwoD.Transform
import Diagrams.TwoD.Types
import Diagrams.TwoD.Vector
import Diagrams.Util (tau)