Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 169849 Details for
Bug 313984
Figure#paintChildren(Graphics) Optimize clip
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
Bug_313984 (text/plain), 1.18 KB, created by
Alex Boyko
on 2010-05-25 11:54:51 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Alex Boyko
Created:
2010-05-25 11:54:51 EDT
Size:
1.18 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/Figure.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/Figure.java,v >retrieving revision 1.54 >diff -u -r1.54 Figure.java >--- src/org/eclipse/draw2d/Figure.java 19 May 2010 20:10:26 -0000 1.54 >+++ src/org/eclipse/draw2d/Figure.java 25 May 2010 15:54:07 -0000 >@@ -1156,14 +1156,8 @@ > if (clippingStrategy != null) { > clipping = clippingStrategy.getClip(child); > } else { >- // default clipping behavior is to clip at >- // client area or bounds (dependent on whether there >- // is an opaque border) >- boolean optimizeClip = getBorder() == null >- || getBorder().isOpaque(); >- clipping = new Rectangle[] { optimizeClip ? child >- .getBounds() : child.getBounds().getIntersection( >- getClientArea(PRIVATE_RECT)) }; >+ // default clipping behaviour is to clip at bounds >+ clipping = new Rectangle[] { child.getBounds() }; > } > // child may now paint inside the clipping areas > for (int j = 0; j < clipping.length; j++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 313984
: 169849