Unit BaseGraph
Description
Base Graphics Unit(C) 2006 George "Mirage" Bakhtadze. www.casteng.com
The source code may be used under either MPL 1.1 or LGPL 2.1 license. See included license.txt file
Unit contains abstract classes for drawing 2D graphics
Classes, Interfaces and Objects
Functions and Procedures
Overview
function ClipLine(var X1, Y1: Single; var X2, Y2: Single; VPLeft, VPTop, VPRight, VPBottom: Single): Boolean; |
function ClipLineColorTex(var X1, Y1, U1, V1: Single; var Color1: BaseTypes.TColor; var X2, Y2, U2, V2: Single; var Color2: BaseTypes.TColor; VPLeft, VPTop, VPRight, VPBottom: Single): Boolean; |
function GetUnitClassList: TClassArray; |
Description
Clips the given line with Cohen-Sutherland algorithm and returns True if at least some part of the line is visible
Clips the given colored and textured line with Cohen-Sutherland algorithm and returns True if at least some part of the line is visible
Returns list of classes introduced by the unit
Types
Overview
Description
2D transformations class
Font style
Rectangular viewport
Enumerations
Constants
Overview
Description
Initial Z value for 2D primitives
Variables
Overview
Description
Screen reference which should be used for 2D output
|
Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com
|