 |
wingraph.h |
Header File |
Routines for windowed graphics
Functions
- BitmapSizeExt
- DrawStaticButton
- Draws a button in a window.
![]()
- DrawWinBorder
- Draws a border of a window.
![]()
- MakeWinRect
- Builds a structure for representing rectangular area.
![]()
- RectWinToScr
- Converts relative to absolute coordinates then clips them to a window.
![]()
- RectWinToScrExt
- Converts relative to absolute coordinates then clips them to a window, taking into account negative coordinates.
![]()
- RectWinToWin
- Converts relative window coordinates to absolute coordinates.
![]()
- SetWinClip
- Changes the clipping area of a window.
![]()
- WinActivate
- Activates a window.
![]()
- WinAttr
- Sets the default window attribute.
![]()
- WinBackground
- Sets the default window background.
![]()
- WinBackupToScr
- Shows a current backup screen.
![]()
- WinBegin
- Setup a window for writing to without activating the window.
![]()
- WinBeginPaint
- Saves the current screen state of given window, and prepares the settings for drawing in the LCD memory.
![]()
- WinBitmapGet
- Gets a bitmap from a window.
![]()
- WinBitmapPut
- Puts a bitmap to a window.
![]()
- WinBitmapSize
- Determines a size of a bitmap (eventually clipped) in bytes.
![]()
- WinBitmapSizeExt
- Determines a size of a bitmap (eventually clipped) in bytes, taking into account negative coordinates.
![]()
- WinChar
- Draws a character to a window.
![]()
- WinCharXY
- Draws a series of characters to a window at the specific location.
![]()
- WinClose
- Closes a window.
![]()
- WinClr
- Clears a window.
![]()
- WinDeactivate
- Deactivates a window.
![]()
- WinDupStat
- Turns the duplicate status on or off.
![]()
- WinEllipse
- Draws an ellipse to a window.
![]()
- WinEnd
- Ends writing to a non-active window.
![]()
- WinEndPaint
- Restores the screen state saved with WinBeginPaint in given window.
![]()
- WinFill
- Draws a filled rectangle to a window.
![]()
- WinFillLines2
- Draws a filled area between two lines to a window.
![]()
- WinFillTriangle
- Draws a filled triangle to a window.
![]()
- WinFont
- Sets the current window font.
![]()
- WinGetCursor
- Returns the cursor location for a window.
![]()
- WinHeight
- Height of a window.
![]()
- WinHide
- Hides a window.
![]()
- WinHome
- Moves the pen location for a window to the home position.
![]()
- WinLine
- Draws a line to a window.
![]()
- WinLineExt
- Draws a line to a window, more accurately than WinLine when clipping.
![]()
- WinLineNC
- Draws a line to a window, without range checking.
![]()
- WinLineRel
- Draws a line to a window from the current pen position, using relative displacements.
![]()
- WinLineTo
- Draws a line to a window from the current pen position.
![]()
- WinMoveCursor
- Moves the pen position (???).
![]()
- WinMoveRel
- Sets the current window pen position relative to the previous position.
![]()
- WinMoveTo
- Sets the current window pen position.
![]()
- WinOpen
- Opens a new window.
![]()
- WinPixGet
- Gets the status of a pixel in a window.
![]()
- WinPixSet
- Sets a pixel in a window.
![]()
- WinRect
- Draws a rectangle to a window.
![]()
- WinRemove
- Closes the window pointed to by w, and frees the memory assigned to that window.
![]()
- WinReOpen
- Reopens an existing window.
![]()
- WinScrollH
- Shifts a region of a window left or right.
![]()
- WinScrollV
- Scrolls a region of a window upwards or downwards.
![]()
- WinSetCursor
- Moves the cursor (???).
![]()
- WinShow
- Makes a window visible for the repainting routine.
![]()
- WinStr
- Draws a string to a window.
![]()
- WinStrXY
- Draws a string to a window at a specific location.
![]()
- WinStrXYWrap
- Draws a word-wrapped string to a window at position x, y (window-based), and returns the height in pixels of the text drawn.
![]()
- WinToScr
- Converts a WIN_RECT into a SCR_RECT, clipping the coordinates if necessary.
![]()
- WinWidth
- Width of a window.
Global Variables
- DeskTop
- A pointer to the desktop window.
![]()
- FirstWindow
- A pointer to the head of the list of all windows.
Constants
- BITMAP_HDR_SIZE
- Defines the size of the header of the BITMAP structure.
![]()
- NULL
- A null-pointer value.
Predefined Types
- Attrs
- An enumeration for describing legal attribute values.
![]()
- BITMAP
- A structure for defining a bitmap.
![]()
- Bool
- An enumeration to describe true or false values.
![]()
- BoxAttrs
- An enumeration for describing addittional box attribute values.
![]()
- Buttons
- An enumeration to describe possible button types.
![]()
- Fonts
- An enumeration for describing legal font values.
![]()
- HANDLE
- Represents a handle associated with an allocated memory block.
![]()
- ICON
- A structure which describes an icon.
![]()
- pICON
- A pointer to the ICON scructure.
![]()
- SCR_COORDS
- An alias type for defining physical screen coordinates.
![]()
- SCR_RECT
- A scructure for defining a rectangular area.
![]()
- SCR_STATE
- A structure for saving the state of the graphics system.
![]()
- WIN_COORDS
- An alias type for defining logical screen coordinates.
![]()
- WIN_RECT
- A structure for defining a rectangular area.
![]()
- WINDOW_AMS1
- The main window-describing structure (AMS 1.xx version).
![]()
- WINDOW
- The main window-describing structure.
![]()
- WinFlags
- An enumeration for describing flags which control the window manager.
![]()
- winWriteFlags
- Enumeration for parameter flags to WinStrXYWrap.
See also: graph.h