Re: Max number of colors on a gradient

2016-11-21 Thread Colin Holgate
I don’t know what colorspace LiveCode uses, but for gradients there are only 
256 levels in 24 bit color. If you’re seeing 1024 gradients elsewhere, that’s 
30 bit color, which is not common.

There is dithering to try to make less levels look like more levels.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Max number of colors on a gradient

2016-11-21 Thread Alejandro Tejada
Hi All,

I was testing the practical limitations
of svg and LiveCode graphics and
noticed that a svg with 1024 gradients
displayed fine in the browser, but shows
a lot of banding, moire and noise
within LiveCode.

Very similar to this image:
http://www.123rf.com/clipart-vector/moire.html?mediapopup=38363779

According to SKIA, How many colors
could we add safely to a gradient?
What are the practical limits
of this feature?

Al

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Box2D Physics Engine

2016-11-21 Thread Alejandro Tejada
Hi All,

On the forum, ClipArtGuy wrote:
> FWIW, the Box2D Physics Engine goal
> was also met and has also been dropped
> from the roadmap.

http://forums.livecode.com/viewtopic.php?f=10&t=28290&p=148671#p148314

Which LiveCode version includes Box2D?

Al

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Perspective Distortion of an image (was: Type on an angle)

2016-11-21 Thread Bob Sneidar
That is quite nice, and I think a great example of what LC can do simply on an 
algorithmic level without requesting a new feature or set of commands or 
external. Almost everything can be worked around or solved, if real time 
performance is not a requirement.

Bob S


On Nov 21, 2016, at 10:39 , Alejandro Tejada 
mailto:capellan2...@gmail.com>> wrote:

Hi Hermann,

On Sun, 20 Nov 2016, Hermann wrote:
** Perspective Distortion of an image **
available (fast) at "Sample stacks" of the IDE toolbar or (slower) at
http://livecodeshare.runrev.com/stack/812/Perspective-Image-Distortion
The stack includes is an example for (close to) live-distorting a field's
image, uses font 'Aclonica' at 48 point.

Amazing work, Hermann! :D
Many Thanks for sharing all these Math Gems.

How about this for a new challenge?
https://www.willmcgugan.com/blog/tech/post/a-texture-mapped-spinning-3d-globe-rendered-with-javascript-and-html/

Alejandro

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Compound Path SVG Breaks in Widget?

2016-11-21 Thread Sannyasin Brahmanathaswami
Aloha, Paul:

Hmmm there's a huge difference between illustrator output 

M112,0H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,0Zm0,44H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,44Zm0,44H12a12,12,0,0,0,0,24H112A12,12,0,0,0,112,88Z

and 

Affinity output

M112,0l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 
-12,-12Zm0,44l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 
-12,-12Zm0,44l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 -12,-12Z

Illustrator there are a variety of settings in the SVG export… but none of them 
change the string we see above.  but the SVG profile option is missing today… 
now sure why… 

OT: I keep resisting Adobe suite updates I disabled their update deamon and 
been sitting on '15 forever… I may need to update.

Though I think affinity may be a good tool to have… as I find illustrator less 
than user friendly.

BR

 

On 11/20/16, 12:57 PM, "use-livecode on behalf of Paul Hibbert" 
 wrote:

Just re-created your SVG from the SVG text and opened the file in Affinity 
Designer, then exported it as SVG, converted back to text and then extracted 
the SVG paths:

M112,0l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 
-12,-12Zm0,44l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 
-12,-12Zm0,44l-100,0c-6.583,0 -12,5.417 -12,12c0,6.583 5.417,12 
12,12l100,0c6.583,0 12,-5.417 12,-12c0,-6.583 -5.417,-12 -12,-12Z

Pasted that into an SVG Icon widget and it works fine, so I guess it’s 
something to do with the way Illustrator exports the data, are there any 
options to try? Maybe compression?

Paul

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Type on an angle

2016-11-21 Thread Sannyasin Brahmanathaswami
And if your target is a static, image "in perspective" speed is not an issue.. 
This can be a production tool. then cut and paste.

Yes, marvelous!

BR

 

On 11/20/16, 3:54 PM, "use-livecode on behalf of Scott Rossi" 
 
wrote:

