Tomasz,

I would prefer a new plot command that combined new features together  
like Variable plot thickness and Plot Z order, but perhaps that is  
already your intention.

Dennis

On May 4, 2007, at 3:06 AM, Tomasz Janeczko wrote:

> 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" <[EMAIL PROTECTED]>
> To: <[email protected]>
> 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

Reply via email to