Jump to content

AhmedElyamani

Members
  • Posts

    201
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by AhmedElyamani

  1. Hello, I've been writing plugins with Code Lap , to learn more and to practice.. any way i wrote these Lines To Render Gird lines.. #region UICode int Amount1 = 10; // [0,100] Width int Amount2 = 10; // [0,100] Height ColorBgra Amount3 = ColorBgra.FromBgr(0,0,0); // Color #endregion void Render(Surface dst, Surface src, Rectangle rect) { // Declerations Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); Graphics g = new RenderArgs(dst).Graphics; System.Drawing.Pen mypen= new System.Drawing.Pen(Amount3); //Grid Lines for (int w=0; w<rect.Right; w+=Amount1) g.DrawLine(mypen,w,0,w,rect.Bottom); for (int h=0; h<rect.Bottom; h+=Amount2) g.DrawLine(mypen,0,h,rect.Right,h); } Simple code, Any way it renders fine , for the first time , but when i edit the Settings it renders again above the old one, and so on What i need is to render these lines only once, when the user edits the settings it shall only edit the current lines not render other lines, Got me? I know this may be a stupid question , but please be patient with me .. i'm just a beggener learning Thanks Ahmed
  2. I don't understand , all the hidden contents opens for me normally...
  3. Hello, i really loved your plugin , very cool results, Nice concept and design .. good job there ! keep it up.any way , i tried to do some tricks with this plugin + my Lines Fractal plugin , look what i got ! by rendering Lines Fractal 2 times each on a layer, Then flipping one of them horizontally , then applying Donut to them several times. Thanks for your effort Ahmed
  4. Update 4/12/2011 Fixed The Bug in Lines Fractal Enjoy Ahmed
  5. By the way i like this tutorial , But i think dublicating the layer then changing to overlay will do the trick ..<div><br></div><div>clarification plugin will do that ..</div>
  6. Ok, i zipped them and attached them , now you can download them i suppose .. By the way , i don't understand the joke Ahmed
  7. I don't know why this happenes really, it's working for me , @ MadJik : what happens ? please tell me , also try not to run immediatly , you have to draw a white box or something before using it , it needs something drawn on the surface to draw again on it , It's a bit strange but , it renders in 2 steps , one of them edits the current surface and the other draws above the edited surface .. Ahmed
  8. I realized that yeah, but then again me neither, it's all thanks to the Turkish keyboard XD Just wanted to give you the right spelling to help ya out ;)

    *also it's "Egyptien" almost as in English if you're male :P*

  9. The Crop Selection button will only be Disabled If there is no selection at all , That's why i asked for a screen shot and you ignored me ... i want to know how it looks Ahmed
  10. Once They all are completed . i'll zip them all in one and attach them here , And thanks for trying Ahmed
  11. a screen shot will help a lot , push the "print screen" button in your keyboard ..
  12. Turkish, but I live in France et je parle français. The right spelling should be "Tu es Français ? J'apprends le français à l'école" ;)

    So, you're from Egypt eh?

  13. Hello, You're a newbie now , after you have 10 posts you'll be a member Look there Good luck , and welcome to the Forums ! Ahmed
  14. Hello, Maya You should uncheck the box Saying : "Maintain aspect ratio" To disable this , look the image : Oh and by the way .. Try to read the forum rules again .. there is a rule somewhere that says that you should not write "Please help" on your subtitle Ahmed
  15. Hey ,that was Brilliant !! 4 stars I loved the orange slice most ... Mind writing a tutorial on how to create it? Thank you
  16. Can i try with my current signature? It's really simple , but i still want to try , why not ?
×
×
  • Create New...