Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PCL6 ROP3

Status
Not open for further replies.

EgorovAlex

Technical User
Oct 30, 2008
12
How I can interpret ROP3 values?

For example, I have ROP3=67

This is SPDSanaxn (S = Source, P = Paint, D = Destination, a = AND, n = NOT, x = XOR)

How interpret this?
 
The ROP3 values in PCL6 are exactly the same as those defined in PCL5 (and, originally, apparently in some Microsoft documentation).

The only difference that I can think of is that 'Paint' is sometimes referred to as 'Texture' or 'Pattern'.

The values are shown in 'Reverse Polish Notation'.

So, for example, PDSoxn means:
NOT (paint XOR (source OR destination))

Where:
'destination' is what is already on the paper (and also what will be the result of the operation);
'source' is the shape of the object to be added;
'paint' is the pattern (texture) to be applied through the 'source'

I've never really been that familiar with RPN, so I'm not sure how your ROP3=67 value should be interpreted (although, as it is a stack-based mechanism, it should be fairly easy to work out).

Perhaps some-one else who is familiar with RPN, or has more time to think about it, can oblige?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top