Marker image sizes
Jacques Hausser
jacques.hausser at unil.ch
Mon Aug 11 04:26:09 EDT 2014
Hi Jacque,
Trying to build a 12x12 round marker, I realized that the markers coordinates 0,0 are positioned on the polygon vertex... so my previous circle was not correctly centered. And, a circle of 8x8 or 12x12 never will, you have to use odd numbers of pixels to have the marker well centered !
so, a 7x7 circle:
0,-3,1,-3,2,-2,3,-1,3,0,3,1,2,2,1,3,0,3,-1,3,-2,2,-3,1,-3,0,-3,-1,-2,-2,-1,-3,0,-3
and a 11x11 circle:
0,-5,1,-5,2,-4,3,-4,4,-3,4,-2,5,-1,5,0,5,1,4,2,4,3,3,4,2,4,1,5,0,5,-1,5,-2,4,-3,4,-4,3,-4,2,-5,1,-5,0,-5,-1,-4,-2,-4,-3,-3,-4,-2,-4,-1,-5,0,-5
Jacques
> On 8/10/2014, 7:25 PM, Jacques Hausser wrote:
>> An the "inner glow" gives a decent result. What's boring is to set
>> the points for a 8 x 8 circle... I offer it to you ;-)
>> 2,0,3,0,4,0,5,0,6,1,7,2,7,3,7,4,7,5,6,6,5,7,4,7,3,7,2,7,1,6,0,5,0,4,0,3,0,2,1,1,2,0
******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel: ++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.hausser at unil.ch
*******************************************
More information about the use-livecode
mailing list