MESSAGE
DATE | 2021-04-01 |
FROM | Carl Johnson via gimp-user-list
|
SUBJECT | Re: [Hangout - NYLXS] [Gimp-user] gimp-user-list Digest, Vol 114,
|
Can you have GDB Standard C implement the functions as a structured variable capable of defining its default values, initialized to zero, as a state machine object that would store its return value in its own structure data members such that it may manipulate its values while it is functioning? This would be useful for converting functions to independent state machines which can be evaluated with any logic and, the extra benefit that if they are a structure, the structures may be compared if they are of the same type...
//Structure of Basic data type with default values for the variable: function: {
typedef function(void){ //K&R prototype, would using it accomplish the same thing? static typedef struct function{ char *name = NULL; sizet_t value = 0; } volatile function * = (function) malloc(sizeof(function)) ; return Basic; }
while(function != function()) //This loop calls function by stored variable state value and compares it with a function call to the function which returns its value { //Loop compares the entire state, tests for specific value within the struct Basic function variable from within the function() call if (function.value == 100){ break; } else { function.value += 1; //Increase the value of function.value member } }
}
On Wed, Mar 31, 2021 at 7:00 AM wrote:
> Send gimp-user-list mailing list submissions to > gimp-user-list-at-gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.gnome.org/mailman/listinfo/gimp-user-list > or, via email, send a message with subject or body 'help' to > gimp-user-list-request-at-gnome.org > > You can reach the person managing the list at > gimp-user-list-owner-at-gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gimp-user-list digest..." > > > Today's Topics: > > 1. (no subject) (ryan lague) > 2. Re: (no subject) (Ofnuts) > 3. Re: (no subject) (Liam R E Quin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 30 Mar 2021 13:13:24 +0000 > From: ryan lague > To: "gimp-user-list-at-gnome.org" > Subject: [Gimp-user] (no subject) > Message-ID: > < > ME1PR01MB08347C4E24E749AFDB6D3DBB807D9-at-ME1PR01MB0834.ausprd01.prod.outlook.com > > > > Content-Type: text/plain; charset="us-ascii" > > Hey > How do I set the aspect ratio or image ratio > Say to 4:3 > > Sent from Mail for > Windows 10 > > > > ------------------------------ > > Message: 2 > Date: Tue, 30 Mar 2021 15:30:52 +0200 > From: Ofnuts > To: gimp-user-list-at-gnome.org > Subject: Re: [Gimp-user] (no subject) > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Answer: not by scaling. If you don't scale horizontally and vertically > by the same factor, the image will be distorted. To giver you image a > 4:3 ratio; you either have to cut one dimension or to add space in the > other. > > A Crop tool option lets you constrain the aspect-ratio of what you crop, > and another will also let you extend the image by cropping (call it > reverse-crop). This latter action will create empty space that you have > to fill somehow. > > > On 30/03/2021 15:13, ryan lague via gimp-user-list wrote: > > Hey > > How do I set the aspect ratio or image ratio > > Say to 4:3 > > > > Sent from Mail for > Windows 10 > > > > _______________________________________________ > > gimp-user-list mailing list > > List address: gimp-user-list-at-gnome.org > > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > > List archives: https://mail.gnome.org/archives/gimp-user-list > > > > > ------------------------------ > > Message: 3 > Date: Tue, 30 Mar 2021 12:44:22 -0400 > From: Liam R E Quin > To: ryan lague , "gimp-user-list-at-gnome.org" > > Subject: Re: [Gimp-user] (no subject) > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > On Tue, 2021-03-30 at 13:13 +0000, ryan lague via gimp-user-list wrote: > > Hey > > How do I set the aspect ratio or image ratio > > Say to 4:3 > > You can use the crop tool, choose "fixed aspect ratio" and enter 4:3/ > > Aalternately you can use the menu item image?scale image: > enter two numbers that are in that ratio, to squish or stretch your > image so it fits. > > You can get GIMP to do the calculation for you with scale image, too: > if your image is 3019 x 2807 pixels in size, leave the width as 3019, > and change the height to > 3019 * 3/4 > Or, leave the width at 2807 and change the height to > 2807 * 4/3 > Then press tab and gimp will work out the numbers. > > Liam > > -- > Liam Quin - web slave for https://www.fromoldbooks.org/ > > Full-time slave in voluntary servitude > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > gimp-user-list mailing list > gimp-user-list-at-gnome.org > https://mail.gnome.org/mailman/listinfo/gimp-user-list > > > ------------------------------ > > End of gimp-user-list Digest, Vol 114, Issue 13 > *********************************************** > _______________________________________________ gimp-user-list mailing list List address: gimp-user-list-at-gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|