3.3 Examples

Here are some sample cell headers to illustrate this section:

115 17

The above cell header defines a vector list (cell type 115). 17 is the decimal representation of the binary value 10001. Looking at the bits making up the value 17, we see that we need to set bits 0 (value 1) and bit 4 (value 16) and clear all the other bits; consequently, we can deduce that the vector list's attributes are present and that it inherits its color from its parent set.

700 5

This cell header defines a set (cell type 700) for which a set of attributes and geometry have been defined (5 decimal = 101 binary, therefore bits 0 and 2 are set).

Your rating: None

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <abbr> <acronym> <address> <br> <cite> <code> <col> <colgroup> <dd> <dfn> <dl> <dt> <em> <hr> <kbd> <li> <ol> <p> <pre> <samp> <strong> <sub> <sup> <table> <tbody> <td> <tfoot> <th> <thead> <tr> <tt> <ul> <var>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.