mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-06 08:47:11 +08:00
Mostly duplicated comments were removed and missing ones were moved into dedicated class CDL files. Some more duplicated comments were removed from CDL files. Correction of merge
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
-- Created on: 1998-04-07
|
|
-- Created by: Jean-Pierre COMBE
|
|
-- Copyright (c) 1998-1999 Matra Datavision
|
|
-- Copyright (c) 1999-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.
|
|
|
|
class PositionStorageDriver from MPrsStd inherits ASDriver from MDF
|
|
|
|
---Purpose: Storage driver for graphic attributes from
|
|
-- TPrsStd
|
|
|
|
uses SRelocationTable from MDF,
|
|
Attribute from TDF,
|
|
Attribute from PDF,
|
|
MessageDriver from CDM
|
|
|
|
|
|
is
|
|
|
|
Create(theMessageDriver : MessageDriver from CDM)
|
|
returns PositionStorageDriver from MPrsStd;
|
|
|
|
|
|
VersionNumber(me) returns Integer from Standard;
|
|
---Purpose: Returns the version number from which the driver
|
|
-- is available: 0.
|
|
|
|
SourceType(me) returns Type from Standard;
|
|
---Purpose: Returns the type: ColorAttribute from TGraphicAttribute.
|
|
|
|
NewEmpty (me) returns Attribute from PDF;
|
|
|
|
|
|
Paste(me;
|
|
Source : Attribute from TDF;
|
|
Target : Attribute from PDF;
|
|
RelocTable : SRelocationTable from MDF);
|
|
|
|
|
|
end PositionStorageDriver;
|
|
|