LC cannot duplicate small grcs

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10354
Joined: Wed May 06, 2009 2:28 pm

LC cannot duplicate small grcs

Post by dunbarx » Sat Apr 22, 2017 1:02 am

Really small, true, but still.

Make any graphic, so that the extent is only a few pixels V and H, and try to either duplicate, copy and paste or clone.I actually need to do this.

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: LC cannot duplicate small grcs

Post by FourthWorld » Sat Apr 22, 2017 1:11 am

This works here (LC 9dp6):

Code: Select all

on mouseUp
   create grc
   set the width of grc 1 to 4
   set the height of grc 1 to 4
   clone grc 1
end mouseUp
What do you get?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: LC cannot duplicate small grcs

Post by [-hh] » Sat Apr 22, 2017 3:53 am

Hi Craig.

In case the enlarging of copied small graphics when pasting is the problem:
This is a "feature" for old eyes, was recently in the discussion somewhere (if not a feature request to decrease the 'limits' for that). I think Bernd was 'active' with that, he certainly will come in --- early or late.

Hermann

Edit. Changed 'sooner or later' to 'early or late' ;-)
Last edited by [-hh] on Sat Apr 22, 2017 11:17 pm, edited 2 times in total.
shiftLock happens

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: LC cannot duplicate small grcs

Post by bn » Sat Apr 22, 2017 5:39 am

Hi Craig,

this came up on the use-list a while ago

It is described here including discussion link to use-list.
http://quality.livecode.com/show_bug.cgi?id=18966

as of LC 9 DP4 you can copy, clone etc graphics smaller than 9 by 9 px.

@Hermann,
I think Bernd was 'active' with that, he certainly will come in --- sooner or later.
thanks a lot, Hermann, that is why I woke up at 5:30 am and could not sleep anymore :)

Kind regards

Bernd

Post Reply