This is great.  True, it runs a bit slowly in 7/8, but scripted image
calculations have always been this way, and having any option at all in LC
to do this type of manipulation is very welcome.  A few of us have been
wanting something like this for years.

Thanks for this great example.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 11/20/16, 9:11 AM, "use-livecode on behalf of hh"
 wrote:

>** Perspective Distortion of an image **
>available (fast) at "Sample stacks" of the IDE toolbar or (slower) at
>http://livecodeshare.runrev.com/stack/812/Perspective-Image-Distortion
>
>The stack includes is an example for (close to) live-distorting a field's
>image, uses font 'Aclonica' at 48 point.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Perspective Distortion of an image (was: Type on an angle)

2016-11-21 Thread Alejandro Tejada
Hi Hermann,

On Sun, 20 Nov 2016, Hermann wrote:
> ** Perspective Distortion of an image **
> available (fast) at "Sample stacks" of the IDE toolbar or (slower) at
> http://livecodeshare.runrev.com/stack/812/Perspective-Image-Distortion
> The stack includes is an example for (close to) live-distorting a field's
> image, uses font 'Aclonica' at 48 point.

Amazing work, Hermann! :D
Many Thanks for sharing all these Math Gems.

How about this for a new challenge?
https://www.willmcgugan.com/blog/tech/post/a-texture-mapped-spinning-3d-globe-rendered-with-javascript-and-html/

Alejandro

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Macintosh support

2016-11-21 Thread Richmond

"nothing is stopping you from developing with LC versions prior to 9"

indeed: I'm refactoring, recoding, rejigging and generally have a "fun 
time" moving my Devawriter Pro

from LiveCode 4.5 (which is seriously long in the tooth) to 8.1.1

and, as long as I can get the thing to work on Windows 10 and Mac OS 
10.12 I will be

entirely happy.

The move from "set the unicodeText" to a universal "set the text" is 
Fantastic, and will keep me

very happy indeed for a very long time to come.

I cannot express how much I like not having to mess around finding 
surrogate pairs for

wierd characters up in the high planes of Unicode . . . just "Wow!"

Richmond.

On 21.11.2016 18:48, Bob Sneidar wrote:

Honestly though, nothing is stopping you from developing with LC versions prior 
to 9. If you use script only stacks for your code libraries, it should be 
fairly easy to conditionally branch for any new features you might want to make 
available which older versions do not support.  And if you say that this is too 
much trouble and you shouldn't be expected to go through all that, well then 
you have just made RunRev's point for them. :-)

Bob S


On Nov 20, 2016, at 04:34 , Richmond 
mailto:richmondmathew...@gmail.com>> wrote:

"LiveCode 9 may still run on OS X 10.7, for the time being"

It does, cheers, cheers!

Having just invested 190 Euros in a 2006 Intel iMac (max OS 10.7) I am extremely
happy about this.

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: GUI Design Tasks Send Back - Bring Forward

2016-11-21 Thread Ali Lloyd
If anyone particularly wants this feature, it would make a nice and fairly
easy community contribution as it only requires changes in the 'revMenuBar'
script only stack.

You would just have to add the appropriate menu items in
revMenuBarObjectContextMenu (probably using the pSelectable parameter to
control the enabled of the menu item) and then add to the switch in
revMenubarContextMenuPickTarget
case "Send to Back"
revIDESendToBack pTarget

etc


On Sun, Nov 20, 2016 at 11:08 PM Sannyasin Brahmanathaswami <
bra...@hindu.org> wrote:

> roger.e.el...@sealedair.com> wrote:
>
> pressing Control-[ or Control-].
>
> OH ..duh! yes completely forgot about those key board shortcuts!
>
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Macintosh support

2016-11-21 Thread Bob Sneidar
Honestly though, nothing is stopping you from developing with LC versions prior 
to 9. If you use script only stacks for your code libraries, it should be 
fairly easy to conditionally branch for any new features you might want to make 
available which older versions do not support.  And if you say that this is too 
much trouble and you shouldn't be expected to go through all that, well then 
you have just made RunRev's point for them. :-)

Bob S


On Nov 20, 2016, at 04:34 , Richmond 
mailto:richmondmathew...@gmail.com>> wrote:

"LiveCode 9 may still run on OS X 10.7, for the time being"

It does, cheers, cheers!

