monomer-1.3.0.0: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Graphics.Lens

Description

Lenses for the Graphics types.

Documentation

class HasA s a | s -> a where Source #

Methods

a :: Lens' s a Source #

Instances

Instances details
HasA Color Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasB s a | s -> a where Source #

Methods

b :: Lens' s a Source #

Instances

Instances details
HasB Color Int Source # 
Instance details

Defined in Monomer.Graphics.Lens

Methods

b :: Lens' Color Int Source #

class HasG s a | s -> a where Source #

Methods

g :: Lens' s a Source #

Instances

Instances details
HasG Color Int Source # 
Instance details

Defined in Monomer.Graphics.Lens

Methods

g :: Lens' Color Int Source #

class HasR s a | s -> a where Source #

Methods

r :: Lens' s a Source #

Instances

Instances details
HasR Color Int Source # 
Instance details

Defined in Monomer.Graphics.Lens

Methods

r :: Lens' Color Int Source #

class HasName s a | s -> a where Source #

Methods

name :: Lens' s a Source #

Instances

Instances details
HasName ImageDef Text Source # 
Instance details

Defined in Monomer.Graphics.Lens

HasName FontDef Text Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasGlyph s a | s -> a where Source #

Methods

glyph :: Lens' s a Source #

Instances

Instances details
HasGlyph GlyphPos Char Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasXMax s a | s -> a where Source #

Methods

xMax :: Lens' s a Source #

Instances

Instances details
HasXMax GlyphPos Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasXMin s a | s -> a where Source #

Methods

xMin :: Lens' s a Source #

Instances

Instances details
HasXMin GlyphPos Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasYMax s a | s -> a where Source #

Methods

yMax :: Lens' s a Source #

Instances

Instances details
HasYMax GlyphPos Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasYMin s a | s -> a where Source #

Methods

yMin :: Lens' s a Source #

Instances

Instances details
HasYMin GlyphPos Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasFlags s a | s -> a where Source #

Methods

flags :: Lens' s a Source #

Instances

Instances details
HasFlags ImageDef [ImageFlag] Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasImgData s a | s -> a where Source #

Methods

imgData :: Lens' s a Source #

Instances

Instances details
HasImgData ImageDef ByteString Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasSize s a | s -> a where Source #

Methods

size :: Lens' s a Source #

Instances

Instances details
HasSize ImageDef Size Source # 
Instance details

Defined in Monomer.Graphics.Lens

HasSize TextLine Size Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasAsc s a | s -> a where Source #

Methods

asc :: Lens' s a Source #

Instances

Instances details
HasAsc TextMetrics Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasDesc s a | s -> a where Source #

Methods

desc :: Lens' s a Source #

Instances

Instances details
HasDesc TextMetrics Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasLineH s a | s -> a where Source #

Methods

lineH :: Lens' s a Source #

Instances

Instances details
HasLineH TextMetrics Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasLowerX s a | s -> a where Source #

Methods

lowerX :: Lens' s a Source #

Instances

Instances details
HasLowerX TextMetrics Double Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasGlyphs s a | s -> a where Source #

Methods

glyphs :: Lens' s a Source #

Instances

Instances details
HasGlyphs TextLine (Seq GlyphPos) Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasMetrics s a | s -> a where Source #

Methods

metrics :: Lens' s a Source #

Instances

Instances details
HasMetrics TextLine TextMetrics Source # 
Instance details

Defined in Monomer.Graphics.Lens

class HasRect s a | s -> a where Source #

Methods

rect :: Lens' s a Source #

Instances

Instances details
HasRect TextLine Rect Source # 
Instance details

Defined in Monomer.Graphics.Lens

Orphan instances