draw

Android: draw on a view inside an inflated xml (another view)

I have a small xml file called 'xmlview.xml' which is something like: <tablelayout> <tablerow> <view id="view1" /> I created a class which extends view, and I inflated that xml file and now i have a view obtained due to inflation. xmlView = layoutInflater.inflate(R.layout.xmlview, this); I am wondering is there a way to dr...

drawing a string with a transparent background using C# ?

The standard way of g.DrawString creates a gray background. So if overlay another string on the form, part of it appears gray. My question is, is there any way to draw a string with a transparent background? i want to be able to overlay strings, but still be able to see them. ...

Strange problem with ID3DXSprite Draw method

Hello guys, I use ID3DXSprite interface to draw gui controls in my app. I have a 512x512 texture with all controls and use sprite->Draw() telling the exact RECT of control. Everything works fine except a strange bug on only one(!) machine. Normally, the control looks: And on that strange machine: Moreover, some controls look fine ...

jQuery qtip doesn't draw little arrow tip in IE8 (or IE7)

I'm using jquery's qtip plugin to draw a tooltip, and it works fine on FF but not on my versions of IE. It looks like for IE, the plugin uses vml tags instead of canvas tags. Is there something extra I need to include in my page to get the little arrow tip to show? Here's my simple html page; note that when you mouse over "tooltip tar...

Draw a music staff in C#

I am looking to draw a music staff on a .NET (C#) form. I am using Microsoft Visual C# 2010 Express. I was wondering if anyone knew of existing code or existing free .NET libraries that can help with that. I am looking at drawing both the treble and bass clef staff and adding one quarter note to some where in the staff. I am making a...

How to draw rectangle on MouseDown/Move c#

I am not quite sure how to draw a Rectangle (not filled) when I drag my mousedown while left clicking the mouse. I have this so far private void canevas_MouseDown( object sender , MouseEventArgs e ) { if( e.Button == MouseButtons.Left ) { _topLe...