Having just invested 190 Euros in a 2006 Intel iMac (max OS 10.7) I am extremely
happy about this.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Macintosh support

2016-11-21 Thread Bob Sneidar
:-)

Bob S


On Nov 20, 2016, at 04:34 , Richmond 
mailto:richmondmathew...@gmail.com>> wrote:

as the cheapest iMac on the European market currently retails at 1,250 Euros

[ http://www.apple.com/de/shop/buy-mac/imac ]

and runs an OS (10.11 ~ 10.12) that has a GUI I just do not like
(Steve Jobs died, and while he went, arguably, to heaven, the Mac GUI went to 
hell)

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ ANN ] Release 9.0.0 DP-2

2016-11-21 Thread Richard Gaskin

panagiotis merakos wrote:

> We are pleased to announce the release of LiveCode 9.0.0 DP-2.
>
> You can find out more about the release in this blog post:
> https://livecode.com/whats-new-in-livecode-9-0-dp-2/

Thanks! Eagerly awaited, downloading now...

Forward!

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bundling an External into a Windows EXE?

2016-11-21 Thread Richard Gaskin
That's one thing I miss from SuperCard:  externals were embedded within 
the executable so we could deliver truly stand-alone standalones.


I'm not necessarily advocating that LC do the same, but for those of us 
whose projects benefit from single-file deliverables it may make for a 
useful community project to find a way to load them from being part of 
the EXE file without requiring them to be first written to disk as a 
separate file.


--
 Richard Gaskin
 Fourth World Systems


Bob Sneidar wrote:
> I'm going to venture to say no. The whole point to having a dynamic
> linked library is to have it be external to the application, so that
> any updates to the dll can be accomplished without completely
> recompiling the exe. Also, they are designed to be used as shared
> libraries for other apps needing the same functionality.
>
> Ideally, Livecode would put these "dll's" in the apData folder of the
> user, or in a folder where all drivers are accessible, but sandboxing
> has essentially made that impossible, or at least highly problematic,
> with the very real possibility that the next OS version will make it
> impossible.
>
> So into the app folder they go, because LC knows that at least it
> *should* always have access to that one folder. At least that is how
> I see it.
>
> Bob S
>
> On Nov 18, 2016, at 10:55 , Paul Dupuis wrote:
>
> Does anyone have any tricks to bundle an external (revZip in my case)
> into the EXE built by the Standalone maker?
>
> Once really nice thing about the OSX app bundle (a special folder the
> OS treats as a bundle) is that if a use drags an app somewhere,
> everything that belongs to it moves with it. Certain resources, like
> icons, can be bundled into the EXE, using various Windows resource
> editor tools, so that has led me to wonder if there are any tricks to
> folding the dll of an external into the exe in a way that the
> LiveCode engine can find it?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bundling an External into a Windows EXE?

2016-11-21 Thread Bob Sneidar
I'm going to venture to say no. The whole point to having a dynamic linked 
library is to have it be external to the application, so that any updates to 
the dll can be accomplished without completely recompiling the exe. Also, they 
are designed to be used as shared libraries for other apps needing the same 
functionality.

Ideally, Livecode would put these "dll's" in the apData folder of the user, or 
in a folder where all drivers are accessible, but sandboxing has essentially 
made that impossible, or at least highly problematic, with the very real 
possibility that the next OS version will make it impossible.

So into the app folder they go, because LC knows that at least it *should* 
always have access to that one folder. At least that is how I see it.

Bob S

On Nov 18, 2016, at 10:55 , Paul Dupuis 
mailto:p...@researchware.com>> wrote:

Does anyone have any tricks to bundle an external (revZip in my case)
into the EXE built by the Standalone maker?

Once really nice thing about the OSX app bundle (a special folder the OS
treats as a bundle) is that if a use drags an app somewhere, everything
that belongs to it moves with it. Certain resources, like icons, can be
bundled into the EXE, using various Windows resource editor tools, so
that has led me to wonder if there are any tricks to folding the dll of
an external into the exe in a way that the LiveCode engine can find it?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ ANN ] Release 9.0.0 DP-2

2016-11-21 Thread panagiotis merakos
Dear list members,

We are pleased to announce the release of LiveCode 9.0.0 DP-2.

You can find out more about the release in this blog post:
https://livecode.com/whats-new-in-livecode-9-0-dp-2/

Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your
stacks before testing them.

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.

