1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00
Files
occt/src/V3d/V3d_ColorScale.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

101 lines
3.0 KiB
Plaintext

-- Created on: 2004-06-24
-- Created by: STV
-- Copyright (c) 2004-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
private class ColorScale from V3d inherits ColorScale from Aspect
---Purpose: A colorscale class
uses
--View from V3d,
LayerMgr from V3d,
LayerMgrPointer from V3d,
--Layer from Visual3d,
Color from Quantity,
ExtendedString from TCollection
is
---Category: Public
Create(aMgr : LayerMgr from V3d)
returns ColorScale from V3d;
---Purpose: Returns returns ColorScale from V3d.
--View(me)
--returns View from V3d;
---Purpose: Returns View from V3d.
Display(me : mutable);
Erase(me : mutable);
IsDisplayed(me)
returns Boolean from Standard;
---Category: Protected
UpdateColorScale(me : mutable)
is redefined protected;
--BeginPaint(me : mutable)
--returns Boolean from Standard
--is redefined protected;
--EndPaint(me : mutable)
--returns Boolean from Standard
--is redefined protected;
PaintRect(me : mutable; X, Y, W, H : Integer from Standard;
aColor : Color from Quantity;
aFilled : Boolean from Standard = Standard_False)
is redefined;
PaintText(me : mutable; aText : ExtendedString from TCollection;
X, Y : Integer from Standard;
aColor : Color from Quantity)
is redefined;
TextWidth(me; aText : ExtendedString from TCollection)
returns Integer from Standard
is redefined;
TextHeight(me; aText : ExtendedString from TCollection)
returns Integer from Standard
is redefined;
TextSize( me;
AText : ExtendedString from TCollection;
AHeight : Integer from Standard;
AWidth : in out Integer from Standard;
AnAscent : in out Integer from Standard;
ADescent : in out Integer from Standard );
DrawScale(me : mutable);
---Category: Private
--Overlay(me)
--returns Layer from Visual3d
--is private;
fields
--myView : View from V3d;
myLayerMgr : LayerMgrPointer from V3d;
--myOverlay : Layer from Visual3d;
myDisplay : Boolean from Standard;
end ColorScale;