Scale
Canvas gamecamera - locationtranslate values messed up by applied canvas scaling
I\'m working on an android game and am currently busy with a gamecamera type of component. The best method seems to be translating the canvas (possibly with a matrix) to move the entire canvas to act[详细]
2023-03-29 12:36 分类:问答Are SpriteBatch drawcalls culled by XNA?
I have a very subtle problem with XNA, specifically the SpriteBatch. In my game I have a Camera class. It can Translate the view (obviously) and also zoom in and out.[详细]
2023-03-28 18:58 分类:问答.NET DrawString() different text layout when changing graphics scale
I\'m using simple code to draw text inside specified recta开发者_开发技巧ngle. Everything works fine, except that sometimes text layout is different depending on graphics scale (set via Graphics.Scale[详细]
2023-03-28 15:05 分类:问答How to scale the x axis of a chart to only show the last 60 seconds of data
I have a chart on a windows form using c#. I am outputting data to the chart dynamically using: Chart1.Series[\"Roll\"].Points.AddXY(TimeStamp, roll);[详细]
2023-03-28 06:34 分类:问答GridView not stretching to all screens
I have a GridView that is showing 2 images on a row. I have an SGS and Galaxy 5 to test the app. Unfortunately, it\'s not well scaling. I change values attributes in XML to fill the screen of SGS and[详细]
2023-03-28 03:23 分类:问答Image from resources is scaled properly but image blob from SQlite isn't - Android
I am running into a strange issue. I have multiple images in my Android project which I stored as .png files under res\\drawable. I was able to easily extract the images at runtime and convert them to[详细]
2023-03-27 21:38 分类:问答image scaling performance in Quartz/Cocoa vs Qt4
I wrote a test application in Qt4 which uses QImage.scaled() or QPixmap.scaled() 开发者_运维技巧methods that turned tobe very slow. Even a perspective transform is faster, while a scaling transform is[详细]
2023-03-27 14:58 分类:问答How to downsize, scale, and colour-reduce PNGs at the command line? (Linux, Makefile)
Fr开发者_运维技巧om within a Makefile I like to reduce the size of PNGs. I tried first ImageMagick, but while I could resize (down) the images and reduce their colours to 32 (or the depth to 5 bits),[详细]
2023-03-27 10:26 分类:问答Math related: How do I get a different scale if the value is less than one or greater than one
This should be an easy to solve but my brain has been fried the last few days. I have a slider that zooms in and zooms out a image. I want to zoom into the pixel level and zoom out to the pixel level[详细]
2023-03-26 14:37 分类:问答Auto-Scale Y-Axis in JfreeChart
I am using JFreeChart to create candlestick charts in my Java app. However, my charts end up looking like this:[详细]
2023-03-26 11:41 分类:问答