Search found 6 matches

by tf_2010
01 Jun 2016, 22:40
Forum: CAD VCL
Topic: How to rotate image during conversion
Replies: 4
Views: 34431

Re: How to rotate image during conversion

Hello, The entities coordinates should be flipped vertically in this case i.e the X coordinate values should change a sign from the + to a - sign and vice versa. Could you test this solution in the SimpleImport demo project and post the contents of a text file saved with this project? Mikhail Thank...
by tf_2010
01 Jun 2016, 22:37
Forum: CAD VCL
Topic: DoScale2D sample
Replies: 5
Views: 40602

Re: DoScale2D sample

support wrote:Hello,
Could you send your drawing file to the Technical Support e-mail? We will examine the problem with coordinates.
Mikhail
I did several SVG images in InkScape and got such issue :|
Just try this with any SVG image made in InkScape :D
by tf_2010
30 May 2016, 01:52
Forum: CAD VCL
Topic: DoScale2D sample
Replies: 5
Views: 40602

Re: DoScale2D sample

support wrote:Hello,

Could you give us more information about this problem? For example, what entities (all the entities or certain types) have flipped coordinates and what CAD VCL version you are using.


Mikhail
All the entities except text have flipped coordinates in VCL version 10.0
by tf_2010
29 May 2016, 20:33
Forum: CAD VCL
Topic: How to rotate image during conversion
Replies: 4
Views: 34431

Re: How to rotate image during conversion

Sorry but this solution doesn't work.Here is the code: CADImg.LoadFromFile(odCADPicture.FileName); FCADParams.Matrix := cnstVerticalFlipMat; CADImg.GetExtents; CADImg.Converter.ImportMode := imImport; CADImg.Converter.AutoInsert := True; CADImg.Converter.Params := @FCADParams; CADImg.CurrentLayout.I...
by tf_2010
25 May 2016, 19:44
Forum: CAD VCL
Topic: DoScale2D sample
Replies: 5
Views: 40602

DoScale2D sample

I need a sample with DoScale2D procedure explaining Scaling and Rotation operations with all the entities during the Iteration. You know we can get the text log of all the entities in the demo SimpleImport - "How to get entities properties". But all the logged coords of entities are flipped vertical...
by tf_2010
18 Mar 2016, 15:53
Forum: CAD VCL
Topic: How to rotate image during conversion
Replies: 4
Views: 34431

How to rotate image during conversion

Hello! Could anybody help me with a sample of code? How to work with FCADParams of TsgCADIterate object? I need to flip the output image horizontally or vertically using procedure Iterate : procedure Iterate(Proc, FinishProc: TsgCADEntityProc; var Params: TsgCADIterate). Before calling Iterate neces...