gi-gsk-4.0.8: Gsk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gsk.Objects.CairoRenderer

Description

A GSK renderer that is using cairo.

Since it is using cairo, this renderer cannot support 3D transformations.

Synopsis

Exported types

newtype CairoRenderer Source #

Memory-managed wrapper type.

Constructors

CairoRenderer (ManagedPtr CairoRenderer) 

Instances

Instances details
Eq CairoRenderer Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

GObject CairoRenderer Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

ManagedPtrNewtype CairoRenderer Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

Methods

toManagedPtr :: CairoRenderer -> ManagedPtr CairoRenderer

TypedObject CairoRenderer Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

Methods

glibType :: IO GType

HasParentTypes CairoRenderer Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

IsGValue (Maybe CairoRenderer) Source #

Convert CairoRenderer to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gsk.Objects.CairoRenderer

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe CairoRenderer -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe CairoRenderer)

type ParentTypes CairoRenderer Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

type ParentTypes CairoRenderer = '[Renderer, Object]

class (GObject o, IsDescendantOf CairoRenderer o) => IsCairoRenderer o Source #

Type class for types which can be safely cast to CairoRenderer, for instance with toCairoRenderer.

Instances

Instances details
(GObject o, IsDescendantOf CairoRenderer o) => IsCairoRenderer o Source # 
Instance details

Defined in GI.Gsk.Objects.CairoRenderer

toCairoRenderer :: (MonadIO m, IsCairoRenderer o) => o -> m CairoRenderer Source #

Cast to CairoRenderer, for types for which this is known to be safe. For general casts, use castTo.

Methods

new

cairoRendererNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CairoRenderer

Returns: a new Cairo renderer.

Creates a new Cairo renderer.

The Cairo renderer is the fallback renderer drawing in ways similar to how GTK 3 drew its content. Its primary use is as comparison tool.

The Cairo renderer is incomplete. It cannot render 3D transformed content and will instead render an error marker. Its usage should be avoided.