Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A GSK renderer that is using cairo.
Since it is using cairo, this renderer cannot support 3D transformations.
Synopsis
- newtype CairoRenderer = CairoRenderer (ManagedPtr CairoRenderer)
- class (GObject o, IsDescendantOf CairoRenderer o) => IsCairoRenderer o
- toCairoRenderer :: (MonadIO m, IsCairoRenderer o) => o -> m CairoRenderer
- cairoRendererNew :: (HasCallStack, MonadIO m) => m CairoRenderer
Exported types
newtype CairoRenderer Source #
Memory-managed wrapper type.
CairoRenderer (ManagedPtr CairoRenderer) |
Instances
Eq CairoRenderer Source # | |
Defined in GI.Gsk.Objects.CairoRenderer (==) :: CairoRenderer -> CairoRenderer -> Bool # (/=) :: CairoRenderer -> CairoRenderer -> Bool # | |
GObject CairoRenderer Source # | |
Defined in GI.Gsk.Objects.CairoRenderer | |
ManagedPtrNewtype CairoRenderer Source # | |
Defined in GI.Gsk.Objects.CairoRenderer toManagedPtr :: CairoRenderer -> ManagedPtr CairoRenderer | |
TypedObject CairoRenderer Source # | |
Defined in GI.Gsk.Objects.CairoRenderer | |
HasParentTypes CairoRenderer Source # | |
Defined in GI.Gsk.Objects.CairoRenderer | |
IsGValue (Maybe CairoRenderer) Source # | Convert |
Defined in GI.Gsk.Objects.CairoRenderer gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe CairoRenderer -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe CairoRenderer) | |
type ParentTypes CairoRenderer Source # | |
Defined in GI.Gsk.Objects.CairoRenderer |
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
(GObject o, IsDescendantOf CairoRenderer o) => IsCairoRenderer o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, isRealized, notify, notifyByPspec, realize, realizeForDisplay, ref, refSink, render, renderTexture, runDispose, stealData, stealQdata, thawNotify, unrealize, unref, watchClosure.
Getters
getData, getProperty, getQdata, getSurface.
Setters
new
:: (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.