FortySecondsCV icon indicating copy to clipboard operation
FortySecondsCV copied to clipboard

Set corners to be rounded for profile pic dynamically

Open PandaScience opened this issue 4 years ago • 1 comments

Ok, so the idea is to let the user decide which corners of the profile pic are rounded and which ones are not. This came up in #36 .

PandaScience avatar Jun 14 '21 20:06 PandaScience

something like "profilepictureroundXOOO" for example

I probably would not go with XOOO, OXOO, OOXX etc. Too many permutations and you had to parse the variable somehow or, alternatively, create a lot of code.

What about introducing a new class option (first rename profilepicroundedcorners to profilerounded -> used only internally):

% current default 
profilepicroundedcorners={topleft, bottomright}

% all rounded
profilepicroundedcorners={topleft, topright, bottomleft, bottomright}

But I'm not sure if one can pass multiple values to a key with the xkeyval package. Need to look that up...

PandaScience avatar Jun 14 '21 21:06 PandaScience