Copperbox revision 413.
I've changed some of the interface to be more like the Haskell OpenGL binding - libraryVersion is now a gettable State Var, and rather than exposing the allocator and deallocator for the ft_library I've wrapped both in a withFreeType call which is like the withNURBSObj function.
Currently this is just an experiment, as I've just looked at a couple of examples where the GL idioms would work well. It would be nice for me if I could adopt HsOpenGL's idioms wholesale - then I wouldn't have to think up abstractions over FreeType for myself. But the GL idioms might not work well for FreeType. OpenGL is a rather special library, the API is essentially a set of commands - very little shared state is transmitted between the client and the library (the NURBS interface is one of the few places where a handle is taken by the client to point to the library's data). FreeType uses many more handles and data is more frequently created by the client and communicated to the library.
Wednesday, January 14, 2009
Blog Archive
-
▼
2009
(651)
-
▼
January
(52)
- ZBitmap & FreeType Binding
- ZBitmap
- ZBitmap
- ZBitmap
- ZBitmap
- ZBitmap
- ZBitmap
- ZBitmap
- ZBitmap
- ZBitmap
- ZBmp
- ZBmp
- ZBmp
- ZBmp
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- ZBmp
- ZBmp
- Haskell FreeType binding, plus ZBmp
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell OpenVG binding
- OpenVG and FreeType bindings
- Haskell OpenVG binding
- Haskell OpenVG binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell FreeType binding
- Haskell OpenVG binding
- Haskell OpenVG binding
- Haskell OpenVG binding
- Haskell OpenVG binding
- OpenVG binding
- OpenVG binding
- OpenVG binding
- OpenVG binding
- OpenVG binding
- OpenVG binding
- OpenVG binding
-
▼
January
(52)
About Me
- Stephen Tetley
- Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.