To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10475
10474  |  10476
Subject: 
Re: What does a subpart with color=24 mean?
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 5 Sep 2006 16:53:36 GMT
Viewed: 
2236 times
  
Steve Bliss wrote:
In lugnet.cad.dev, Mark Tarrabain wrote:
How is the contrast color defined for line type 1, when color=24?

It will be the constrast color for the constrast color.  Which may be the same
as the main color -- but it may not.

Does that mean that it would be appropriate for a renderer to just swap
the main and contrast colors when it encounters such a line, or what?  I
just want know what a renderer is supposed to do.

Also, some viewers (like L3Lab) may balk at rendering a file which uses color 24
in a line type 1.

Well, doing grep '^1 24 ' on the parts files shows that some parts do
exactly that, which is why I was asking.

>> Mark



Message has 2 Replies:
  Re: What does a subpart with color=24 mean?
 
(...) Not exactly -- just use the current contrast color as the main color for the subfile. Whenever a subfile is rendered, it should already be looking up the local contrast color based on the local main color. Steve (18 years ago, 5-Sep-06, to lugnet.cad.dev)
  Re: What does a subpart with color=24 mean?
 
(...) Actually, that grep doesn't return anything. '^[ \t]*1 24' does return hits from three files, though. Every single place in the library that this is used, it's used in a reference to one of the edge primitives. The edge primitives use color 24 (...) (18 years ago, 5-Sep-06, to lugnet.cad.dev)

Message is in Reply To:
  Re: What does a subpart with color=24 mean?
 
(...) It will be the constrast color for the constrast color. Which may be the same as the main color -- but it may not. Also, some viewers (like L3Lab) may balk at rendering a file which uses color 24 in a line type 1. Steve (18 years ago, 5-Sep-06, to lugnet.cad.dev)

12 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR