Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
bitmapOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> Picturegloss-rendering Graphics.Gloss.Rendering O(size). Copy a ByteString of RGBA data into a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.
bitmapOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> Picturegloss-rendering Graphics.Gloss.Rendering O(1). Use a ForeignPtr of RGBA data as a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.
bitmapSize :: BitmapData -> (Int, Int)gloss-rendering Graphics.Gloss.Rendering width, height in pixels
-
graph-core Data.Core.Graph.NodeManager No documentation available.
getNodeMap :: (Hashable k, Eq k) => NodeManager k -> NodeMap kgraph-core Data.Core.Graph.NodeManager No documentation available.
newtype
FlattenedMap (c :: Type -> Type -> Type) k vgreskell Data.Greskell JSON encoding of a map as an array of flattened key-value pairs. ToJSON instance of this type encodes the internal map as an array of keys and values. FromJSON instance of this type parses that flattened map.
FlattenedMap :: c k v -> FlattenedMap (c :: Type -> Type -> Type) k vgreskell Data.Greskell No documentation available.
data
GMap (c :: Type -> Type -> Type) k vgreskell Data.Greskell Haskell representation of g:Map type. GraphSON v1 and v2 encode Java Map type as a JSON Object, while GraphSON v3 encodes it as an array of flattened keys and values (like FlattenedMap.) GMap type handles both encoding schemes.
GMap :: Bool -> !c k v -> GMap (c :: Type -> Type -> Type) k vgreskell Data.Greskell No documentation available.
-
greskell Data.Greskell Haskell representation of Map.Entry type. Basically GraphSON encodes Java's Map.Entry type as if it were a Map with a single entry. Thus its encoded form is either a JSON object or a flattened key-values, as explained in GMap. In old versions of TinkerPop, Map.Entry is encoded as a JSON object with "key" and "value" fields. FromJSON instance of GMapEntry supports this format as well, but ToJSON instance doesn't support it.