summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas.cc
Commit message (Collapse)AuthorAgeFilesLines
* ash: Better and faster text shadows.xiyuan@chromium.org2012-04-111-0/+19
| | | | | | | | | | | | | | | - Add a DrawStringWithShadows that draws text with shadows to canvas skia and RenderText; - Use DrawStringWithShadows in DropShadowLabel for better and faster text shadows; BUG=121694 TEST=Verify fix for issue 121694. Review URL: http://codereview.chromium.org/10008027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131696 0039d316-1c4b-4281-b951-d872f2087c98
* Add to gfx::Canvas API so that views doesn't use SkCanvas directly.pkotwicz@chromium.org2012-04-091-0/+47
| | | | | | | | | Bug=114665 Test=Compiles Review URL: http://codereview.chromium.org/9949067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131474 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Do not pass SkColor by const-reference as it's defined as POD(integer).tfarina@chromium.org2012-03-241-7/+7
| | | | | | | | | BUG=100898 R=asvitkine@chromium.org Review URL: https://chromiumcodereview.appspot.com/9838089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128782 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Kill Canvas::FillRect() function that takes gfx::Brush.tfarina@chromium.org2012-03-171-33/+0
| | | | | | | | | | BUG=100898 R=pkasting@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9718014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127376 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Fix the file names of "canvas_skia_*" to say just "canvas_platform".tfarina@chromium.org2012-03-171-0/+378
| | | | | | | | | | BUG=116572 R=asvitkine@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9719018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127369 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Clean up the remaining references to CanvasSkia.tfarina@chromium.org2012-03-171-25/+0
| | | | | | | | | | BUG=116572 R=asvitkine@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9704096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127307 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia.tfarina@chromium.org2012-03-091-9/+9
| | | | | | | | | | | | The final goal is to merge these two classes into a single gfx::Canvas class. BUG=116572 R=ben@chromium.org,asvitkine@chromium.org TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9562038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125735 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Convert Canvas::TranslateInt() to use gfx::Point.tfarina@chromium.org2011-10-271-1/+1
| | | | | | | | | BUG=100898 R=pkasting@chromium.org Review URL: http://codereview.chromium.org/8390037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107483 0039d316-1c4b-4281-b951-d872f2087c98
* Allow CanvasSkia to bind to an existing SkCanvas.piman@chromium.org2011-10-051-1/+9
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8122013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104146 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-051-1/+1
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* Move src/gfx/ to src/ui/gfxsail@chromium.org2011-02-021-0/+17
To reduce the size of this change I've left stub header files in src/gfx/. Once all includes have been updated I'll delete the stub files. BUG=71063 TEST=Still doing test builds. Review URL: http://codereview.chromium.org/6246027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73530 0039d316-1c4b-4281-b951-d872f2087c98