PureBytes Links
Trading Reference Links
|
Hello,
Well sometimes it is easier to add something completely new than
to deal with old stuff because you need to be very careful about "habits".
styles are binary flags to be combined together like
styleThick | styleLine | styleOwnScale
Making extra thickness as more than one "style" is not good idea because
some may start trying non-sense combinations like:
styleThick | styleThick3 | styleThick7 | styleOwnScale
Plus there are only 32 style bits available in the 32 bit style field and there
is simply no room for 10 styles just for thickness.
Therefore extra thickness will need to be handled as extra parameter of Plot()
function. Problem is that to maintain backward compatibility you can not
change the order of existing parameters so any extra param needs to go
at the very end of parameter list. Plot has already 7 parameters
http://www.amibroker.com/guide/afl/afl_view.php?plot
and adding width will make it 8. Then I will hear lament that it is not "easy to use"
because you need to specify all 8 params in order to specify width.
The other option is to add new PlotEx function with different parameter ordering
and keeping Plot() untouched.
Either one or second idea will be eventually implemented.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "scourt2000" <stevehite@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 04, 2007 8:54 AM
Subject: [amibroker] A case for not going low level: a simple example
>
> Hi Tomasz,
>
> I understand that now there's a capability to draw thicker lines
> with the added low-level interface. But, given the level of your
> average user, don't you think the general solution to this problem
> could be something as simple as adding 10 constants to the
> styleThick parameter?
>
> styleThick1, styleThick2, styleThick3...styleThick10
>
> Where the number on the end represents the thickness of the line, in
> pixels, drawn in a Plot() function?
>
> I've had this suggestion in the official queue for quite some time
> and it seems like a far easier thing to do for the user instead of
> dropping down to the Gfx group of functions for the everyday Plot()
> functions that people use.
>
> Thanks for reconsidering this,
>
> Steve
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|