skia2/samplecode
reed@android.com f76bacff7f add SkSize for dimensions
add SkShape baseclass, in the hopes of having SkPicture inherit from that, and 
also using shapes as the extension mechanism for things like animated-gif



git-svn-id: http://skia.googlecode.com/svn/trunk@174 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-05-13 14:00:33 +00:00
..
SampleAll.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleApp.cpp Add SkChunkAlloc::unalloc() to undo the last allocation, useful if the caller wants to treat the allocats like temp memory (see PictureRecord) 2009-03-30 21:02:14 +00:00
SampleArc.cpp add sampeapp proj 2008-12-19 19:15:15 +00:00
SampleBitmapRect.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SampleCamera.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleCircle.cpp API change: SkPath computeBounds -> getBounds 2009-04-01 18:31:44 +00:00
SampleCode.h grab from latest android 2008-12-17 15:59:43 +00:00
SampleCull.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleDither.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleDrawLooper.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleEmboss.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleEncode.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SampleFillType.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleFilter2.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleFilter.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleFontCache.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleFontScalerTest.cpp disable cubic test for now (currently broken) 2009-03-16 18:47:55 +00:00
SampleFuzz.cpp promote SkMask's rowBytes to 32bits, since its bounds is a 32bit rect 2009-03-19 21:52:42 +00:00
SampleGL.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleGradients.cpp add sample for gradients 2009-04-02 20:49:39 +00:00
SampleHairline.cpp add check/hack to avoid drawing outside of the clip for hairlines 2009-03-23 16:05:19 +00:00
SampleImage.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SampleImageDir.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SampleLayerMask.cpp fix copyTo to only copy the minimum pixels per row, and to lock the src before 2009-05-05 23:13:23 +00:00
SampleLayers.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleLines.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleMeasure.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleMovie.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleNinePatch.cpp remove old test that assumed fBM had been decoded 2008-12-23 18:50:15 +00:00
SampleOverflow.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SamplePageFlip.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SamplePatch.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SamplePath.cpp first cut at event-based test app 2008-12-19 18:24:35 +00:00
SamplePathClip.cpp patch SkMath.h to build in ARMv4 2009-03-05 14:14:49 +00:00
SamplePathEffects.cpp first cut at event-based test app 2008-12-19 18:24:35 +00:00
SamplePicture.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SamplePoints.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SamplePolyToPoly.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleRegion.cpp add SkSize for dimensions 2009-05-13 14:00:33 +00:00
SampleShaders.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleShapes.cpp add SkSize for dimensions 2009-05-13 14:00:33 +00:00
SampleStrokeText.cpp API change: SkPath computeBounds -> getBounds 2009-04-01 18:31:44 +00:00
SampleTests.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleText.cpp API cleanup: rename typeface Create to CreateFromName, and remove default arg 2009-03-04 15:31:48 +00:00
SampleTextAlpha.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SampleTextEffects.cpp API cleanup: rename typeface Create to CreateFromName, and remove default arg 2009-03-04 15:31:48 +00:00
SampleTextOnPath.cpp add initial unittest framework (tests) 2009-02-27 16:24:51 +00:00
SampleTiling.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTypeface.cpp API cleanup: rename typeface Create to CreateFromName, and remove default arg 2009-03-04 15:31:48 +00:00
SampleVertices.cpp Change (correct) SkImageRef's ownership rule for streams to the skia standard 2009-03-16 13:53:11 +00:00
SampleXfermodes.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
vertexdump.cpp grab from latest android 2008-12-17 15:59:43 +00:00