Naive question number 3374

Mark Waddingham mark at livecode.com
Wed May 6 15:30:32 EDT 2015


The brush tool requires you to specify a brush image to use ('the brush' property I think...) - it's an 'alternative' approach to drawing a thick line which isn't the same as the pencil or line tool ;)

Mark.

Sent from my iPhone

> On 6 May 2015, at 20:25, Richmond <richmondmathewson at gmail.com> wrote:
> 
>> On 06/05/15 22:11, Mark Waddingham wrote:
>> From memory I think the pencil tool is only ever one pixel wide.
>> 
>> I believe there's a line tool which might work in this case, alternatively there's the brush tool.
> 
> Thanks.
> 
> line  works exactly "as promised"
> 
> brush, as in:
> 
> on mouseUp
>   choose brush tool
>   set the lineSize to 3
>   set the showPen of card id 1002 to true
>   drag from 100,100 to 250,250
> end mouseUp
> 
> does NOT work.
> 
> Richmond.
> 
>> 
>> Mark.
>> 
>> Sent from my iPhone
>> 
>>>> On 6 May 2015, at 20:02, Richmond <richmondmathewson at gmail.com> wrote:
>>>> 
>>>> On 06/05/15 21:56, Eric Corbett wrote:
>>>> Try lineSize
>>> If you had taken the trouble to read my e-mail right through you wouldn't have written that.
>>> 
>>>> set the lineSize to 3
>>>> 
>>>>>> On May 6, 2015, at 11:25 AM, Richmond <richmondmathewson at gmail.com> wrote:
>>>>>> 
>>>>>> On 06/05/15 15:42, BNig wrote:
>>>>>> on mouseUp
>>>>>>    choose pencil tool
>>>>>>    drag from 10,10 to 100,100
>>>>>>    choose browse tool
>>>>>> end mouseUp
>>>>> Um; nothing special I'm afraid to say: drew the line.
>>>>> 
>>>>> Currently I'm wondering why I seem unable to produce a thick line (maybe I'm being a bit thick?):
>>>>> 
>>>>> neither:
>>>>> 
>>>>> set the lineSize to 3
>>>>> 
>>>>> nor:
>>>>> 
>>>>> set the penWidth to 3
>>>>> set the penHeight to 3
>>>>> 
>>>>> [LiveCode 6.7.4]
>>>>> 
>>>>> do anything at all.
>>>>> 
>>>>> Richmond.
>>>>> 
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list