Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Rounding errors in figure drawing
Rounding errors in figure drawing [message #145925] Mon, 02 August 2004 15:10 Go to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------020800070202060304050505
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi:

I'm having problems with rounding errors in figure painting when zooming
(see the attached shot). I am passing in the same rectangle to
outlineShape as I am to fillShape, but the outline seems to be bigger
than the inside when zooming in (in the screenshot, the zoom level is
400%). It only seems to be happening on figures that have curves in them
(circles, rounded rectangles).

In fillShape, I am using:

g.fillOval (r) and g.fillRoundedRectangle (r, r.width/6, r.height/6)

In outlineShap, I am using:

g.drawOval (r) and g.drawRoundedRectangle (r, r.width/6, r.height/6)

Has anyone experienced this problem? If so, and I am doing something
wrong, could you tell me the right way. If there is a workaround, I'd
like to know that too.

Thanks,
Bradley.

--------------020800070202060304050505
Content-Type: image/png;
name="Screenshot-Eclipse.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="Screenshot-Eclipse.png"

iVBORw0KGgoAAAANSUhEUgAAAucAAAHpCAYAAAAh5ZIlAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAAEbAAABGwGN907lAAAAB3RJTUUH1AgCDwIiMwgTiAAAIABJREFU eJzt3XmUXGWd
8PFfdVYCgbAESCIJS4BgwhoQlzAoKgi8L4vaIg7ijHNUZBycc8bzRvEoYUYc QRxncBQdB2ZE
ljhR0VGEgyDIphMImzEGkgAhQBKykJB96dT7B9PQ3VXd6aqu5bm3Pp+/PLe7 q59OYfW3nv7d
ewvFYrEYAABA07U1ewEAAMBrxDkAACRCnAMAQCLEOQAAJEKcAwBAIsQ5AAAk QpwDAEAixDkA
ACRCnAMAQCLEOQAAJEKcAwBAIsQ5AAAkQpwDAEAixDkAACRCnAMAQCLEOQAA JE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a4wdO7LXx5gwYVQcd9yYbsdWrdoY99//fNx11zNx++0L4plnXqnp upcu/VzJsdGj
R9T0e2TRihUb4/DDv1VyvLc4Hz58cAwfXln27Lrr0LLH99ln4P/+27Z1xEc/ +tPYsmV7t+Mn
nDAu7rzzoyUnFx922N5x003vjylT9o0vfvHubh/71rf+J84++/B497sPHvC6 aD5xDkDu/eAH
j/ca5lOnjo0f/eiDccghe1X12HvvPSLOOWdSnHPOpCgWi/HUU6vizjsXDWS5 3bgqSz5973tz
Yu7cl7sdGzVqeNx663m9XvWnUCjEF74wLZ58cnn86Edzu33sb//2jnjiiU9H W5sTRLPOdc4B
yLXnnlsTn/nMr8p+7LTTJsb99/9l1WHeU6FQiEmT9olLLjmxJo9HPm3b1hFX XfVgyfEvfenk
GDdu9z6/tlAoxD/902klJ4HOnfty/Pzn82u6TppDnAOQa5///F2xfv3WkuNH H71//OQnH3Kl
CxruttsWxJIla7sd2333YfHJT07t19ePHTsyLrjgqJLj3/3uIzVZH80lzgHI rT/+8eWSP/9H
RAwe3BY33fT+XmeKoZ5uvPHJkmMf+MCbY7fd+v/f44UXHl1y7Ne/fiaWL18/ oLXRfGbOAcit
a68tv5P4yU9OjcmT923waqpTqzuEbtiwNW67bUH8+teLYs6cpbF48Zp49dUt USgUYo89hsWB
B46K448fG2eccWi8730TY8iQyi7N1991Llu2Pm688cm4/fYFMXfuy7F69aYY NKgtJkzYI046
aUJ8+tPHx9SpY8t+jzvuWBinn35jxev4+tdPjc997u39/lnqadu2jrLnJJx5 5qEVPc7b3vam
2HPPXbpdErRYLMYddyyMj33smAGvk+YR5wDkUkfHjviv//pj2Y/93d+lEWqN sGHD1rjqqgfj
mmv+J9as2Vz2c1au3BgrV26MRx55Kb773UfigAP2iCuuOKWmd6Dctq0jrrji /rjqqgdj06bu
N9vZvn3H63fAvO66R2P69Gnxj//47lze/XLOnKWxbt2WkuMnnTShoscZNKgt pk0bH7/4xVPd
jt9zz3PiPOOMtQCQS7NnvxgrVmwoOT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ABIhzgEA IBHiHAAAEiHO
AQAgEeIcAAASIc4BACAR4hwAABIhzgEAIBHiHAAAEiHOAQAgEeIcAAASIc4B ACAR4hwAABIh
zgEAIBHiHAAAEjG42QsAAJqjcHmzV7BzxcuavQJoLDvnAACQCHEOAACJEOcA AJAIcQ4AAIkQ
5wAVc4YaADtT3e8KcQ4AAIkQ5wAVKBaLUSgUwu45AL3r/jvitd8b/SPOAaom 0AHoaWC/G8Q5
QIXe2D2PEOgAvKH0d0KhUIhisdjvRxDnAAMm0AGoze+CwTV5FIAW07l7/sZu SOeLcgbuhw5A
DfUe5ZXumkfYOQeoWmegdz/Rxy46QOso/5rf+buh0jCPsHMOMCBdA90uOkCr 6Hu3PCKqCvMI
cQ4wYJ0vwKW7JF1fvIU6QLbt/C+j1e6WdyXOAWqk61VcSl+chTpA9vRvVHGg u+VdiXOAGuq6
i97z2Bt6vtiLdYA09P+8ob5f56snzgHqoGuk73xHxUmkNEsW3hj6/wdpqVeU dxLnAHXU9YW7
5+2b6/GiDkBtNfq1W5wDNEjPF/SeL/i9fR4A9ZfKa7I4B2iS3l7we/sFATU3 Y0azV7BT/v9A
o6SyMSLOARKTyi8I8q9wefoz5/7/QKtxh1AAAEiEOAcAgESIcwAASIQ4BwCA RIhzAABIhDgH
AIBEiHMAAEiEOAcAgESIcwAASIQ4BwCARIhzAABIhDgHAIBEiHMAAEiEOAcA gESIcwAASIQ4
BwCARIhzAABIhDgHAIBEiHMAAEhEoVgsFpu9CAAAwM45AAAkQ5wDAEAixDkA ACRCnAMAQCLE
OQAAJEKcAwBAIsQ5AAAkQpwDAEAixDkAACRCnAMAQCL+P53iS/tBHbhSAAAA AElFTkSuQmCC

--------------020800070202060304050505--
Re: Rounding errors in figure drawing [message #145949 is a reply to message #145925] Mon, 02 August 2004 16:09 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Open a bug report (and please provide a snippet, if possible). This works
fine at all zoom levels other than 400%, right?

"Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
news:cellci$sfq$1@eclipse.org...
> Hi:
>
> I'm having problems with rounding errors in figure painting when zooming
> (see the attached shot). I am passing in the same rectangle to
> outlineShape as I am to fillShape, but the outline seems to be bigger
> than the inside when zooming in (in the screenshot, the zoom level is
> 400%). It only seems to be happening on figures that have curves in them
> (circles, rounded rectangles).
>
> In fillShape, I am using:
>
> g.fillOval (r) and g.fillRoundedRectangle (r, r.width/6, r.height/6)
>
> In outlineShap, I am using:
>
> g.drawOval (r) and g.drawRoundedRectangle (r, r.width/6, r.height/6)
>
> Has anyone experienced this problem? If so, and I am doing something
> wrong, could you tell me the right way. If there is a workaround, I'd
> like to know that too.
>
> Thanks,
> Bradley.
>


------------------------------------------------------------ ----------------
----
Re: Rounding errors in figure drawing [message #145989 is a reply to message #145949] Mon, 02 August 2004 17:37 Go to previous messageGo to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
It gets increasingly worse the more I increase the zoom. 400% was just
an example.
Re: Rounding errors in figure drawing [message #146008 is a reply to message #145925] Mon, 02 August 2004 19:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

When doing drawRectangle() and fillRectangle(), "fills" needs to be 1 pixel
larger than "draws". This is because fill is exclusive of the bottom and
right edges, while draw is inclusive of all edges. So once you use 1-pixel
larger, you will be tucking the fill underneath the draw, and zoom will work
correctly. Ovals should work the same too.

roundedRectangle is another story. Different arcs may be used and they may
not scale perfectly.
The logic example uses many of the graphics calls and works well with zoom.

"Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
news:cellci$sfq$1@eclipse.org...
> Hi:
>
> I'm having problems with rounding errors in figure painting when zooming
> (see the attached shot). I am passing in the same rectangle to
> outlineShape as I am to fillShape, but the outline seems to be bigger
> than the inside when zooming in (in the screenshot, the zoom level is
> 400%). It only seems to be happening on figures that have curves in them
> (circles, rounded rectangles).
>
> In fillShape, I am using:
>
> g.fillOval (r) and g.fillRoundedRectangle (r, r.width/6, r.height/6)
>
> In outlineShap, I am using:
>
> g.drawOval (r) and g.drawRoundedRectangle (r, r.width/6, r.height/6)
>
> Has anyone experienced this problem? If so, and I am doing something
> wrong, could you tell me the right way. If there is a workaround, I'd
> like to know that too.
>
> Thanks,
> Bradley.
>


------------------------------------------------------------ ----------------
----
Re: Rounding errors in figure drawing [message #146217 is a reply to message #146008] Tue, 03 August 2004 12:16 Go to previous messageGo to next message
Holger Herzog is currently offline Holger HerzogFriend
Messages: 2
Registered: July 2009
Junior Member
Hi!

Randy Hudson wrote:
> When doing drawRectangle() and fillRectangle(), "fills" needs to be 1
> pixel larger than "draws". This is because fill is exclusive of the
> bottom and right edges, while draw is inclusive of all edges. So once
> you use 1-pixel larger, you will be tucking the fill underneath the
> draw, and zoom will work correctly. Ovals should work the same too.

I'm using:

graphics.fillPolygon() and
graphics.drawPolyline()

I have similar effectes: the drawings made by fillPolygon() are one
pixel smaller (at the right und at the bottom) as that ones made by
drawPolyline().

Of course, I could add 1 pixel to the points at the right and at the
bottom. But who knowns what points these are? A polygon can get quite
complex ...


Regards,

Holger
Re: Rounding errors in figure drawing [message #146254 is a reply to message #146217] Tue, 03 August 2004 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You'll have to post your code. FillPolyong is used in the logic example and
it work ok.

"Holger Herzog" <holger.herzog@arcway.com> wrote in message
news:cenvij$6t7$1@eclipse.org...
> Hi!
>
> Randy Hudson wrote:
> > When doing drawRectangle() and fillRectangle(), "fills" needs to be 1
> > pixel larger than "draws". This is because fill is exclusive of the
> > bottom and right edges, while draw is inclusive of all edges. So once
> > you use 1-pixel larger, you will be tucking the fill underneath the
> > draw, and zoom will work correctly. Ovals should work the same too.
>
> I'm using:
>
> graphics.fillPolygon() and
> graphics.drawPolyline()
>
> I have similar effectes: the drawings made by fillPolygon() are one
> pixel smaller (at the right und at the bottom) as that ones made by
> drawPolyline().
>
> Of course, I could add 1 pixel to the points at the right and at the
> bottom. But who knowns what points these are? A polygon can get quite
> complex ...
>
>
> Regards,
>
> Holger
Re: Rounding errors in figure drawing [message #146798 is a reply to message #146254] Sat, 07 August 2004 22:58 Go to previous messageGo to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
For me, fillPolygon and drawPolygon zoom ok. fill/drawRectangle,
fill/drawOval, and fill/drawRoundedRectangle do not. Adding one pixel in
each direction to these methods works for me.

Bradley.

Randy Hudson wrote:
> You'll have to post your code. FillPolyong is used in the logic example and
> it work ok.
>
> "Holger Herzog" <holger.herzog@arcway.com> wrote in message
> news:cenvij$6t7$1@eclipse.org...
>
>>Hi!
>>
>>Randy Hudson wrote:
>> > When doing drawRectangle() and fillRectangle(), "fills" needs to be 1
>> > pixel larger than "draws". This is because fill is exclusive of the
>> > bottom and right edges, while draw is inclusive of all edges. So once
>> > you use 1-pixel larger, you will be tucking the fill underneath the
>> > draw, and zoom will work correctly. Ovals should work the same too.
>>
>>I'm using:
>>
>>graphics.fillPolygon() and
>>graphics.drawPolyline()
>>
>>I have similar effectes: the drawings made by fillPolygon() are one
>>pixel smaller (at the right und at the bottom) as that ones made by
>>drawPolyline().
>>
>>Of course, I could add 1 pixel to the points at the right and at the
>>bottom. But who knowns what points these are? A polygon can get quite
>>complex ...
>>
>>
>>Regards,
>>
>>Holger
>
>
>
Re: Rounding errors in figure drawing [message #146943 is a reply to message #146798] Mon, 09 August 2004 18:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
news:cf3mnb$j52$1@eclipse.org...
> For me, fillPolygon and drawPolygon zoom ok. fill/drawRectangle,
> fill/drawOval, and fill/drawRoundedRectangle do not. Adding one pixel in
> each direction to these methods works for me.
>
> Bradley.

So that's what I was saying about fills. It need to have one pixel more to
be the same size. This is true at 100%, so it is true at 300% also.
Re: Rounding errors in figure drawing [message #156985 is a reply to message #146943] Fri, 05 November 2004 13:37 Go to previous messageGo to next message
Marion Schmid is currently offline Marion SchmidFriend
Messages: 35
Registered: July 2009
Member
Hello all,

I think I have a similar problem, but it might also be a problem of coding,
don't know...
I added three screenshot to show you the problem I have with zooming and a
shape, that's done with graphics.drawLine / drawPolygon(..) and
fillPolygon().

The screenshots I added are at zoom levels 150, 200,210. I also had problems
with 100, that's why I think it's maybe my coding where the problem is. But
maybe someone of you can tell me why... ??

As you will see in outlineShape(), I tried with drawPolygon and with
drawLine - both with the same results.

==== MyShape extends Shape =====
protected void fillShape(Graphics g) {
double insetProportion = 0.27;
Rectangle r = getBounds().getCopy().expand(1,1); //translate(-1,
0).shrink((lineWidth-1)/2,(lineWidth-1)/2);
double cornerInsetX = r.width * insetProportion;
double cornerInsetY = r.height/2;
PrecisionPoint pp = new PrecisionPoint(r.getLeft().x + cornerInsetX,
r.getTop().y+cornerInsetY);

PointList pl = new PointList();
pl.addPoint(r.getTopLeft());

pl.addPoint(r.getTopRight());
pl.addPoint(r.getBottomRight());
pl.addPoint(r.getBottomLeft());
pl.addPoint(pp);

g.fillPolygon(pl);
}

protected void outlineShape(Graphics g) {
Rectangle r = getBounds().getCopy();

double cornerInsetX = r.width * insetProportion;
double cornerInsetY = r.height/2;

PrecisionPoint pp = new PrecisionPoint(r.getLeft().x + cornerInsetX,
r.getTop().y+cornerInsetY);

// ### polygon version ###
PointList pl = new PointList();
pl.addPoint(r.getTopLeft());

pl.addPoint(r.getTopRight());
pl.addPoint(r.getBottomRight());
pl.addPoint(r.getBottomLeft());
pl.addPoint(pp);

g.drawPolygon(pl);

// ### drawLine version ### /**
g.drawLine(r.getTopLeft(), r.getTopRight());
g.drawLine(r.getBottomRight(), r.getTopRight());
g.drawLine(r.getBottomLeft(), r.getBottomRight());
g.drawLine(r.getBottomLeft(), pp);
g.drawLine(pp, r.getTopLeft());
*/
}


====== MyEditPart =========
protected IFigure createFigure() {

MyShape ppfigure = new MyShape();
ppfigure.setLayoutManager(new BorderLayout());
ppfigure.setOpaque(false);

ppfigure.setBackgroundColor(ColorConstants.VisualComposerCol ors.COLOR_RED_AC
TIVE);

ppfigure.setForegroundColor(ColorConstants.VisualComposerCol ors.COLOR_RED_BO
RDER);

return ppfigure;
}


"Randy Hudson" <none@us.ibm.com> wrote in message
news:cf8ea5$22m$1@eclipse.org...
> "Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
> news:cf3mnb$j52$1@eclipse.org...
> > For me, fillPolygon and drawPolygon zoom ok. fill/drawRectangle,
> > fill/drawOval, and fill/drawRoundedRectangle do not. Adding one pixel in
> > each direction to these methods works for me.
> >
> > Bradley.
>
> So that's what I was saying about fills. It need to have one pixel more
to
> be the same size. This is true at 100%, so it is true at 300% also.
>
>




Re: Rounding errors in figure drawing -> Sorry, my mistake! [message #156994 is a reply to message #156985] Fri, 05 November 2004 13:53 Go to previous messageGo to next message
Marion Schmid is currently offline Marion SchmidFriend
Messages: 35
Registered: July 2009
Member
Sorry!
I want to cancel my previous question!
I just found my problem in fillShape/outlineShape:

For the reference rectangle in fillShape() and outlineShape I now use

Rectangle r = getBounds().getCopy().shrink((lineWidth-1/2),
(lineWidth-1/2));

and everything works, all zoom steps from 10% to 1000%

Best regards,
Marion

"Marion Schmid" <marion.schmid@sap.com> wrote in message
news:cmfvm1$24p$1@eclipse.org...
> Hello all,
>
> I think I have a similar problem, but it might also be a problem of
coding,
> don't know...
> I added three screenshot to show you the problem I have with zooming and a
> shape, that's done with graphics.drawLine / drawPolygon(..) and
> fillPolygon().
>
> The screenshots I added are at zoom levels 150, 200,210. I also had
problems
> with 100, that's why I think it's maybe my coding where the problem is.
But
> maybe someone of you can tell me why... ??
>
> As you will see in outlineShape(), I tried with drawPolygon and with
> drawLine - both with the same results.
>
> ==== MyShape extends Shape =====
> protected void fillShape(Graphics g) {
> double insetProportion = 0.27;
> Rectangle r = getBounds().getCopy().expand(1,1); //translate(-1,
> 0).shrink((lineWidth-1)/2,(lineWidth-1)/2);
> double cornerInsetX = r.width * insetProportion;
> double cornerInsetY = r.height/2;
> PrecisionPoint pp = new PrecisionPoint(r.getLeft().x + cornerInsetX,
> r.getTop().y+cornerInsetY);
>
> PointList pl = new PointList();
> pl.addPoint(r.getTopLeft());
>
> pl.addPoint(r.getTopRight());
> pl.addPoint(r.getBottomRight());
> pl.addPoint(r.getBottomLeft());
> pl.addPoint(pp);
>
> g.fillPolygon(pl);
> }
>
> protected void outlineShape(Graphics g) {
> Rectangle r = getBounds().getCopy();
>
> double cornerInsetX = r.width * insetProportion;
> double cornerInsetY = r.height/2;
>
> PrecisionPoint pp = new PrecisionPoint(r.getLeft().x + cornerInsetX,
> r.getTop().y+cornerInsetY);
>
> // ### polygon version ###
> PointList pl = new PointList();
> pl.addPoint(r.getTopLeft());
>
> pl.addPoint(r.getTopRight());
> pl.addPoint(r.getBottomRight());
> pl.addPoint(r.getBottomLeft());
> pl.addPoint(pp);
>
> g.drawPolygon(pl);
>
> // ### drawLine version ### /**
> g.drawLine(r.getTopLeft(), r.getTopRight());
> g.drawLine(r.getBottomRight(), r.getTopRight());
> g.drawLine(r.getBottomLeft(), r.getBottomRight());
> g.drawLine(r.getBottomLeft(), pp);
> g.drawLine(pp, r.getTopLeft());
> */
> }
>
>
> ====== MyEditPart =========
> protected IFigure createFigure() {
>
> MyShape ppfigure = new MyShape();
> ppfigure.setLayoutManager(new BorderLayout());
> ppfigure.setOpaque(false);
>
>
ppfigure.setBackgroundColor(ColorConstants.VisualComposerCol ors.COLOR_RED_AC
> TIVE);
>
>
ppfigure.setForegroundColor(ColorConstants.VisualComposerCol ors.COLOR_RED_BO
> RDER);
>
> return ppfigure;
> }
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:cf8ea5$22m$1@eclipse.org...
> > "Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
> > news:cf3mnb$j52$1@eclipse.org...
> > > For me, fillPolygon and drawPolygon zoom ok. fill/drawRectangle,
> > > fill/drawOval, and fill/drawRoundedRectangle do not. Adding one pixel
in
> > > each direction to these methods works for me.
> > >
> > > Bradley.
> >
> > So that's what I was saying about fills. It need to have one pixel more
> to
> > be the same size. This is true at 100%, so it is true at 300% also.
> >
> >
>
>
>
Re: Rounding errors in figure drawing -> Sorry, my mistake! [message #157336 is a reply to message #156994] Mon, 08 November 2004 22:35 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The trick is you cannot draw on your bottom and right edges of your bounds.
You should try calling fillRectangle(getBounds()), and compare your polygon
to that rectangular area. You should be able to overlap it completely.
"Marion Schmid" <marion.schmid@sap.com> wrote in message
news:cmg0l0$bk5$1@eclipse.org...
> Sorry!
> I want to cancel my previous question!
> I just found my problem in fillShape/outlineShape:
>
> For the reference rectangle in fillShape() and outlineShape I now use
>
> Rectangle r = getBounds().getCopy().shrink((lineWidth-1/2),
> (lineWidth-1/2));
>
> and everything works, all zoom steps from 10% to 1000%
>
> Best regards,
> Marion
>
> "Marion Schmid" <marion.schmid@sap.com> wrote in message
> news:cmfvm1$24p$1@eclipse.org...
> > Hello all,
> >
> > I think I have a similar problem, but it might also be a problem of
> coding,
> > don't know...
> > I added three screenshot to show you the problem I have with zooming and
a
> > shape, that's done with graphics.drawLine / drawPolygon(..) and
> > fillPolygon().
> >
> > The screenshots I added are at zoom levels 150, 200,210. I also had
> problems
> > with 100, that's why I think it's maybe my coding where the problem is.
> But
> > maybe someone of you can tell me why... ??
> >
> > As you will see in outlineShape(), I tried with drawPolygon and with
> > drawLine - both with the same results.
> >
> > ==== MyShape extends Shape =====
> > protected void fillShape(Graphics g) {
> > double insetProportion = 0.27;
> > Rectangle r = getBounds().getCopy().expand(1,1); //translate(-1,
> > 0).shrink((lineWidth-1)/2,(lineWidth-1)/2);
> > double cornerInsetX = r.width * insetProportion;
> > double cornerInsetY = r.height/2;
> > PrecisionPoint pp = new PrecisionPoint(r.getLeft().x + cornerInsetX,
> > r.getTop().y+cornerInsetY);
> >
> > PointList pl = new PointList();
> > pl.addPoint(r.getTopLeft());
> >
> > pl.addPoint(r.getTopRight());
> > pl.addPoint(r.getBottomRight());
> > pl.addPoint(r.getBottomLeft());
> > pl.addPoint(pp);
> >
> > g.fillPolygon(pl);
> > }
> >
> > protected void outlineShape(Graphics g) {
> > Rectangle r = getBounds().getCopy();
> >
> > double cornerInsetX = r.width * insetProportion;
> > double cornerInsetY = r.height/2;
> >
> > PrecisionPoint pp = new PrecisionPoint(r.getLeft().x + cornerInsetX,
> > r.getTop().y+cornerInsetY);
> >
> > // ### polygon version ###
> > PointList pl = new PointList();
> > pl.addPoint(r.getTopLeft());
> >
> > pl.addPoint(r.getTopRight());
> > pl.addPoint(r.getBottomRight());
> > pl.addPoint(r.getBottomLeft());
> > pl.addPoint(pp);
> >
> > g.drawPolygon(pl);
> >
> > // ### drawLine version ### /**
> > g.drawLine(r.getTopLeft(), r.getTopRight());
> > g.drawLine(r.getBottomRight(), r.getTopRight());
> > g.drawLine(r.getBottomLeft(), r.getBottomRight());
> > g.drawLine(r.getBottomLeft(), pp);
> > g.drawLine(pp, r.getTopLeft());
> > */
> > }
> >
> >
> > ====== MyEditPart =========
> > protected IFigure createFigure() {
> >
> > MyShape ppfigure = new MyShape();
> > ppfigure.setLayoutManager(new BorderLayout());
> > ppfigure.setOpaque(false);
> >
> >
>
ppfigure.setBackgroundColor(ColorConstants.VisualComposerCol ors.COLOR_RED_AC
> > TIVE);
> >
> >
>
ppfigure.setForegroundColor(ColorConstants.VisualComposerCol ors.COLOR_RED_BO
> > RDER);
> >
> > return ppfigure;
> > }
> >
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:cf8ea5$22m$1@eclipse.org...
> > > "Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
> > > news:cf3mnb$j52$1@eclipse.org...
> > > > For me, fillPolygon and drawPolygon zoom ok. fill/drawRectangle,
> > > > fill/drawOval, and fill/drawRoundedRectangle do not. Adding one
pixel
> in
> > > > each direction to these methods works for me.
> > > >
> > > > Bradley.
> > >
> > > So that's what I was saying about fills. It need to have one pixel
more
> > to
> > > be the same size. This is true at 100%, so it is true at 300% also.
> > >
> > >
> >
> >
> >
>
>
Previous Topic:source code for Logic example?
Next Topic:how to fillGradient in shapes other than rectangle
Goto Forum:
  


Current Time: Fri Apr 19 04:43:44 GMT 2024

Powered by FUDForum. Page generated in 0.02736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top