Release Contents

LiveCode  9.0.0 DP-2. contains exciting new features, bug fixes, stability
and security improvements.

In total, 23 bugs have been fixed since the last development preview
release (LiveCode 9.0.0 DP-1).

Moreover, we had several contributions from the community, in both the
Documentation and the LiveCode IDE:

Devin Asay
KailasNatha
Paul McClernan
Sean Cole
Trevor DeVore
seaniepie
BerndN
Mark Wieder
angerangel

Thank you all :)

The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_2.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93

Have fun!

The LiveCode Team
--
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sharing widgets (was Re: Type on an angle)

2016-11-21 Thread Richard Gaskin

AndyP wrote:

> Ben wrote:
>> What is a good answer to zryip's question below, where should
>> interesting third-party widgets be shared?
>
> The widget could be uploaded as a zip to the Sample Stacks.
> There are a couple there already.
>
> This would help to make the user widgets easier to find for all LC
> users.

Yep.

A file can of course be uploaded anywhere, but if we use the facility 
designed for sharing extensions it'll make things that much easier for 
everyone to find today, and in the future as the Sample Stacks/revOnline 
repo is updated.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sharing widgets (was Re: Type on an angle)

2016-11-21 Thread hh
> > > zyrip wrote: Where can I share it?
> > Ben wrote: What is a good answer to zryip's question below,
> > where should interesting third-party widgets be shared?
> Andy wrote: The widget could be uploaded as a zip to the
> Sample Stacks. There are a couple there already.

If you mean snippets or widgets for the community, then
you could write a post here (please number it as I did,
so it's **easier to refer** to it):

Community Snippets:
   http://forums.livecode.com/viewtopic.php?f=93&t=28225
Community Widgets:
   http://forums.livecode.com/viewtopic.php?f=93&t=28020

If the zip is less than 256 KByte you can also upload it to
the forum.
In "Sample Stacks"/livecodeshare there is currently one single
_LCB widget_ (there are more LCS groups, also called 'widgets').

This is my proposal:
No matter where you upload it if not the forum: Please number the
widget/snippet in a forum post in Community Widgets/Snippets and
link there to the download location.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iTunes Connect rejection

2016-11-21 Thread Mark Waddingham

Hi Andrew,


Recompiled the same LiveCode file using 8.1.1 and Xcode 8 (I know
store multiple versions of Xcode and Android tools on an external hard
drive) and submitted to Apple as usual; though I did need to bump up
the build number since there was already an existing binary with that
value.


Do you consistently get the same problem if you recompile with 
8.1.2-rc-2?


If so, could you compile your app and send the compiled binary to us so 
we can inspect it? The engine certainly doesn't use those calls (there 
is no reference to them in the engine source), so it might well be a 
false-positive on Apple's part (when statically checking the binary).


It *could* be that a name of one of the (public) symbols in the engine 
is confusing their system.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iTunes Connect rejection

2016-11-21 Thread Mid West Coast Media
Upgraded to 8.1.2rc2 and Xcode 8.1 (Mac 10.11.5) and compiled a build to update 
an existing app. Submitted build got pre-rejected with the following immediate 
response email from Apple:

quote

Dear developer,
We have discovered one or more issues with your recent delivery for "Indiana On 
Tap". To process your delivery, the following issues must be corrected:

Non-public API usage:

The app references non-public symbols in Indiana On Tap: _getcontext, 
_makecontext, _setcontext
If method names in your source code match the private Apple APIs listed above, 
altering your method names will help prevent this app from being flagged in 
future submissions. In addition, note that one or more of the above APIs may be 
located in a static library that was included with your app. If so, they must 
be removed.

/quote 

Recompiled the same LiveCode file using 8.1.1 and Xcode 8 (I know store 
multiple versions of Xcode and Android tools on an external hard drive) and 
submitted to Apple as usual; though I did need to bump up the build number 
since there was already an existing binary with that value. 

Not sure what the problem was, or if anyone else had experienced this. 

--Andrew Bell
--Sent from my iPhone
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sharing widgets (was Re: Type on an angle)

2016-11-21 Thread AndyP
The widget could be uploaded as a zip to the Sample Stacks.
There are a couple there already.

