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 / 10477
10476  |  10478
Subject: 
Re: What does a subpart with color=24 mean?
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 5 Sep 2006 17:40:43 GMT
Viewed: 
2179 times
  
Steve Bliss wrote:
In lugnet.cad.dev, Mark Tarrabain wrote:
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.

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.

Right... but what should the contrast color be defined as within the
subfile?  The same?

>> Mark



Message has 1 Reply:
  Re: What does a subpart with color=24 mean?
 
(...) The contrast color within the subfile would be defined in the normal way - use the main color for the subfile, and look up the contrast color from the color table. The fact that the originating linetype 1 used color code 24 shouldn't matter by (...) (18 years ago, 5-Sep-06, to lugnet.cad.dev)

Message is in Reply To:
  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)

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