SGE Documentation
Table of Contents
- SGE Introduction
  
- 1. Intro
  - 2. Requirements
  - 3. Compiling
  - 4. Library usage
  - 5. Makefile options
    
- 5.1 Using pure C with SGE(C_COMP)
    - 5.2 FreeType (USE_FT)
    - 5.3 The SDL_Image library (USE_IMG)
	- 5.4 The QUIET option (QUIET)
 
- 6. Cross compiling SGE to W32
  - 7. Compiling SGE under W32 with MS VisC/C++
  - 8. Misc.
- Beginners guide to SGE
  
- 1. Intro
  - 2. Compiling SGE
  - 3. Using SGE
  - 4. How to distribute your project
- Surface operations
  
- sge_UpdateRect
  - sge_Update_ON/OFF
  - sge_Lock_ON/OFF
  - sge_CreateAlphaSurface
  - sge_ClearSurface
  - sge_copy_surface
  - sge_BlitTransparent
  - sge_Blit
  - sge_FloodFill
- Color manipulation
  
- sge_MapAlpha
  - sge_FillPaletteEntry
  - sge_GetRGB
  - sge_Fader
  - sge_AlphaFader
  - sge_SetupRainbowPalette
  - sge_SetupBWPalette
- Pixel operations
  
- _PutPixel
  - sge_PutPixel
  - sge_CalcYPitch
  - sge_pPutPixel
  - sge_GetPixel
  - sge_write_block
  - sge_read_block
- Figures
  
- sge_H/VLine
  - sge_DoLine
  - sge_Line
  - sge_DomcLine
  - sge_mcLine
  - sge_Rect
  - sge_FilledRect
  - sge_DoCircle
  - sge_Circle
  - sge_FilledCircle
  - sge_DoEllipse
  - sge_Ellipse
  - sge_FilledEllipse
  - sge_Bezier
- Text management
-  
  
  - TrueType font rendering
    
- The TT font structure
    - sge_TTF_Init
    - sge_TTF_OpenFont
	- sge_TTF_OpenFontIndex
	- sge_TTF_OpenFontRW
	- sge_TTF_OpenFontIndexRW
    - sge_TTF_CloseFont
	- sge_TTF_ByteSwappedUNICODE
    - sge_TTF_SetFontSize
	- sge_TTF_SetFontSizeDPI
    - sge_TTF_TextSize
	- sge_TTF_FontHeight
    - sge_TTF_FontAscent
    - sge_TTF_FontDescent
    - sge_TTF_FontLineSkip
	- sge_TTF_FontFaces
	- sge_TTF_FontFaceIsFixedWidth
	- sge_TTF_FontFaceFamilyName
	- sge_TTF_FontFaceStyleName
    - sge_TTF_AAOn/Off/_Alpha
    - sge_TTF_SetFontStyle
    - sge_TTF_GetFontStyle
    - sge_tt_textout
    - sge_tt_textoutf
    - sge_tt_input
  
 
  - Bitmap font rendering
    
- The bitmap font structure
    - sge_BF_OpenFont
	- sge_BF_CreateFont
    - sge_BF_CloseFont
    - sge_BF_SetColor
	- sge_BF_SetAlpha
    - sge_BF_GetHeight
    - sge_BF_GetWidth
    - sge_BF_TextSize
    - sge_BF_textout
    - sge_BF_textoutf
    - sge_BF_input
  
 
  - Text classes
    
- sge_TextEditor
    - sge_text
    - sge_TextSurface
    - sge_TextSsprite
    - sge_TextSprite
	- sge_text_input
  
 
- Surface and sprite classes
  
- sge_shape
  - sge_surface
  - sge_ssprite
  - sge_sprite
  - sge_screen
- Basic collision detection
  
- sge_make_cmap
  - sge_bbcheck
  - sge_bbcheck_shape
  - sge_cmcheck
  - sge_get_cx/y
  - sge_unset_cdata
  - sge_set_cdata
  - sge_destroy_cmap
- Surface rotation/scaling routines
  
- sge_transform
  - sge_transform_surface
- Polygons and some texture mapping
  
- sge_FadedLine
  - sge_TexturedLine
  - sge_Trigon
  - sge_FilledTrigon
  - sge_FadedTrigon
  - sge_TexturedTrigon
  - sge_TexturedRect
  - sge_FilledPolygon
  - sge_FadedPolygon
- Misc. functions
  
- sge_Random
  - sge_Randomize
  - sge_CalibrateDelay
  - sge_DelayRes
  - sge_Delay
- Macros
  
- sge_clip
  - sge_RectUnion
- Thanks
SGE:s Homepage
	
Copyright © 1999-2003 Anders Lindström
Last updated 030808