Summary: [base][patch] Pattern phase support
Submitted by: tedge
Submitted on: Sun 17 May 2015 09:41:52 PM GMT
Severity: 3 - Normal
Item Group: Bug
Assigned to: None
Discussion Lock: Any
Patch adds support for the NSGraphicsContext's patternPhase offset when
drawing a pattern. (Patterns are currently always drawn with zero offset,
regardless of the draw context's patternPhase value).
Pattern phase is useful for scrolling or animating a pattern-filled area, as
well as for tiling a pattern that's pinned to a nonzero origin.
Patch also corrects a minor issue with getting the pattern size: The size
message is sent to a safer target object - the received parameter,
pattern_image - instead of the instance member, pattern. (Seems like they're
always the same object, but it's safer not to assume this).
Item Group: Bug => Change Request
Status: None => Ready For Test
Assigned to: None => FredKiefer
Open/Closed: Open => In Test
Summary: [base][patch] Pattern phase support => [back][patch]
Pattern phase support