gi-cairo-render-0.0.1: GI/Cairo/Render/Internal/Surfaces/Surface.chs
-----------------------------------------------------------------------------
-- |
-- Module : GI.Cairo.Render.Internal.Surfaces.Surface
-- Copyright : (c) Paolo Martini 2005
-- License : BSD-style (see doc/COPYRIGHT)
--
-- Maintainer : p.martini@neuralnoise.com
-- Stability : experimental
-- Portability : portable
--
-- Base class for surfaces.
-----------------------------------------------------------------------------
#include "gi-cairo-render.h"
module GI.Cairo.Render.Internal.Surfaces.Surface where
{#import GI.Cairo.Render.Types#}
import Foreign
import Foreign.C
import qualified Foreign.C.Types as C2HSImp
import qualified Foreign.Ptr as C2HSImp
import qualified Foreign.Storable as C2HSImp
{#context lib="cairo" prefix="cairo"#}
{#fun surface_create_similar as surfaceCreateSimilar { withSurface* `Surface', cFromEnum `Content', `Int', `Int' } -> `Surface' mkSurface*#}
{#fun surface_destroy as surfaceDestroy { withSurface* `Surface' } -> `()'#}
{#fun surface_finish as surfaceFinish { withSurface* `Surface' } -> `()'#}
{#fun surface_flush as surfaceFlush { withSurface* `Surface' } -> `()'#}
{#fun surface_get_font_options as surfaceGetFontOptions { withSurface* `Surface', withFontOptions* `FontOptions'} -> `()'#}
{#fun surface_get_content as surfaceGetContent { withSurface* `Surface' } -> `Content' cToEnum#}
{#fun surface_mark_dirty as surfaceMarkDirty { withSurface* `Surface' } -> `()'#}
{#fun surface_mark_dirty_rectangle as surfaceMarkDirtyRectangle { withSurface* `Surface', `Int', `Int', `Int', `Int' } -> `()'#}
{#fun surface_reference as surfaceReference { withSurface* `Surface' } -> `()'#}
{#fun surface_set_device_offset as surfaceSetDeviceOffset { withSurface* `Surface', `Double', `Double' } -> `()'#}
{#fun surface_status as surfaceStatus { withSurface* `Surface' } -> `Status' cToEnum#}