Skip to content
CodeByDesign
Menu
  • Software
  • Blog
  • About
Menu

Category: Euphemia

Merva

Posted on April 8, 2023April 8, 2023 by pharvey

I really like how Euphemia has shaped up internally. It is better than Merva in a number of ways. I applied what I learned from Merva but did some things better. This would not have been easy in Merva as there is so much code to change to even try some ideas out. I guess;…

Read more

Save/Load

Posted on April 1, 2023April 1, 2023 by pharvey

When there is a single layer of raster the file format is an image (PNG or similar). Spent a bit of time considering using SVG as the file format for the vector layers. I may consider doing a SVG specific layer but SVG does not support some important things. Layers are not really supported in…

Read more

2D/Vector Layer

Posted on March 27, 2023March 27, 2023 by pharvey

A new layer has been added – this one as a dynamic plugin. The advantage of dynamic plugins is that they are loaded at runtime – so they do not have to be compiled/linked with the app. The only real challenge is that they do not share the same global name space as the app…

Read more

Layers Are Now Plugins

Posted on March 21, 2023 by pharvey

Have the app building and running with Layers being provided via plugins. The; paint, transparent, and grid layers are via a static plugin. More to do to complete this task but just a few days and then on to introducing the diagramming layer(s) – as dynamic.

Read more

Big Merge

Posted on March 11, 2023March 11, 2023 by pharvey

In the Bahamas splitting my time between vacation and coding. I started implementing the vector drawing layer. This started with just doing it from scratch and then switched to using Merva diagramming as a reference (as I felt like I was redoing a lot of work I had in Merva), then trying to merge Merva…

Read more

Euphemia: Layers

Posted on March 8, 2023 by pharvey

I have the layers working – but just for raster at the moment.

Read more

Euphemia: Layers

Posted on March 5, 2023March 5, 2023 by pharvey

Spent most of my time today getting dynamic cursors working. For example; FreeHand, Spray, and Erase now show an image reflective of the pen/eraser as the mouse is moved about the canvas. Spent the the rest of the day getting ready for ‘layers’. I will be introducing multiple layers with each layer being either a…

Read more

Euphemia: Icons

Posted on March 4, 2023 by pharvey

Using Euphemia to create its own icons. In this example I created the icon for gradient fill. I used linear gradient fill to create the paint can (and then used a shape transform to rotate it). I then used a filled-polygon to create the ‘spill’ area which I then refilled with another linear gradient. Finally;…

Read more

Euphemia: More Shapes

Posted on March 2, 2023March 2, 2023 by pharvey

Added; arc, chord, and pie shapes. Improved rectangle to allow corners to be rounded. Rectangle based shapes can now be restricted to be square/circle instead of rectangle/ellipse. I got a little lost (for about a day) with implementing the new shapes. A few variables involved; origin changes (top left, bottom left, center), polar vs cartesian,…

Read more

Euphemia: Aliasing

Posted on February 27, 2023February 27, 2023 by pharvey

These are the three views of an image. The main view is heavily zoomed – which turns on the pixel grid. It does not make sense to have a pixel grid in the main view otherwise. The main view has an area selected for the ‘Pixels’ window. The big difference between the two is that…

Read more
  • 1
  • 2
  • Next
© 2023 CodeByDesign | Powered by Minimalist Blog WordPress Theme