This would help to make the user widgets easier to find for all LC users.



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Sharing-widgets-was-Re-Type-on-an-angle-tp4710479p4710480.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Sharing widgets (was Re: Type on an angle)

2016-11-21 Thread Ben Rubinstein
This sounds great! I don't know the correct answer to the question, but I'd 
certainly like to see the widget. If nothing else perhaps you could share a 
dropboxlink or similar with the list.


What is a good answer to zryip's question below, where should interesting 
third-party widgets be shared?


Ben

On 20/11/2016 13:07, zryip theSlug wrote:
> Hi,
>
> The only widget I created so far is an orientable text with the
> following properties:
> - label
> - angle
> - font name
> - font size
> - font color
> - font color opacity
> - background color
> - background opacity
>
> I created it long time ago with the very first LC version supporting
> widgets and have updated the code for following the LCB syntax
> changes. I've stopped to play with widgets after this, so the code is
> far to be neat but I can share it if someone need it or want to
> improve it.
>
> Where can I share it?
>
>
> Best Regards,
>

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] This Week in LiveCode 60

2016-11-21 Thread Peter TB Brett

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #60 here: https://goo.gl/iczS1e


This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Adding Effects to widgets

2016-11-21 Thread hh
> BR wrote:
> > hh wrote:
> > > Jeanne D. wrote:
> > > Can you put it in a group and set a drop shadow for the group?
> > This is a real smart trick: Grouping (one or more) widgets.
> > Not only for "adding" bitmap-effects to the widget, also for
> > astounding visual effects by certain combinations of the widget's
> > ink and the group's ink.
> HH: what is one or two examples of an "astounding visual effect"
> that you achieved?

Here are some examples: Just vary below the ink of the group.
Of course the effects need a min-Size of the widget for being notable. 
The list has certainly users that have more experience and skills with
using inks than I have.

widget gR ="readingIcon" (com.livecode.widget.svgpath)
[a] the ink of widget gR is "srcCopy"
[b] the foreGroundColor of widget gR is "250,220,160"
[c] the hiliteColor of widget gR is "127,127,127"

widget group gRg="readingIconGroup"
[A] the opaque of grp gRg is false --> important!
[B0] the ink of grp gRg is "blendMultiply"
[B1] the ink of grp gRg is "blendDifference"
[B2] the ink of grp gRg is "blendDstIn" --> 'masking' transparent
[B3] the ink of grp gRg is "blendDstOut" --> 'masking' black
[B4] the ink of grp gRg is ... (depending on background)
[C] the dropshadow is
  angle,60
  blendmode,normal
  color,0,0,0
  distance,1
  filter,box3pass
  knockout,true
  opacity,255
  size,3
  spread,0
[D] the innerGlow of grp gRg is
  blendmode,normal
  color,0,0,0
  filter,box3pass
  opacity,255
  size,2
  spread,0

I also used especially innerGlow with the SVG_Text-widget, which has
more options (for example don't fill the path, just stroke/outline it).

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Type on an angle

2016-11-21 Thread hh
> Scott R. wrote:
> > Hermann H. wrote:
> > Adding a 'native' angle property doesn't turn a bitmap display into a
> > raster display based on postscript/pdf.
> > Adobe Photoshop and Illustrator use postscript/pdf for each and every
> > single glyph. They dont have rotated fields (seen as controls). They even
> > don't have a rotated _postscript_ insertion cursor for 'rotated editing'.
> 
> Just for the record, the above may be correct from a technical standpoint,
> but is inaccurate with regard to what is presented to users.
> The embedded screen capture below may not arrive on the list intact, but
> illustrates the point.
> Also provided is the option to assign orientation to text.

This is exactly what I meant. They display simply a rotated text path,
rastered from postscript/pdf, NOT a rotated field object. Or does editing
also work while the text stays at an angle of 35 degrees, in several lines,
text alignment centered, having 'vertical' or 'horizontal' scrollbars?

This kind of display and editing rotated Text is already also possible in
LC Builder (a 'real' selfmade-cursor, which is AFAIK still a bitmap, at
multiple of 90 degrees only).

For the problem of rotating a bitmap cursor MaxV started back in 2014
a thread in the forum. There is a 'rough' solution.
http://forums.livecode.com/viewtopic.php?f=9&t=21743#p111632

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode