Bug 1149 : Book p. 135 - Incorrect value in comments -
Last modified: 2009-02-26 19:24




Status:
ASSIGNED
Resolution:
-
Priority:
P2
Severity:
normal

 

Reporter:
fiorina
Assigned To:
REAS

Attachment Type Created Size Actions

Description:   Opened: 2009-02-05 01:48
example 16 - 06

line 3 of the commented code says the translated rect should draw at (20, 30)

with

translate(20, 0);
rect(0, 10, 70, 20);

it should draw at (20, 10), no?

It's a hard-cover copy, published in 2007
Additional Comment #1 From REAS 2009-02-26 19:24
Yes, thank you for catching this! We'll correct for the next printing.
This bug is now being tracked here.