I think a number of similar generic drawing-related tags should go away. These tags don't add any information that can't already be covered by a language-specific GUI/painting/graphics tag. The questions in the tag are spread over a variety of languages, and none of the questions I have seen with these tags can really be answered by somebody who isn't knowledgeable in the specific language (i.e. no compelling reason for general "drawing rectangles" or similar categories).
There is a choice to be made here which I would like to open a discussion on. The drawing tag is very general, and the purpose of this request is to make these tags more specific. On the other hand, it is more heavily used than the other tags listed here (x3459) and it could be a reasonable subtopic tag. I am on the fence: If we support this tag then it is a viable synonym for many of the tags below. If we do not support this tag then the recommended action for the tags below is burninate/blacklist/retag as indicated. I will present recommended actions for both cases.
Tags that should go away for the reasons mentioned above (already covered by language-specific drawing framework tags) follow:
- redraw : 228
- Widely spread across c#(18), javascript(18), java(14), objective-c(9), c++(8), css(7), html(6)
- No language trend in top-voted questions.
- All observed questions deal with general redrawing of things. Many APIs have a
redraw()
method/function, but not specific enough to warrant a specialized *-redraw tag for that particular language/api. - Recommend (if not drawing): Blacklist due to constant misuse.
- Recommend (if drawing): Merge into drawing.
- drawtext : 131
- Some relevance to Java's
Canvas.drawText
. I believe nothing is gained from this method-specific tag, all questions can be subsumed into android + drawing or graphics. - Other language tags in use: c++(17), java(9),delphi(6), python(5), c#(3)
- Side Note: Investigation of this tag uncovered heavy inappropriate usage (Android Graphics API) of canvas as per its wiki description (HTML5). Many of these should be moved to android-canvas.
- Recommend (if not drawing): In questions tagged android, retag drawtext as android-canvas, then burninate.
- Recommend (if drawing): In questions tagged android, add android-canvas. Merge into drawing.
- Some relevance to Java's
- drawrectangle : 56
- Biased to c#(17), widely spread over java(7), vb.net(4), javascript(3), asp.net(2)
- There is a Windows Forms
DrawRectangle
method; 8 questions with this tag relate to this method. This does not add any useful information beyond what a language-specific graphics system tag or drawing adds. - Recommend (if not drawing): Manual removal. For Windows Forms related questions, replace with either system.drawing or gdi+. For all other questions, remove tag. Blacklist due to heavy misuse.
- Recommend (if drawing): Manual removal. For Windows Forms related questions, replace with drawing. For all other questions, remove tag. Blacklist due to heavy misuse.
- Note: shog9 updated the tag wiki in response to this question with info about the Windows Forms method. I think this is a good step but not sufficient to justify the tag.
- ownerdrawn : 64
- "Owner-drawn" is a general concept. In all APIs where owner-drawn components exist, there are always better API-specific tags for the component type being drawn (or drawn on), such as the existing custom-controls tag for this question, or this question which should be tagged winapi + gdi instead.
- In many cases the question involves an owner-drawn object but is actually about something else, or is misused.
- Recommend: Burninate, possibly blacklist after monitoring.
- ownerdraw : 57
- Recommend: Burninate; same rationale as ownerdrawn (should have been a synonym to begin with.)
- Recommend: Burninate; same rationale as ownerdrawn (should have been a synonym to begin with.)
- drawing2d : 52
- There is a .NET package named
Drawing2D
but only 3 questions specifically mention it. In all other cases questions are simply about drawing things in 2D, which can just as effectively be covered under drawing or a more specific tag. - Recommend (if not drawing): Blacklist due to constant misuse.
- Recommend (if drawing): Merge into drawing tag.
- There is a .NET package named
- drawbitmap : 44
- Android's
Canvas.DrawBitmap
is frequently tagged with this, but this tag adds no information beyond android-canvas. Majority of drawbitmap tags are used in AndroidCanvas
context. - Recommend (if not drawing): Manual removal of tag from questions not also tagged android. Merge into android-canvas.
- Recommend (if drawing): For questions tagged android, add android-canvas. Merge into drawing.
- Android's
- drawingcontext : 33
- WPF has a
DrawingContext
, but drawingcontext adds no information that wpf does not cover. - Recommend: Manually ensure that all questions tagged drawingcontext and either c# or wpf are tagged with both c# and wpf. Burninate.
- WPF has a
- custom-draw : 28
- This tag is used for general custom drawing. These questions are better served by using API-specific tags.
- Evenly spread across: c#(6), c++(5), delphi(3), java(2)
- Recommend (if not drawing): Blacklist due to constant misuse.
- Recommend (if drawing): Merge into drawing.