graphic error SSD1963

  • 1
  • 2
  • 3
  • Page 2 of 3
TheBeginner
Schreiberling
Avatar
Gender: n/a
Location: Wunsiedel Bayern
Age: 66
Posts: 755
Registered: 06 / 2013
Subject:

Re: graphic error SSD1963

 · 
Posted: 10.11.2022 - 15:44  ·  #9
There is a possibility, if I create 3 viewports, i.e. from 1-2-3 views, simply create 1-2-4 and bang you have no more problems with the right display. Just GOpenView(3, 50, 160, 210, 200); omitting

Greeting Frank

Es gibt eine Möglichkeit, wenn ich 3 Viewports erstelle also von 1-2-3 views einfach 1-2-4 erstellen und zack hat man keine Probleme mehr mit der richtigen anzeige. Einfach GOpenView(3, 50, 160, 210, 200); weglassen

Gruß Frank
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: graphic error SSD1963

 · 
Posted: 15.11.2022 - 14:56  ·  #10
Hello Frank, Harry.

Es tut mir leid, aber ich war nicht in der Lage, dieses Problem zu lösen.

Zuerst dachte ich, dass das Problem mit gDrawString war, aber dann dachte ich, dass der eigentliche Rahmen anders aussah. Also habe ich die Ansichten 2 und 3 übereinandergelegt und siehe da, die Frames waren auch unterschiedlich.

Es ist also klar, dass die Y-Komponente von Ansicht 3 irgendwie beschädigt wird. Aber das könnte überall im Code passieren, und ich habe nicht einmal die internen Datenstrukturen zur Verfügung, um bei dieser Analyse zu helfen.

Code-mäßig wird Ansicht 3 nicht anders behandelt als andere Ansichtsfenster.

Entschuldigung.

Übersetzt mit www.DeepL.com/Translator (kostenlose Version)
===========================================================================

I am sorry but I have been unable to resolve this.

At first I thought that the issue was with gDrawString, but then I thought that the actual frame looked different. So I superimposed views 2 and 3 and sure enough the frames were different too.

So clearly the Y component of view 3 is getting corrupted somehow. But that could be happening from anywhere in the code, and I do not even have the internal data structures available to help with that analysis.

Code-wise view 3 is not treated any differently to other viewports.

Sorry.

Merlin
Harry
Moderator
Avatar
Gender:
Location: zwischen Augsburg und Ulm
Age: 59
Posts: 2088
Registered: 03 / 2003
Subject:

Re: graphic error SSD1963

 · 
Posted: 18.11.2022 - 15:15  ·  #11
Hallo Merlin,

ist es möglich den Quellcode des Grafiksystems anzuschauen?
Wie Frank schon geschrieben hat, ist das passiert, also Rolf ein 3-zeiliges Display zum define hinzugefügt hat.

Gruss
Harry
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: graphic error SSD1963

 · 
Posted: 18.11.2022 - 16:22  ·  #12
Hi Harry.

Sorry, there is no source code of the graphics system as such. It is all built into the compiler. Or do you mean that you want to see the compiler source?

Regards

Merlin
Harry
Moderator
Avatar
Gender:
Location: zwischen Augsburg und Ulm
Age: 59
Posts: 2088
Registered: 03 / 2003
Subject:

Re: graphic error SSD1963

 · 
Posted: 18.11.2022 - 23:31  ·  #13
Hallo Merlin,

ich glaube das ist zu kompliziert für mich, wenn es der komplette Compiler ist.

Hsrry
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: graphic error SSD1963

 · 
Posted: 19.11.2022 - 11:34  ·  #14
OK Harry.

Merlin
TheBeginner
Schreiberling
Avatar
Gender: n/a
Location: Wunsiedel Bayern
Age: 66
Posts: 755
Registered: 06 / 2013
Subject:

Re: graphic error SSD1963

 · 
Posted: 01.02.2023 - 07:42  ·  #15
EN
Good morning, it gave me no peace and I got something out.
The viewports create no problem.
The output in the viewports at 1 or 2 is also ok
Only with viewport 3 do I have to omit the minus (-) in the Y coordinate, then it looks good

DE
Guten Morgen, es hat mir keine Ruhe gelassen und ich habe doch etwas rausbekommen.
Die Viewports erstellen kein Problem.
Die Ausgabe in den Viewport´s bei 1 oder 2 auch ok
Nur bei Viewport 3 muss ich das Minus (-) bei Y Koordinate weglassen, dann sieht es gut aus


Gruß Frank




Code

  GSwitchView(1);
  gDrawString(-70, -12, 3, 3, TxtRot0, Fix64ToStr(X_fix:4:3:'0'));   

  GSwitchView(2);
  gDrawString(-70, -12, 3, 3, TxtRot0, Fix64ToStr(Y_Fix:4:3:'0')); 

  GSwitchView(3);
  gDrawString(-70, 12, 3, 3, TxtRot0, Fix64ToStr(Z_Fix:4:3:'0'));  
Harry
Moderator
Avatar
Gender:
Location: zwischen Augsburg und Ulm
Age: 59
Posts: 2088
Registered: 03 / 2003
Subject:

Re: graphic error SSD1963

 · 
Posted: 01.02.2023 - 12:28  ·  #16
Hallo Frank,

wie ist deine Einstellung bei
gSetTextJustify (Horiz : TtxtAlHor; Vert : TTxtAlVert);
?

Gruss
Harry
  • 1
  • 2
  • 3
  • Page 2 of 3
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   135   149 · Page-Gen-Time: 0.028121s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI